CSbcEncoderIntfc Class Reference
| class CSbcEncoderIntfc : public CBase |
Interface for configuring the SBC encoder. Used to configure the SBC encoder operating 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.
SbcEncoderIntfc.lib
- Since
- S60 3.0
Member Functions Documentation
ApplyConfig()
| IMPORT_C TInt | ApplyConfig | ( | ) | [pure virtual] |
Applies configuration to the encoder.
- Since
- S60 3.0
GetAllocationMethod(TSbcAllocationMethod &)
Retrieves the current encode allocation method.
- Since
- S60 3.0
GetBitpoolSize(TUint &)
| IMPORT_C TInt | GetBitpoolSize | ( | TUint & | aBitpoolSize | ) | [pure virtual] |
Retrieves the current encode bitpool size.
- Since
- S60 3.0
Parameters
| TUint & aBitpoolSize | returns current encode bitpool size. |
GetChannelMode(TSbcChannelMode &)
Retrieves the current encode channel mode.
- Since
- S60 3.0
GetNumOfBlocks(TUint &)
| IMPORT_C TInt | GetNumOfBlocks | ( | TUint & | aNumOfBlocks | ) | [pure virtual] |
Retrieves the current encode number of blocks.
- Since
- S60 3.0
Parameters
| TUint & aNumOfBlocks | returns current encode number of blocks. |
GetNumOfSubbands(TUint &)
| IMPORT_C TInt | GetNumOfSubbands | ( | TUint & | aNumOfSubbands | ) | [pure virtual] |
Retrieves the current encode number of subbands.
- Since
- S60 3.0
Parameters
| TUint & aNumOfSubbands | returns current encode number of subbands. |
GetSamplingFrequency(TUint &)
| IMPORT_C TInt | GetSamplingFrequency | ( | TUint & | aSamplingFrequency | ) | [pure virtual] |
Retrieves the current encode sampling frequency.
- Since
- S60 3.0
Parameters
| TUint & aSamplingFrequency | returns current encode sampling frequency. |
GetSupportedAllocationMethods(RArray< TSbcAllocationMethod > &)
Retrieves the allocation methods supported by the encoder.
- Since
- S60 3.0
GetSupportedBitpoolRange(TUint &, TUint &)
| IMPORT_C TInt | GetSupportedBitpoolRange | ( | TUint & | aMinSupportedBitpoolSize, |
| | TUint & | aMaxSupportedBitpoolSize |
| | ) | [pure virtual] |
Retrieves the supported bitpool range by the encoder.
- Since
- S60 3.0
Parameters
| TUint & aMinSupportedBitpoolSize | returning the min bitpool size. |
| TUint & aMaxSupportedBitpoolSize | returning the max bitpool size. |
GetSupportedChannelModes(RArray< TSbcChannelMode > &)
Retrieves the channel configurations supported by the encoder.
- Since
- S60 3.0
GetSupportedNumOfBlocks(RArray< TUint > &)
| IMPORT_C TInt | GetSupportedNumOfBlocks | ( | RArray< TUint > & | aSupportedNumOfBlocks | ) | [pure virtual] |
Retrieves array of supported block numbers by the encoder.
- Since
- S60 3.0
GetSupportedNumOfSubbands(RArray< TUint > &)
| IMPORT_C TInt | GetSupportedNumOfSubbands | ( | RArray< TUint > & | aSupportedNumOfSubbands | ) | [pure virtual] |
Retrieves the number of subbands supported by the encoder.
- Since
- S60 3.0
Parameters
| RArray< TUint > & aSupportedNumOfSubbands | array returning the supported number of subbands. |
GetSupportedSamplingFrequencies(RArray< TUint > &)
| IMPORT_C TInt | GetSupportedSamplingFrequencies | ( | RArray< TUint > & | aSupportedSamplingFrequencies | ) | [pure virtual] |
Retrieves the sampling frequencies supported by the encoder.
- Since
- S60 3.0
Parameters
| RArray< TUint > & aSupportedSamplingFrequencies | array returning the supported frequencies. |
NewL(CMMFDevSound &)
Creates the interface.
CSbcEncoderIntfc::NewL
Creates the custom interface. Calls the custom interface method on the devsound passed in. Devsound will return the handle to the custom interface proxy.
(other items were commented in a header).
NewL(CMdaAudioInputStream &)
SetAllocationMethod(TSbcAllocationMethod)
Sets the allocation method for encoding.
- Since
- S60 3.0
SetBitpoolSize(TUint)
| IMPORT_C void | SetBitpoolSize | ( | TUint | aBitpoolSize | ) | [pure virtual] |
Sets the bitpool size for encoding.
- Since
- S60 3.0
Parameters
| TUint aBitpoolSize | requested encoding number of blocks. |
SetChannelMode(TSbcChannelMode)
Sets the channel mode for encoding.
- Since
- S60 3.0
SetNumOfBlocks(TUint)
| IMPORT_C void | SetNumOfBlocks | ( | TUint | aNumOfBlocks | ) | [pure virtual] |
Sets the number of blocks for encoding.
- Since
- S60 3.0
Parameters
| TUint aNumOfBlocks | requested encoding number of blocks. |
SetNumOfSubbands(TUint)
| IMPORT_C void | SetNumOfSubbands | ( | TUint | aNumOfSubbands | ) | [pure virtual] |
Sets the number of subbands for encoding.
- Since
- S60 3.0
SetSamplingFrequency(TUint)
| IMPORT_C void | SetSamplingFrequency | ( | TUint | aSamplingFrequency | ) | [pure virtual] |
Sets the sampling frequency for encoding.
- Since
- S60 3.0
Parameters
| TUint aSamplingFrequency | requested encoding sampling frequency. |
Member Enumerations Documentation
Enum TSbcAllocationMethod
Enumerators
| ESbcAllocationSNR | |
| ESbcAllocationLoudness | |
Enum TSbcChannelMode
Enumerators
| ESbcChannelMono | |
| ESbcChannelDual | |
| ESbcChannelStereo | |
| ESbcChannelJointStereo | |
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.