This project has moved and is read-only. For the latest updates, please go here.

Change Speaker Configuration and Sample Rate of a Playback device programmatically

Dec 30, 2016 at 11:59 AM
Edited Dec 30, 2016 at 12:01 PM
With a few clicks of a mouse I can change the 'Speaker Configuration' to 5.1 and the sample rate to 24bit 48000hz. You see on my machine, every once in a while it is being reset because of another unrelated issue. I want to programmatically set it back. I can't seem to find in the documentation how to do this. I think it would be in NAudio.CoreAudioApi.
I'm using C#.