# Audio Device selection using Dante Virtual Soundcard

**URL:** <https://discourse.libcinder.org/t/audio-device-selection-using-dante-virtual-soundcard/1385>\
**Category:** Uncategorized\
**Created:** [December 19, 2018, 11:22pm UTC](https://discourse.libcinder.org/t/audio-device-selection-using-dante-virtual-soundcard/1385 "2018-12-19T23:22:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevinzak](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@kevinzak](https://discourse.libcinder.org/u/kevinzak)\
**Post date:** [December 19, 2018, 11:22pm UTC](https://discourse.libcinder.org/t/audio-device-selection-using-dante-virtual-soundcard/1385/1 "2018-12-19T23:22:41Z")

</div>

Hello! I’m working on a project that is using Dante Virtual Soundcard to route audio to 8 different speakers (6 are mono directional and 2 are stereo). I’m able to identify Dante Virtual Soundcard devices and create OutputDeviceNodes and set the output in the context and play the audio out of my different speakers. The ultimate goal would be to simultaneously play different audio out of each speaker by pointing to the different devices, but I’m not sure this is possible without pointing the entire output of the context to one device. Any thoughts or advice would be greatly appreciated!

---

<div class="post-metadata">

**Author:** ![rich.e](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/rich.e/32/1025_2.png) [@rich.e](https://discourse.libcinder.org/u/rich.e)\
**Post date:** [December 21, 2018, 1:16am UTC](https://discourse.libcinder.org/t/audio-device-selection-using-dante-virtual-soundcard/1385/2 "2018-12-21T01:16:16Z")

</div>

Hi there,

Are you using [Cinder-PortAudio](https://github.com/cinder/Cinder-PortAudio)? Details on [this post](https://discourse.libcinder.org/t/cinder-portaudio-portaudio-as-an-alternative-audio-backend/1346).

cheers,  
Rich

---

<div class="post-metadata">

**Author:** ![kevinzak](https://avatars.discourse-cdn.com/v4/letter/k/8e7dd6/32.png) [@kevinzak](https://discourse.libcinder.org/u/kevinzak)\
**Post date:** [December 21, 2018, 3:28pm UTC](https://discourse.libcinder.org/t/audio-device-selection-using-dante-virtual-soundcard/1385/3 "2018-12-21T15:28:43Z")

</div>

Hi Rich. In the tests I was doing, I was _not_ using Cinder-PortAudio. I was mainly using the [Audio API Guide](https://libcinder.org/docs/guides/audio/index.html) as a reference. I played with Cinder-PortAudio when attempting to use ASIO and WMFVideo, post found [here](https://discourse.libcinder.org/t/audio-device-selection-with-wmfvideo-using-dante-asio/1375). Does Cinder-PortAudio support what I’m doing, or were you suggesting to look at the support provided for ASIO?

Thanks!  
Kevin

---

<div class="post-metadata">

**Author:** ![rich.e](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/rich.e/32/1025_2.png) [@rich.e](https://discourse.libcinder.org/u/rich.e)\
**Post date:** [December 23, 2018, 1:31am UTC](https://discourse.libcinder.org/t/audio-device-selection-using-dante-virtual-soundcard/1385/4 "2018-12-23T01:31:18Z")

</div>

As far as I understood, you have to use ASIO for Dante devices (didn’t even realize it would work with WASAPI, cinder’s built-in audio backend on windows). So yes, you should use Cinder-PortAudio. With that route, you should get all your device’s channels showing up as one `ci::audio::Device`.

cheers,  
Rich
