CMMFChannelAndSampleRateConverter Class Reference
class CMMFChannelAndSampleRateConverter : public CBase
|
Base utility class to change the sample rate of audio data in a buffer
Inherits from
-
CMMFChannelAndSampleRateConverter
Member Functions Documentation
Convert(const CMMFDataBuffer &, CMMFDataBuffer &)
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
CMMFDataBuffer
& aSrcBuffer
|
A pointer to a source buffer containing the audio data to convert.
|
CMMFDataBuffer
& aDstBuffer
|
A pointer to a destination buffer.
|
MaxConvertBufferSize(TUint)
TUint
|
MaxConvertBufferSize
|
(
|
TUint
|
aSrcBufferSize
|
)
|
[inline, virtual]
|
Reset()
void
|
Reset
|
(
|
)
|
[inline, virtual]
|
SetRates(TInt, TInt, TInt, TInt)
void
|
SetRates
|
(
|
TInt
|
aSrcRate,
|
|
TInt
|
aSrcChannels,
|
|
TInt
|
aDstRate,
|
|
TInt
|
aDstChannels
|
|
)
|
|
Member Data Documentation
TInt
iFraction
TInt
|
iFraction
|
[protected]
|
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.