This document introduces the Media Client Observer. It is aimed at application developers implementing audio conversion and recording solutions who need to monitor operations for state changes.
Media Client Observer provides notifications to monitor and handle events during audio record and convert operations.
Media Client Observer Details
The DLL that provides the functionality and the library to which your code must link is identified below.
The Audio Client APIs include mediaclient.lib, making the Media Client Observer notifications available.
Media Client Observer is used by Audio Record Utility class (CMdaAudioRecorderUtility) and Audio Convert Utility class (CMdaAudioConvertUtility) to monitor the state of record and convert operations and triggers a state change event notification.
This API has a single class:
Notifications are used when recording or converting audio data as discussed below:
Recording Audio State Change Notifications
When a CMdaAudioRecorderUtility audio recording operation is performed, the MMdaObjectStateChangeObserver is included in the constructor to provide an end of file notification (KErrEof).
Converting Audio State Change Notifications
When a CMdaAudioConvertUtility audio conversion operation is performed, the MMdaObjectStateChangeObserver is included in the constructor to provide an end of file notification (KErrEof).