Hi All,
I'm having a strange problems with bassmix, in c# console application when i play a stream (mp3 file) all is fine, but when i play a stream through bassmix this stream sounds really accelerated.
All freq are seted to 44100.
the strange is that when i click and i scroll the text in the console app, the stream sounds normal, when i unclick, the stream is accelerated again.
Here is the code that i'm using:
Bass.BASS_Init(-1, 44100, BASSInit.BASS_DEVICE_DEFAULT, IntPtr.Zero);
this.mixStream1 = BassMix.BASS_Mixer_StreamCreate(44100, 2, BASSFlag.BASS_SAMPLE_SOFTWARE | BASSFlag.BASS_SAMPLE_FLOAT | BASSFlag.BASS_MIXER_NONSTOP);
Bass.BASS_ChannelPlay(this.mixStream1, false);
...
stream = Bass.BASS_StreamCreateFile(archivo, 0L, 0L, BASSFlag.BASS_STREAM_DECODE | BASSFlag.BASS_SAMPLE_FLOAT);
BassMix.BASS_Mixer_StreamAddChannel(this.mixStream1, stream, BASSFlag.BASS_STREAM_AUTOFREE | BASSFlag.BASS_MIXER_DOWNMIX | BASSFlag.BASS_MIXER_FILTER | BASSFlag.BASS_MIXER_NORAMPIN | BASSFlag.BASS_MIXER_BUFFER);
Sorry my english.
Regards
Cristian