Hi, I hope this is the right place to ask...
I'm trying to create a tone in C# using nBASS. I can fill up an array with samples, and when I call
bass.CreateSample(data, 44100, 1, SampleInfoFlags.Mono);
Everything works fine, and I get 2 seconds of tone. (So my array of samples is OK).
But I created the sample to be stereo. It has interleaved samples for left channel/right channel.
bass.CreateSample(data, 44100, 1, SampleInfoFlags.Default);
Should give me 1 second of stereo tone (I think), but it doesn't.
It gives me 1 second of tone, 1 second of white noise.
So... does it only create mono samples? Is it expecting non-interleaved? Where is the white noise coming from?
4 hours later, I just have to ask for Help please!