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

Commented Issue: WaveOut playback fails in a remote desktop session [7257]

$
0
0
When I connect to a machine via remote desktop, the WaveOut playback fails with a MmException: WaveBadFormat calling waveOutOpen. The callstack is:

NAudio.dll!NAudio.MmException.Try(NAudio.MmResult result = WaveBadFormat, string function = "waveOutOpen") Line 40 C#
NAudio.dll!NAudio.Wave.WaveOut.Init(NAudio.Wave.WaveStream waveStream = {NAudio.Wave.WaveChannel32}) Line 100 + 0xe bytes C#
NAudioDemo.exe!NAudioDemo.AudioPlaybackForm.buttonPlay_Click(object sender = {Play}, System.EventArgs e = {System.EventArgs}) Line 84 + 0x18 bytes C#

The playback works fine when I'm directly logged in on that same machine.

When using remote desktop, sounds from other application are correctly sent over the network to the client machine. So it not a general problem with sounds in a remote session.

Does anybody know what is going on here and if there is a fix?
Comments: OK, it seems that NoDriver happens when you RDP into a machine that doesn't have a soundcard installed. Not a lot I can do to fix this.

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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