Commit b40f52c4 authored by Craig Watson's avatar Craig Watson

Fixed compilation error on previous commit (8a9ae)

Forgot to remove a couple of things when cleaning up the code for the
previous commit
parent 8a9ae099
......@@ -210,7 +210,6 @@ bool UBQuickTimeFile::beginSession()
setLastErrorMessage(mWaveRecorder->lastErrorMessage());
mWaveRecorder->deleteLater();
mRecordAudio = false;
break;
}
// Audio is mono, and compressed to AAC at 128kbps
......@@ -379,7 +378,7 @@ void UBQuickTimeFile::appendAudioBuffer(void* pBuffer,
// Add the audio sample to the asset writer input
if ([mAudioWriterInput isReadyForMoreMediaData])
if(![mAudioWriterInput appendSampleBuffer:sampleBuffer])
setLastErrorMessage(QString("Failed to append sample buffer to audio input: %1").arg(err));
setLastErrorMessage(QString("Failed to append sample buffer to audio input"));
else
setLastErrorMessage(QString("Audio Writer not ready; sample dropped"));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment