mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-03 17:19:43 +02:00
Fix inability to convert sample format from 16 to 32 bits
This commit is contained in:
parent
0921942650
commit
8f28382525
@ -157,8 +157,8 @@ bool Sequence::ConvertToSampleFormat(sampleFormat format, bool* pbChanged)
|
||||
|
||||
bool bSuccess = true;
|
||||
{
|
||||
SampleBuffer bufferOld(mMaxSamples, oldFormat);
|
||||
SampleBuffer bufferNew(mMaxSamples, format);
|
||||
SampleBuffer bufferOld(oldMaxSamples, oldFormat);
|
||||
SampleBuffer bufferNew(oldMaxSamples, format);
|
||||
|
||||
for (size_t i = 0, nn = mBlock.size(); i < nn && bSuccess; i++)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user