linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: tropp@Safe-mail.net
To: linux-bluetooth@vger.kernel.org
Subject: a2dp codec selection
Date: Fri, 28 Feb 2014 11:45:21 -0500	[thread overview]
Message-ID: <N1-WsLSYP_bQh@Safe-mail.net> (raw)

hi, 
i am using a2dp to connect my bluetooth headphones to my pc. the headphones are supporting the mandatory sbc codec and additionally the aac and aptX codecs. the following defines in profiles/audio/a2dp-codecs.h let me assume that at least sbc, mp3, aac and atrac are supported audio codecs by bluez: 
 
#define A2DP_CODEC_SBC         0x00 
#define A2DP_CODEC_MPEG12    0x01 
#define A2DP_CODEC_MPEG24    0x02 
#define A2DP_CODEC_ATRAC      0x03 
#define A2DP_CODEC_VENDOR    0xFF 
 
i want to use the aac codec for the best audio quality. therefore i added the following lines to my /etc/bluetooth/audio.conf 
 
[A2DP] 
SBCSources=0 
MPEG24Sources=1
 
is there any possibility to check which codec is currently used if a a2dp link is established? i want to confirm that aac is really used, or if i am using sbc, which bitrate is selected.

i am using ubuntu 12.10.

regards, tropp

                 reply	other threads:[~2014-02-28 16:45 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=N1-WsLSYP_bQh@Safe-mail.net \
    --to=tropp@safe-mail.net \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).