Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <SoundDevice.h>
This item is not part of the S60 5th Edition SDK

Enum TMMFSampleRate

TMMFSampleRate

Description

Sampling rates available.

When queried from DevSound by calling the function Capabilities(), iRate indicates the sampling rates supported by the audio device.

DevSound by default is configured to 8KHz sampling rate. So to configure DevSound to play/record audio at 16 KHz sampling rate:

The mode should not be OR'ed with each other. If they are, then highest sampling rate takes precedence and DevSound will be configured to it.

EMMFSampleRate8000Hz

8000 Hz Sampling Rate

EMMFSampleRate11025Hz

11025 Hz Sampling Rate

EMMFSampleRate16000Hz

16000 Hz Sampling Rate

EMMFSampleRate22050Hz

22050 Hz Sampling Rate

EMMFSampleRate32000Hz

32000 Hz Sampling Rate

EMMFSampleRate44100Hz

44100 Hz Sampling Rate

EMMFSampleRate48000Hz

48000 Hz Sampling Rate

EMMFSampleRate88200Hz

88200 Hz Sampling Rate

EMMFSampleRate96000Hz

96000 Hz Sampling Rate

EMMFSampleRate12000Hz

12000 Hz Sampling Rate

EMMFSampleRate24000Hz

24000 Hz Sampling Rate

EMMFSampleRate64000Hz

64000 Hz Sampling Rate

[Top]


Enum TMMFMonoStereo

TMMFMonoStereo

Description

Mono Stereo playback and record modes available.

When queried from DevSound by calling the function Capabilities(), iChannels indicates whether the underlying audio device supports playing back stereo audio samples and recording audio samples in stereo mode or not.

DevSound by default is configured to Mono mode. So to configure DevSound to play/record audio sample in stereo mode:

The mode should not be OR'ed with each other. if they are, then stereo takes precedence and DevSound will be configured to stereo mode.

EMMFMono

Mono mode

EMMFStereo

Stereo mode

[Top]


Enum TMMFSoundEncoding

TMMFSoundEncoding

Description

Encoding modes available.

When queried from DevSound by calling the function Capabilities(), iEncoding provides information about different encoding supported by audio device.

DevSound by default is configured to play PCM16 Bit audio data. Setting encoding mode is not supported yet:

EMMFSoundEncoding8BitPCM

Signed 8 Bit PCM

EMMFSoundEncoding16BitPCM

Signed 16 Bit PCM

EMMFSoundEncoding8BitALaw

Signed 8 Bit ALaw

EMMFSoundEncoding8BitMuLaw

Signed 8 Bit MuLaw

[Top]


Enum TMMFStereoSupport

TMMFStereoSupport

Description

Stereo support enum.

EMMFNone

No stereo support

EMMFInterleavedOnly

Interleaved stereo support

EMMFNonInterleavedOnly

Non Interleaved stereo support

EMMFBothNonAndInterleaved

Interleaved and Non Interleaved stereo support

EMMFJoint

Joint stereo support