I am currently thinking about how to realise an app that feeds multiple audio interfaces with different sounds. For example if I have a second sound card at disposal.

As far as I researched the AudioContext of Web Audio only feeds a single destination. I haven't seen a way to select the actual destination hardware.

Can anyone think of a way to work around this?

有帮助吗?

解决方案

Nope. It'll use whatever your system default is.

其他提示

You can output audio from an audio/video element to a specified output device using setSinkid()

videoElement.setSinkId(deviceID).then().catch()

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top