Stopping Audio Record
This section describes how to use the DevSound library while stopping the audio record functionality.
Call the
CMMFDevSound::Stop()
function to stop audio that is currently being recorded. The
CMMFDevSound::Stop()
can occur either after the
CMMFDevSound::RecordData()
call or after the
MDevSoundObserver::BufferToBeEmptied()
callback. Note: The client must call
CMMFDevSound::RecordData()
once for each
MDevSoundObserver::BufferToBeEmptied()
callback. A
CMMFDevSound::Stop()
call is always preceded by a
CMMFDevSound::Pause()
call, the recording cycle then continues until a zero length buffer is returned in the
MDevSoundObserver::BufferToBeEmptied()
call, after which the
CMMFDevSound::Stop()
call is made.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.