TSBCCodecCapabilities Class Reference

class TSBCCodecCapabilities : public TAvdtpMediaCodecCapabilities

Class to configure GAVDP SEPs supporting the SBC codec RGavdp

Public Member Functions
TSBCCodecCapabilities ()
IMPORT_C TSBCAllocationMethodBitmask AllocationMethods ()
IMPORT_C TInt AsProtocol ( RBuf8 &)
IMPORT_C TSBCBlockLengthBitmask BlockLengths ()
IMPORT_C TSBCChannelModeBitmask ChannelModes ()
IMPORT_C TInt MaxBitpoolValue ()
IMPORT_C TInt MinBitpoolValue ()
IMPORT_C void Parse (const TDesC8 &)
IMPORT_C TSBCSamplingFrequencyBitmask SamplingFrequencies ()
IMPORT_C void SetAllocationMethods ( TSBCAllocationMethodBitmask )
IMPORT_C void SetBlockLengths ( TSBCBlockLengthBitmask )
IMPORT_C void SetChannelModes ( TSBCChannelModeBitmask )
IMPORT_C void SetMaxBitpoolValue ( TInt )
IMPORT_C void SetMinBitpoolValue ( TInt )
IMPORT_C void SetSamplingFrequencies ( TSBCSamplingFrequencyBitmask )
IMPORT_C void SetSubbands ( TSBCSubbandsBitmask )
IMPORT_C TSBCSubbandsBitmask Subbands ()
Inherited Functions
TAvdtpMediaCodecCapabilities::AllocCodecFromPDUL(const TDesC8 &)
TAvdtpMediaCodecCapabilities::MediaCodecType()const
TAvdtpMediaCodecCapabilities::MediaType()const
TAvdtpMediaCodecCapabilities::TAvdtpMediaCodecCapabilities(SymbianBluetoothAV::TBluetoothMediaType,TBluetoothMediaCodecType,TInt)
TAvdtpServiceCapability::AddHeader(RBuf8 &)const
TAvdtpServiceCapability::AllocFromPDUL(TAvdtpServiceCategory,const TDesC8 &)
TAvdtpServiceCapability::AllocFromPckgL(const TDesC8 &)
TAvdtpServiceCapability::Category()const
TAvdtpServiceCapability::TAvdtpServiceCapability(TAvdtpServiceCategory,TInt)
Private Attributes
TSBCAllocationMethodBitmask iAllocationMethod
TSBCBlockLengthBitmask iBlockLengths
TSBCChannelModeBitmask iChannelModes
TInt iMaximumBitpoolValue
TInt iMinimumBitpoolValue
TSBCSamplingFrequencyBitmask iSamplingFrequencies
TSBCSubbandsBitmask iSubbands
Inherited Attributes
TAvdtpMediaCodecCapabilities::iMediaCodecType
TAvdtpMediaCodecCapabilities::iMediaType
TAvdtpServiceCapability::iLOSC

Constructor & Destructor Documentation

TSBCCodecCapabilities()

IMPORT_C TSBCCodecCapabilities ( )

Default constructor for SBC codec details

Member Functions Documentation

AllocationMethods()

IMPORT_C TSBCAllocationMethodBitmask AllocationMethods ( ) const

Get the SBC allocation methods

AsProtocol(RBuf8 &)

IMPORT_C TInt AsProtocol ( RBuf8 & aBuffer ) const [virtual]

Parameters

RBuf8 & aBuffer

BlockLengths()

IMPORT_C TSBCBlockLengthBitmask BlockLengths ( ) const

Get the SBC block lengths

ChannelModes()

IMPORT_C TSBCChannelModeBitmask ChannelModes ( ) const

Get the SBC channel modes

MaxBitpoolValue()

IMPORT_C TInt MaxBitpoolValue ( ) const

Get the SBC maximum bitpool value

MinBitpoolValue()

IMPORT_C TInt MinBitpoolValue ( ) const

Get the SBC minimum bitpool value

Parse(const TDesC8 &)

IMPORT_C void Parse ( const TDesC8 & aPtr ) [virtual]

Parameters

const TDesC8 & aPtr

SamplingFrequencies()

IMPORT_C TSBCSamplingFrequencyBitmask SamplingFrequencies ( ) const

Get the SBC sampling frequencies

SetAllocationMethods(TSBCAllocationMethodBitmask)

IMPORT_C void SetAllocationMethods ( TSBCAllocationMethodBitmask aAllocMeths )

Set the SBC allocation methods

Parameters

TSBCAllocationMethodBitmask aAllocMeths of supported allocation methods

SetBlockLengths(TSBCBlockLengthBitmask)

IMPORT_C void SetBlockLengths ( TSBCBlockLengthBitmask aBlkLens )

Set the SBC block lengths

Parameters

TSBCBlockLengthBitmask aBlkLens bitmask of supported block lengths

SetChannelModes(TSBCChannelModeBitmask)

IMPORT_C void SetChannelModes ( TSBCChannelModeBitmask aChModes )

Set the SBC channel modes

Parameters

TSBCChannelModeBitmask aChModes bitmask of supported channel modes

SetMaxBitpoolValue(TInt)

IMPORT_C void SetMaxBitpoolValue ( TInt aMaxBP )

Set the SBC maximum bitpool value

Parameters

TInt aMaxBP maximum bitpool value

SetMinBitpoolValue(TInt)

IMPORT_C void SetMinBitpoolValue ( TInt aMinBP )

Set the SBC minimum bitpool value

Parameters

TInt aMinBP minimum bitpool value

SetSamplingFrequencies(TSBCSamplingFrequencyBitmask)

IMPORT_C void SetSamplingFrequencies ( TSBCSamplingFrequencyBitmask aSampFreq )

Set the SBC sampling frequencies

Parameters

TSBCSamplingFrequencyBitmask aSampFreq bitmask of supported sampling frequencies

SetSubbands(TSBCSubbandsBitmask)

IMPORT_C void SetSubbands ( TSBCSubbandsBitmask aSubbands )

Set the SBC subbands

Parameters

TSBCSubbandsBitmask aSubbands bitmask of supported subbands

Subbands()

IMPORT_C TSBCSubbandsBitmask Subbands ( ) const

Get the SBC subbands

Member Data Documentation

TSBCAllocationMethodBitmask iAllocationMethod

TSBCAllocationMethodBitmask iAllocationMethod [private]

TSBCBlockLengthBitmask iBlockLengths

TSBCBlockLengthBitmask iBlockLengths [private]

TSBCChannelModeBitmask iChannelModes

TSBCChannelModeBitmask iChannelModes [private]

TInt iMaximumBitpoolValue

TInt iMaximumBitpoolValue [private]

TInt iMinimumBitpoolValue

TInt iMinimumBitpoolValue [private]

TSBCSamplingFrequencyBitmask iSamplingFrequencies

TSBCSamplingFrequencyBitmask iSamplingFrequencies [private]

TSBCSubbandsBitmask iSubbands

TSBCSubbandsBitmask iSubbands [private]