vrctxl / VideoTXL

Sync and local video players for VRChat with design consideration for events.
MIT License
87 stars 3 forks source link

Added copying of pan info to AVPro audio sources #34

Closed Silvea12 closed 4 months ago

Silvea12 commented 4 months ago

Allowed AVPro audio sources to copy stereo pan for simulated global stereo mix on non-standard channels.

This is so we can have channel 3 + 4 as a fake global stereo, to allow for channel mixing shenanigans for isolating sources between twitch streaming vs VRCDN streaming with minimal components in the middle.

The setup here is to set the stereo pan left/right of channel 3 and 4 to -1 and 1 respectively, with otherwise identical setup to the "Global" prefab. This way we get global audio on non-standard channels.

This PR enables this behavior by copying over pan information to the audio source.

Silvea12 commented 4 months ago

Closing - this doesn't actually work in AVPro, my bad