Try this!

1) Pair the headset and run pavucontrol the pulse audio volume control panel.
2) Go to configuration
3) Change to off
4) Change to a2dp

or

pacmd set-card-profile cardnumber off
pacmd set-card-profile cardnumber a2dp

Opening unity-control-center sound will switch it back to hsp

Here is some output from unity-control-center when I open it with the
bluetooth playing and when I try to switch it to a2dp

{code}
bparadis@bparadis-x79:/usr/bin$ unity-control-center  2>&1

(unity-control-center:23002): sound-cc-panel-WARNING **: Unable to find stream 
for bar '(null)'
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug


(unity-control-center:23002): sound-cc-panel-WARNING **: active_output_update - 
couldn't find a stream from the supposed active output

(unity-control-center:23002): sound-cc-panel-WARNING **:
active_input_update - couldn't find a stream from the supposed active
input

(unity-control-center:23002): sound-cc-panel-WARNING **:
pa_stream_disconnect failed, res = -15

(unity-control-center:23002): GLib-GObject-WARNING **: invalid unclassed
pointer in cast to 'GObject'

(unity-control-center:23002): GLib-GObject-CRITICAL **: g_object_set_data: 
assertion 'G_IS_OBJECT (object)' failed
{code}

** Also affects: unity-control-center (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1389781

Title:
  A2DP works randomly

Status in “bluez” package in Ubuntu:
  Confirmed
Status in “unity-control-center” package in Ubuntu:
  New

Bug description:
  Hello,

  There is a problem with the bluetooth mode A2DP. When I connect my
  bluetooth headphone, sometimes I can activate the A2DP mode (which
  gives a good sound quality) and sometimes I can't (nothing happened
  when I change it in the configuration window), and I need to switch to
  HFS/HFP (bad sound quality). Note that some logs are attached.

  
  I found on the internet a work around which is to put in 
/etc/bluetooth/audio.conf a line
      Disable=Socket

  It seems to work (well it's hard to say for the moment because I
  didn't have the time to do much tests), but I would like to know what
  Socket is supposed to do.

  Would it be possible to solve this bug when Socket is activated too ?

  Thank you,

  Tobias.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1389781/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to