Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Audio Sample Editor Overview


Purpose

Gives clients advanced audio file manipulation behaviour; specifically the ability to record, edit and play back sound samples.

[Top]


Architectural relationships

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.

[Top]


Description

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:

Audio file formatCodecs supported

gsm 6.10

AU

A-Law, mu-law, 16 bit PCM, 8 bit PCM

WAV

IMA-ADPCM, A-Law, mu-law, uncompressed 8 or 16 bit PCM

16 bit WVE

A-Law

32 bit WVE

ADPCM, A-Law

raw data

A-Law, mu-law, signed 8 bit PCM, unsigned 8 bit PCM, signed big-endian 16 bit PCM, signed little-endian 16 bit PCM, unsigned big-endian 16 bit PCM, unsigned little-endian 16 bit PCM

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.