CChannelAndSampleRateConverter Class Reference
| class CChannelAndSampleRateConverter : public CBase |
Base utility class to change the sample rate of audio data in a buffer
Inherits from
- CChannelAndSampleRateConverter
Constructor & Destructor Documentation
CChannelAndSampleRateConverter()
| CChannelAndSampleRateConverter | ( | ) | [protected] |
Member Functions Documentation
Convert(const TDesC8 &, TDes8 &)
Reads the audio data from the source buffer, converts the number of channels and the sample rate and copies the result to the destination buffer
Parameters
| const TDesC8 & aSrcBuffer | The source buffer containing the audio data to convert. |
| TDes8 & aDstBuffer | The destination buffer - assumed big enough |
CreateL(TInt, TInt, TInt, TInt)
MaxConvertBufferSize(TInt, TBool)
|
TInt
| MaxConvertBufferSize | ( | TInt | aSrcBufferSize, |
| | TBool | aRoundUpToPower = EFalse |
| | ) | [pure virtual] |
Parameters
| TInt aSrcBufferSize | |
| TBool aRoundUpToPower = EFalse | |
Reset()
| void | Reset | ( | ) | [pure virtual] |
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.