CSbcEncoderIntfcProxy Class Reference
class CSbcEncoderIntfcProxy : public CSbcEncoderIntfc |
Proxy for SBC Encoder configuration interface. This proxy translates the interface API calls to messages and sends them to the message handler.
SbcEncoderIntfcProxy.lib
- Since
- S60 3.0
Nested Classes and Structures
Constructor & Destructor Documentation
CSbcEncoderIntfcProxy(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)
~CSbcEncoderIntfcProxy()
IMPORT_C | ~CSbcEncoderIntfcProxy | ( | ) | [virtual] |
Member Functions Documentation
ApplyConfig()
IMPORT_C TInt | ApplyConfig | ( | ) | [virtual] |
Applies configuration to the encoder.
- Since
- S60 3.0
ConstructL()
void | ConstructL | ( | ) | [private] |
GetAllocationMethod(TSbcAllocationMethod &)
GetBitpoolSize(TUint &)
IMPORT_C TInt | GetBitpoolSize | ( | TUint & | aBitpoolSize | ) | [virtual] |
Parameters
TUint & aBitpoolSize | returns current encode bitpool size. |
GetChannelMode(TSbcChannelMode &)
GetNumOfBlocks(TUint &)
IMPORT_C TInt | GetNumOfBlocks | ( | TUint & | aNumOfBlocks | ) | [virtual] |
Parameters
TUint & aNumOfBlocks | returns current encode number of blocks. |
GetNumOfSubbands(TUint &)
IMPORT_C TInt | GetNumOfSubbands | ( | TUint & | aNumOfSubbands | ) | [virtual] |
Parameters
TUint & aNumOfSubbands | returns current encode number of subbands. |
GetSamplingFrequency(TUint &)
IMPORT_C TInt | GetSamplingFrequency | ( | TUint & | aSamplingFrequency | ) | [virtual] |
Parameters
TUint & aSamplingFrequency | returns current encode sampling frequency. |
GetSupportedAllocationMethods(RArray< TSbcAllocationMethod > &)
Retrieves the allocation methods supported by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedAllocationMethods Returns an array of supported allocation methods. Calls a subfunction which sends the appropriate custom command to its message handler. A subfunction is used to contain multiple leaving functions for a single trap. (other items were commented in a header).
GetSupportedAllocationMethodsL(RArray< TSbcAllocationMethod > &)
Called by GetSupportedAllocationMethods under trap harness. Retrieves the allocation methods supported by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedAllocationMethodsL Returns an array of supported allocation methods. Sends the custom command for this function to its message handler. This requires two commands. The first is a request for the number of supported allocation methods. A buffer is allocated locally to hold this number of allocation methods that will be returned. A pointer to this buffer is sent with the next command which is a request for the allocation methods. This buffer will be filled with the allocation method values. These values are then copied into the array provided to this function and the local buffer is deleted. (other items were commented in a header).
GetSupportedBitpoolRange(TUint &, TUint &)
IMPORT_C TInt | GetSupportedBitpoolRange | ( | TUint & | aMinSupportedBitpoolSize, |
| TUint & | aMaxSupportedBitpoolSize |
| ) | [virtual] |
Retrieves the supported bitpool range by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedBitpoolRange Returns supported bitpool range. Calls a subfunction which sends the appropriate custom command to its message handler. A subfunction is used to contain multiple leaving functions for a single trap. (other items were commented in a header).
Parameters
TUint & aMinSupportedBitpoolSize | returning the min bitpool size. |
TUint & aMaxSupportedBitpoolSize | returning the max bitpool size. |
GetSupportedBitpoolRangeL(TUint &, TUint &)
void | GetSupportedBitpoolRangeL | ( | TUint & | aMinSupportedBitpoolSize, |
| TUint & | aMaxSupportedBitpoolSize |
| ) | [private] |
Called by GetSupportedBitpoolRange under trap harness. Retrieves the supported bitpool range by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedBitpoolRangeL Returns an array of supported bitpool range. Sends the custom command for this function to its message handler with TUint type arguments that will be filled with the bitpool min and max values. (other items were commented in a header).
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
CSbcEncoderIntfcProxy::GetSupportedChannelModes Returns an array of supported channel modes. Calls a subfunction which sends the appropriate custom command to its message handler. A subfunction is used to contain multiple leaving functions for a single trap. (other items were commented in a header).
GetSupportedChannelModesL(RArray< TSbcChannelMode > &)
Called by GetSupportedChannelModes under trap harness. Retrieves the channel configurations supported by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedChannelModesL Returns an array of supported channel modes. Sends the custom command for this function to its message handler. This requires two commands. The first is a request for the number of supported channel modes. A buffer is allocated locally to hold this number of channel modes that will be returned. A pointer to this buffer is sent with the next command, which is a request for the channel modes. This buffer will be filled with the frequency values. These values are then copied into the array provided to this function and the local buffer is deleted. (other items were commented in a header).
GetSupportedNumOfBlocks(RArray< TUint > &)
IMPORT_C TInt | GetSupportedNumOfBlocks | ( | RArray< TUint > & | aSupportedNumOfBlocks | ) | [virtual] |
Retrieves array of supported block numbers by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedNumOfBlocks Returns an array of supported blocks. Calls a subfunction, which sends the appropriate custom command to its message handler. A subfunction is used to contain multiple leaving functions for a single trap. (other items were commented in a header).
GetSupportedNumOfBlocksL(RArray< TUint > &)
void | GetSupportedNumOfBlocksL | ( | RArray< TUint > & | aSupportedNumOfBlocks | ) | [private] |
Called by GetSupportedNumOfBlocks under trap harness. Retrieves array of supported block numbers by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedNumOfBlocks Returns an array of supported blocks. Sends the custom command for this function to its message handler. This requires two commands. The first is a request for the number of supported blocks. A buffer is allocated locally to hold this number of blocks that will be returned. A pointer to this buffer is then sent with the next command, which is a request for the blocks. This buffer will be filled with the block values. These values are then copied into the array provided to this function and the local buffer is deleted. (other items were commented in a header).
GetSupportedNumOfSubbands(RArray< TUint > &)
IMPORT_C TInt | GetSupportedNumOfSubbands | ( | RArray< TUint > & | aSupportedNumOfSubbands | ) | [virtual] |
Retrieves the number of subbands supported by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedNumOfSubbands Returns an array of supported subbands. Calls a subfunction which sends the appropriate custom command to its message handler. A subfunction is used to contain multiple leaving functions for a single trap. (other items were commented in a header).
Parameters
RArray< TUint > & aSupportedNumOfSubbands | array returning the supported number of subbands. |
GetSupportedNumOfSubbandsL(RArray< TUint > &)
void | GetSupportedNumOfSubbandsL | ( | RArray< TUint > & | aSupportedNumOfSubbands | ) | [private] |
Called by GetSupportedNumOfSubbands under trap harness. Retrieves the allocation methods supported by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedNumOfSubbandsL Returns an array of supported subbands. Sends the custom command for this function to its message handler. This requires two commands. The first is a request for the number of supported subbands. A buffer is allocated locally to hold this number of subbands that will be returned. A pointer to this buffer is sent with the next command, which is a request for the subbands. This buffer will be filled with the subband values. These values are then copied into the array provided to this function and the local buffer is deleted. (other items were commented in a header).
GetSupportedSamplingFrequencies(RArray< TUint > &)
IMPORT_C TInt | GetSupportedSamplingFrequencies | ( | RArray< TUint > & | aSupportedSamplingFrequencies | ) | [virtual] |
Retrieves the sampling frequencies supported by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedSamplingFrequencies Returns an array of supported sampling frequencies. Calls a subfunction, which sends the appropriate custom command to its message handler. A subfunction is used to contain multiple leaving functions in a single trap. (other items were commented in a header).
Parameters
RArray< TUint > & aSupportedSamplingFrequencies | array returning the supported frequencies. |
GetSupportedSamplingFrequenciesL(RArray< TUint > &)
void | GetSupportedSamplingFrequenciesL | ( | RArray< TUint > & | aSupportedSamplingFrequencies | ) | [private] |
Called by GetSupportedSamplingFrequencies under trap harness. Retrieves the sampling frequencies supported by the encoder.
- Since
- S60 3.0
CSbcEncoderIntfcProxy::GetSupportedSamplingFrequenciesL Returns an array of supported sampling frequencies. Sends the custom command for this function to its message handler. This requires two commands. The first is a request for the number of supported sampling frequencies. A buffer is allocated locally to hold this number of frequencies that will be returned. A pointer to this buffer is sent with the next command, which is a request for the frequencies. This buffer will be filled with the frequency values. These values are then copied into the array provided to this function and the local buffer is deleted. (other items were commented in a header).
Parameters
RArray< TUint > & aSupportedSamplingFrequencies | array returning the supported frequencies. |
NewL(TMMFMessageDestinationPckg, MCustomCommand &, CCustomInterfaceUtility *)
PopulateArrayL(RArray< TUint > &, TPtr8, TUint)
CSbcEncoderIntfcProxy::PopulateArrayL Utility method that reads stream from 8-bit descriptor, converts it to TUint data items and then copies them to the aArray. (other items were commented in a header).
SetAllocationMethod(TSbcAllocationMethod)
SetBitpoolSize(TUint)
IMPORT_C void | SetBitpoolSize | ( | TUint | aBitpoolSize | ) | [virtual] |
Parameters
TUint aBitpoolSize | requested encoding number of blocks. |
SetChannelMode(TSbcChannelMode)
SetNumOfBlocks(TUint)
IMPORT_C void | SetNumOfBlocks | ( | TUint | aNumOfBlocks | ) | [virtual] |
Parameters
TUint aNumOfBlocks | requested encoding number of blocks. |
SetNumOfSubbands(TUint)
IMPORT_C void | SetNumOfSubbands | ( | TUint | aNumOfSubbands | ) | [virtual] |
SetSamplingFrequency(TUint)
IMPORT_C void | SetSamplingFrequency | ( | TUint | aSamplingFrequency | ) | [virtual] |
Parameters
TUint aSamplingFrequency | requested encoding sampling frequency. |
Member Data Documentation
MCustomCommand & iCustomCommand
CCustomInterfaceUtility * iCustomInterfaceUtility
TBool
iHasBeenApplied
TBool
| iHasBeenApplied | [private] |
TMMFMessageDestinationPckg
iMessageHandler
TSbcEncConf
iSbcEncConfCurrent
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.