OSDN Git Service

Ignore AAC bitrate from the A2DP Sink device if below a threshold
authorPavlin Radoslavov <pavlin@google.com>
Fri, 17 Feb 2017 17:53:52 +0000 (09:53 -0800)
committerPavlin Radoslavov <pavlin@google.com>
Wed, 1 Mar 2017 00:10:06 +0000 (16:10 -0800)
commitf378b2b0f558e79c4d2a418d230cca81771ac141
tree3fd4f5c2dfcb88853ffe65f81205408b2624d892
parent8099365eba89077b1f4e8da3593ec1e2c21ed0d9
Ignore AAC bitrate from the A2DP Sink device if below a threshold

Some Sink devices might advertise AAC zero bitrate or a very small
value (e.g., 24576). Ignore values that are below a threshold
(currently set to 64000), because those seem invalid.
For such devices, the actual streaming bitrate will be computed
based on the MTU.

Test: Code compilation
Change-Id: Ibe3de6e53681a618f388b41a01f366ad462b7a1d
stack/a2dp/a2dp_aac.cc