1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-16 08:09:32 +02:00

fix assertions on Linux because of 1ed9338

This commit is contained in:
Paul Licameli 2019-05-27 19:36:13 -04:00
parent ea0ee7fc0b
commit ad0580c3de

View File

@ -1043,7 +1043,7 @@ AudioIO::AudioIO()
mUpdatingMeters = false;
mOwningProject = NULL;
mOutputMeter = NULL;
mOutputMeter.Release();
PaError err = Pa_Initialize();
@ -1493,7 +1493,7 @@ bool AudioIO::StartPortAudioStream(double sampleRate,
return false;
mInputMeter.Release();
mOutputMeter = NULL;
mOutputMeter.Release();
mLastPaError = paNoError;
// pick a rate to do the audio I/O at, from those available. The project
@ -2671,7 +2671,7 @@ void AudioIO::StopStream()
mOutputMeter->Reset(mRate, false);
mInputMeter.Release();
mOutputMeter = NULL;
mOutputMeter.Release();
mOwningProject = NULL;
if (mListener && mNumCaptureChannels > 0)