Gives clients advanced audio file manipulation behaviour; specifically the ability to record, edit and play back sound samples.
The recording, editing and playing of sounds is handled by the media server and this, in turn, is responsible for managing the interface to audio hardware on a Symbian OS phone. On some phones, this may be implemented as a device driver; on others it may be implemented as a connection to a lower level hardware server.
Clients using this API must have an active scheduler running in their thread because the implementation of the API uses active objects and callbacks.
The audio file formats supported as standard by the media server are: gsm 6.10, AU, WAV, WVE and raw audio data. Each file format may support one or more compression algorithms (codecs). These are:
|
When opening a file in any of the above formats, except for raw audio data, the media server can automatically detect the file format and codec. When opening a raw audio file, the codec and audio settings must be specified.
All audio formats are supported as media server plug-ins. It is possible to add plug-ins, representing additional file formats.
The API provides audio recording and audio conversion. The audio recorder performs advanced audio data manipulation operations such as recording, cropping and appending as well as playback and head positioning. The audio converter converts audio data from one format to another.