This project has moved. For the latest updates, please go here.

ASIO select a playback device C#

Mar 4, 2014 at 8:33 PM
Anybody has a code snippet how to select another playback device using ASIO.
I've tried several options ... but no luck
        var asioDriverNames = AsioOut.GetDriverNames();
        foreach (string driverName in asioDriverNames)
        {
            comboBoxAsioDevice.Items.Add(driverName);
        }
        comboBoxAsioDevice.SelectedIndex = 0;

        for (int i = 0; i < asioOut.DriverOutputChannelCount - 2; i++)
        {
// comboBox1.Items.Add( String.Format("Channels {0}-{1}", i, i + 1) );
            comboBox1.Items.Add(i);
        }
Coordinator
Mar 5, 2014 at 9:09 AM
Each soundcard is one device. The output channel count is irrelevant. How many items are in asioDriverNames?
Mar 5, 2014 at 9:44 AM
Only one "ASIODriverv2" or something like that
Coordinator
Mar 5, 2014 at 9:50 AM
So you can only play out of that one soundcard. Not all soundcards have ASIO drivers