Hi all,
I use the BASSMix 2.4.12 dynamic library to implement the audio streaming operation. In the Windows system, the Debug and Release versions of Win32 are tested successfully.The Dubug version of x64 is also tested successfully.
However, the Release version of x64 reported an error.
The error message is: Error creating split stream 0: 20
Here is a part of my code:
void createStreams(int numStreams) {
for (int i = 0; i < numStreams; ++i) {
HSTREAM splitStream = BASS_Split_StreamCreate(mainStream, BASS_STREAM_DECODE, &i);
if (!splitStream) {
throw std::runtime_error("Error creating split stream " + std::to_string(i) + ": " + std::to_string(BASS_ErrorGetCode()));
}
splitStreams.push_back(splitStream);
}
}
Why does this happen?