Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: WaveOut a DeviceNumber

$
0
0
Hi All,
Does anyone know what will happen if I give WaveOut a device number of a device that has frozen up (ie no longer communicating with windows). I can't test this myself because it's a remote user using a cheap USB soundcard that I suspect might be freezing up but can't be positive.

Does WaveOut default to DeviceNumber=0, the default windows playback device?

The code is basically like this. It's in a Try clause and does not throw an exception.

WaveOut outputDevice = new WaveOut()
outputDevice.DeviceNumber = 1; // 1 = the frozen sound card device

Using NAudio 1.6
BTW, is there a What's New in NAudio 1.7 readme anywhere?

Viewing all articles
Browse latest Browse all 5831

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>