You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to create channel maps for Core Audio devices so that audio signal can be directed to specific channels of a multi-channel interface? I'm currently using a Node.js port of Web Audio API (web-audio-engine) in order to send unique audio to specific channel pairs on a device with 10 outputs, but so far I can only send the audio to two channels without the audio glitching and reporting output underflows. I can successfully accomplish this in-browser by selecting the audio interface as the default output device for the system and routing the audio to the correct channels in my code, but the same routing does not work properly when selecting this device through naudiodon.
The feature in questions is PaMacCore_SetupChannelMap in pa__mac__core.h. @gschmottlach-xse mentioned something similar when referring to his ASIO port of naudiodon, but because the currently supported host APIs present Windows devices in pairs of two (Line 1/2, Line 3/4, etc.), there is a suitable workaround for me to handle the lack of ASIO-specific channel selection features.
If you end up implementing ASIO support in the refactored baseline then please consider fully supporting the ASIO host-specific features/APIs such as channel selectors and retrieving channel names. I did that in my implementation and these APIs are invaluable when you're dealing with ASIO input/outputs with 8 or more available channels and only need access to a subset of those channels. It's easy to forget these ASIO specific APIs. Good luck with your implementation . . . I'd love to see it properly integrated into the baseline!
Please let me know if there's a way to access this functionality via this wrapper, or if you might have any ideas on how to go about achieving similar results. Thanks for your help, and great work on this project!
The text was updated successfully, but these errors were encountered:
@Stoyvo unfortunately not, but if you give me more details of your setup (OS, Web Audio library, audio device, etc.), I can let you know if we're having the same issue. You can email me directly at the address in my profile so we don't clutter up this issue.
Hello!
Is it possible to create channel maps for Core Audio devices so that audio signal can be directed to specific channels of a multi-channel interface? I'm currently using a Node.js port of Web Audio API (web-audio-engine) in order to send unique audio to specific channel pairs on a device with 10 outputs, but so far I can only send the audio to two channels without the audio glitching and reporting output underflows. I can successfully accomplish this in-browser by selecting the audio interface as the default output device for the system and routing the audio to the correct channels in my code, but the same routing does not work properly when selecting this device through naudiodon.
The feature in questions is PaMacCore_SetupChannelMap in pa__mac__core.h. @gschmottlach-xse mentioned something similar when referring to his ASIO port of naudiodon, but because the currently supported host APIs present Windows devices in pairs of two (Line 1/2, Line 3/4, etc.), there is a suitable workaround for me to handle the lack of ASIO-specific channel selection features.
Please let me know if there's a way to access this functionality via this wrapper, or if you might have any ideas on how to go about achieving similar results. Thanks for your help, and great work on this project!
The text was updated successfully, but these errors were encountered: