Fixed 8bit file processing in integer version

This commit is contained in:
oparviai 2012-09-01 08:03:26 +00:00
parent 85b12af596
commit b8454127af

View File

@ -348,7 +348,7 @@ int WavInFile::read(short *buffer, int maxElems)
default:
{
stringstream ss;
ss << "\nOnly 8/16 bit sample WAV files supported. Can't open WAV file with ";
ss << "\nOnly 8/16 bit sample WAV files supported in integer compilation. Can't open WAV file with ";
ss << (int)header.format.bits_per_sample;
ss << " bit sample format. ";
ST_THROW_RT_ERROR(ss.str().c_str());