- fix for AMR codec

- fix for .wav file write rate issue
This commit is contained in:
2019-03-21 12:57:53 +02:00
parent 762207c093
commit e7946b57e3
2 changed files with 51 additions and 22 deletions

View File

@@ -604,7 +604,7 @@ void AudioReceiver::makeMonoAndResample(int rate, int channels)
void* frames = mConvertedLength ? mConvertedFrame : mDecodedFrame;
unsigned length = mConvertedLength ? mConvertedLength : mDecodedLength;
Audio::Resampler* r = NULL;
Audio::Resampler* r = nullptr;
switch (rate)
{
case 8000: r = &mResampler8; break;