RA2dpOptimiser Class Reference
API used for optimisation related to A2DP streaming
Constructor & Destructor Documentation
RA2dpOptimiser()
IMPORT_C
|
RA2dpOptimiser
|
(
|
)
|
|
RA2dpOptimiser(const RA2dpOptimiser &)
Member Functions Documentation
Close()
Closes the handle to the A2DP Optimisation interface.
Note that it is safe to call this multiple times.
Open()
Opens the handle to the A2DP Optimisation interface.
OptimiseAclForAudioStreaming(const TBTDevAddr &, TUint, TUint)
IMPORT_C void
|
OptimiseAclForAudioStreaming
|
(
|
const
TBTDevAddr
&
|
aDevAddr,
|
|
TUint
|
aPeakBandwidth,
|
|
TUint
|
aAccessLatency
|
|
)
|
|
Attempt to optimise the ACL for A2DP streaming.
This method should return immediately without waiting for confirmation of optimisation from the hardware as it will be called directly before streaming is required. This method can also be called multiple times without having to remove the optimisation to allow for changing streaming parameters.
The Peak Bandwidth argument is for the octets of A2DP data only, i.e. the overhead of additional headers, L2CAP for example, should not be considered by the caller of this method.
Parameters
const
TBTDevAddr
& aDevAddr
|
Address of the remote device recieving audio stream
|
TUint
aPeakBandwidth
|
Peak Bandwidth of audio stream in octets per second
|
TUint
aAccessLatency
|
Access Latency of audio stream in microseconds
|
RemoveAclOptimisation(const TBTDevAddr &)
IMPORT_C void
|
RemoveAclOptimisation
|
(
|
const
TBTDevAddr
&
|
aDevAddr
|
)
|
|
Parameters
const
TBTDevAddr
& aDevAddr
|
Address of the remote device recieving audio stream
|
Member Enumerations Documentation
Enum TA2dpOptimiserFunctionIds
Enumerators
EHCIA2dpOptimiseAcl = 0
|
|
EHCIA2dpRemoveAclOptimisation = 1
|
|
Enum TA2dpOptimiserUtilsPanic
Enumerators
EApiUsedWhenHandleIsNotOpen = 0
|
|
EHandleIsAlreadyOpen = 1
|
|
Member Data Documentation
RHCIServerSession * iHCIServerSession
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.