CSpeechEncoderConfig Class Reference
class CSpeechEncoderConfig : public CBase
|
Interface for configuring speech encoders. Used to configure the speech encoders operting modes. This abstract class just provides the static NewL function for the creation of the proxy, and also defines the custom interface to be implemented by the proxy and the real custom interface implementation.
SpeechEncoderConfig.lib
-
Since
-
S60 3.0
Member Functions Documentation
GetBitrate(TUint &)
IMPORT_C
TInt
|
GetBitrate
|
(
|
TUint
&
|
aBitrate
|
)
|
[pure virtual]
|
Retrieves the current encode bitrate.
-
Since
-
S60 3.0
Parameters
TUint
& aBitrate
|
returns current encode bitrate.
|
GetSupportedBitrates(RArray< TUint > &)
IMPORT_C
TInt
|
GetSupportedBitrates
|
(
|
RArray
<
TUint
> &
|
aSupportedBitrates
|
)
|
[pure virtual]
|
Retrieves the bitrates supported by the encoder.
-
Since
-
S60 3.0
Parameters
RArray
<
TUint
> & aSupportedBitrates
|
array returning the supported bitrates.
|
GetVadMode(TBool &)
IMPORT_C
TInt
|
GetVadMode
|
(
|
TBool
&
|
aVadMode
|
)
|
[pure virtual]
|
Retrieves the current state of VAD mode.
-
Since
-
S60 3.0
Parameters
TBool
& aVadMode
|
returns current VAD mode.
|
NewL(CMdaAudioInputStream &)
SetBitrate(TUint)
IMPORT_C
TInt
|
SetBitrate
|
(
|
TUint
|
aBitrate
|
)
|
[pure virtual]
|
Sets the bitrate for encoding.
-
Since
-
S60 3.0
Parameters
TUint
aBitrate
|
requested encoding bitrate.
|
SetVadMode(TBool)
IMPORT_C
TInt
|
SetVadMode
|
(
|
TBool
|
aVadMode
|
)
|
[pure virtual]
|
Enables and disables the voice activity (VAD) mode.
-
Since
-
S60 3.0
Parameters
TBool
aVadMode
|
requested VAD mode.
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.