|
| 1 | +======== |
| 2 | +a2dpconf |
| 3 | +======== |
| 4 | + |
| 5 | +---------------------------------------- |
| 6 | +Decode A2DP codec capability hex strings |
| 7 | +---------------------------------------- |
| 8 | + |
| 9 | +:Date: September 2024 |
| 10 | +:Manual section: 1 |
| 11 | +:Manual group: General Commands Manual |
| 12 | +:Version: $VERSION$ |
| 13 | + |
| 14 | +SYNOPSIS |
| 15 | +======== |
| 16 | + |
| 17 | +**a2dpconf** [*OPTION*]... <[*CODEC*:]*CONFIG*>... |
| 18 | + |
| 19 | +DESCRIPTION |
| 20 | +=========== |
| 21 | + |
| 22 | +**a2dpconf** presents the fields of the given A2DP codec *CONFIG* in a |
| 23 | +human-readable format. *CODEC* is the name of the relevant codec, and *CONFIG* |
| 24 | +is the hexadecimal encoding of the configuration or capabilities binary "blob" |
| 25 | +as reported by tools such as ``bluealsactl(1)`` or the debug output of |
| 26 | +``bluealsad(8)``. |
| 27 | +(see `EXAMPLES`_ below). |
| 28 | + |
| 29 | +OPTIONS |
| 30 | +======= |
| 31 | + |
| 32 | +-h, --help |
| 33 | + Print this help and exit. |
| 34 | + |
| 35 | +-V, --version |
| 36 | + Print version and exit. |
| 37 | + |
| 38 | +-x, --auto-detect |
| 39 | + Try to auto-detect the codec. If the name of the codec associated with the |
| 40 | + configuration string is not known, then give this option and the |
| 41 | + configuration string without the codec name prefix. The output is then a |
| 42 | + list of all possible known codec configurations for which the given string |
| 43 | + is valid. |
| 44 | + |
| 45 | +EXAMPLES |
| 46 | +======== |
| 47 | +:: |
| 48 | + |
| 49 | + $ a2dpconf sbc:ffff0235 |
| 50 | + SBC <hex:ffff0235> { |
| 51 | + sampling-frequency:4 = 48000 44100 32000 16000 |
| 52 | + channel-mode:4 = JointStereo Stereo DualChannel Mono |
| 53 | + block-length:4 = 16 12 8 4 |
| 54 | + sub-bands:2 = 8 4 |
| 55 | + allocation-method:2 = Loudness SNR |
| 56 | + min-bit-pool-value:8 = 2 |
| 57 | + max-bit-pool-value:8 = 53 |
| 58 | + } |
| 59 | + |
| 60 | +:: |
| 61 | + |
| 62 | + $ a2dpconf -x ffff0235 |
| 63 | + SBC <hex:ffff0235> { |
| 64 | + sampling-frequency:4 = 48000 44100 32000 16000 |
| 65 | + channel-mode:4 = JointStereo Stereo DualChannel Mono |
| 66 | + block-length:4 = 16 12 8 4 |
| 67 | + sub-bands:2 = 8 4 |
| 68 | + allocation-method:2 = Loudness SNR |
| 69 | + min-bit-pool-value:8 = 2 |
| 70 | + max-bit-pool-value:8 = 53 |
| 71 | + } |
| 72 | + MPEG-1,2 Audio <hex:ffff0235> { |
| 73 | + layer:3 = MP3 MP2 MP1 |
| 74 | + crc:1 = true |
| 75 | + channel-mode:4 = JointStereo Stereo DualChannel Mono |
| 76 | + <reserved>:1 |
| 77 | + media-payload-format:1 = MPF-1 MPF-2 |
| 78 | + sampling-frequency:6 = 48000 44100 32000 24000 22050 16000 |
| 79 | + vbr:1 = false |
| 80 | + bitrate-index:15 = 0x235 |
| 81 | + } |
| 82 | + |
| 83 | +COPYRIGHT |
| 84 | +========= |
| 85 | + |
| 86 | +Copyright (c) 2016-2024 Arkadiusz Bokowy. |
| 87 | + |
| 88 | +The bluez-alsa project is licensed under the terms of the MIT license. |
| 89 | + |
| 90 | +SEE ALSO |
| 91 | +======== |
| 92 | + |
| 93 | +``bluealsactl(1)``, ``bluealsad(8)`` |
| 94 | + |
| 95 | +Project web site |
| 96 | + https://github.com/arkq/bluez-alsa |
0 commit comments