mirror of
https://github.com/RPCS3/soundtouch.git
synced 2024-11-10 04:42:50 +01:00
Fixed 8bit file processing in integer version
This commit is contained in:
parent
85b12af596
commit
b8454127af
@ -348,7 +348,7 @@ int WavInFile::read(short *buffer, int maxElems)
|
|||||||
default:
|
default:
|
||||||
{
|
{
|
||||||
stringstream ss;
|
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 << (int)header.format.bits_per_sample;
|
||||||
ss << " bit sample format. ";
|
ss << " bit sample format. ";
|
||||||
ST_THROW_RT_ERROR(ss.str().c_str());
|
ST_THROW_RT_ERROR(ss.str().c_str());
|
||||||
|
Loading…
Reference in New Issue
Block a user