Symbian
Symbian OS Library

FAQ-1050 When using the CMdaAudioRecorderUtility for playback, my application behaves differently on v7.0s to previous revisions. Why is this?

[Index][spacer] [Previous] [Next]



 

Classification: C++ Category: Multimedia
Created: 05/07/2004 Modified: 05/11/2004
Number: FAQ-1050
Platform: Symbian OS v7.0s

Question:
I have written an application that makes use of the CMdaAudioRecorderUtility for playback. When calling Stop() there is a difference in the behaviour between v7.0s and previous versions. Why could this be?

Answer:
At time of writing there is a change in functional behaviour between Symbian OS v7.0s and previous versions in the function CMdaAudioRecorderUtility::Stop().
When using this utility for playback in previous versions of Symbian OS, calling Stop() would effectively pause the audio playback, and subsequently calling Play() would continue from where the audio was stopped. This was changed in Symbian OS v7.0s so that calling Stop() resets the playback position to the beginning of the current play window. If no play window has been set [see SetPlayWindow()] then this will default to the start of the file.