OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #include "device/bluetooth/bluetooth_audio_sink.h" | |
6 | |
7 namespace device { | |
8 | |
9 BluetoothAudioSink::Options::Options() { | |
armansito
2014/12/03 23:34:52
nit: Use the initializer list as you had before (c
Miao
2014/12/04 02:34:06
Done.
| |
10 // SBC codec(0x00) is the mandatory codec for A2DP audio sink. | |
11 codec = 0x00; | |
12 | |
13 // |capabilities| includes the mandatory support for A2DP audio sink. | |
14 // [Octet0]: 0x3f | |
15 // Sampling frequency [0 0 1 1]: supports 44100 Hz and 48000 Hz. | |
16 // Channel mode [1 1 1 1]: supports Mono, Dual Channel, Stereo, and Joint | |
17 // Stereo. | |
18 // [Octet1]: 0xff | |
19 // Block length [1, 1, 1, 1]: supports block length of 4, 8, 12 and 16. | |
20 // Subbands [1, 1]: supports 4 and 8 subbands. | |
21 // Allocation Method [1, 1]: supports SNR and Loudness. | |
22 // [Octet2]: 0x12 | |
23 // Minimum bitpool value: 18 is the bitpool value for Mono. | |
24 // [Octet3]: 0x35 | |
25 // Maximum bitpool value: 53 is the bitpool value for Joint Stereo. | |
26 capabilities = {0x3f, 0xff, 0x12, 0x35}; | |
27 } | |
28 | |
29 BluetoothAudioSink::Options::~Options() { | |
30 } | |
31 | |
32 BluetoothAudioSink::BluetoothAudioSink() { | |
33 } | |
34 | |
35 BluetoothAudioSink::~BluetoothAudioSink() { | |
36 } | |
37 | |
38 | |
39 } // namespace device | |
OLD | NEW |