Vurv78 / WebAudio

A safe, efficient and powerful replacement for Streamcore that adds playing & manipulating URL streams through IGmodAudioChannel/BASS
https://steamcommunity.com/sharedfiles/filedetails/?id=2466875474
MIT License
18 stars 3 forks source link

Audio Parenting Issue #49

Closed MrKeating07051 closed 2 years ago

MrKeating07051 commented 2 years ago

setParent( ) works instead of parentTo( ). Plays on the E2 chip instead.

Vurv78 commented 2 years ago

parentTo is an alias, so as far as I know it's impossible for setParent to work while parentTo doesn't, or it's an issue with wiremod

Just tested in the latest commit and it seems to work, can you post a code snippet ?

Vurv78 commented 2 years ago

Nevermind fixed the issue. I added a change to make webaudio streams parent to the chip by default on xwa:play() if xwa:setPos() was never called but also should've checked if they xwa:setParent() previously.