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

Created 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?




Viewing all articles
Browse latest Browse all 738

Trending Articles



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