Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Commented Unassigned: MixingSampleProvider+Waveout does not work [16484]

$
0
0
Hello,

i am using the MixingSampleProvider for multiple Inputs.
```
BufferedWaveProvider dummy = new BufferedWaveProvider(new WaveFormat(48000, 16, 1));

MixingSampleProvider ss = new MixingSampleProvider(WaveFormat.CreateIeeeFloatWaveFormat(48000, 1));

ss.AddMixerInput(dummy);
WaveOut waveOut = new WaveOut();
waveOut.Init(ss);
waveOut.Play();
```
undefinied error while waveoutopen.interop


```
I think the floatWaveFormat is the reason, the same Code above works fine without the MixingSampleProvider.

waveOut.Init(dummy);
waveOut.Play();
```






But when i use DirectSound as waveOut both Codes are ist working fine.

Why?



Comments: very strange. I suspect it is a limitation in your soundcard drivers. Make sure they are up to date.

Viewing all articles
Browse latest Browse all 738

Trending Articles



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