Questions tagged [a2dp]

Advanced Audio Distribution Profile (A2DP)

This profile defines how high quality audio (stereo or mono) can be streamed from one device to another over a Bluetooth connection. For example, music can be streamed from a mobile phone, to a wireless headset, hearing aid & cochlear implant streamer, or car audio or from a laptop/desktop to a wireless headset.

Source: Advanced Audio Distribution Profile section of "List of Bluetooth profiles" article on Wikipedia

135 questions
27
votes
5 answers

send track informations via A2DP/AVRCP

I'm trying to send track informations via A2DP/AVRCP. Right now, music is perfectly streamed, but on the "receiver" (ie: car audio), the "track informations screen" is blank (which is not the case using popular players out there). Any idea ?
elgui
  • 3,303
  • 4
  • 28
  • 37
26
votes
5 answers

How to stream audio from one Android device to another Android device Via Bluetooth?

Is it possible to stream audio over bluetooth? During my research I found that is it only possible using A2DP(Advanced Audio Distribution Profile). And does every android device support A2DP? If not, is it possible to stream audio between two…
Hardik Joshi
  • 9,477
  • 12
  • 61
  • 113
19
votes
4 answers

How To Modify Android's Bluetooth Stack to Enable A2dp Sink

I'm working on an audio recorder app that uses a bluetooth mic to record audio on to an Android device (Nexus 7 - rooted Android 4.4.2). It's currently implemented on HFP and everything is working fine. The bluetooth mic is implemented with…
Eu-Lee
  • 203
  • 1
  • 2
  • 4
19
votes
1 answer

How to enable A2DP sink functionality in Android?

I'm developing a customized embedded device which uses Gingerbread 2.3.4 as an OS. Now the device should be able to play audio streaming from other A2DP-enabled devices such as iPhone or other Android devices. I know that the Gingerbread includes…
Yong Jun Chang
  • 191
  • 1
  • 3
18
votes
1 answer

Bluetooth audio streaming between android devices

I made a research on the same topic and found that android devices are a2dp sources and the audio can be streamed only from an a2dp source to an a2dp sink. A2dp sink can be a bluetooth headset or a bluetooth speaker. But my question is then how the…
Nidhin Joseph
  • 1,461
  • 3
  • 15
  • 32
17
votes
0 answers

How to reliably fetch and detect changes to the active audio route on Android?

I have a feature where I need to fetch current AND detect switch of the active audio output device of the system. Something like: run app -> fetch current device (which might be embedded speakers) connect bluetooth speaker -> detect switch to…
17
votes
4 answers

BlueZ vs Bluedroid bluetooth stack

BlueZ have a lot of documentations and all. And from the same, i understood BlueZ supports A2DP sink support. And at the same time an android device can be made act as an A2DP sink by modifying the audio.conf file inside the same. I also came to…
Nidhin Joseph
  • 1,461
  • 3
  • 15
  • 32
15
votes
3 answers

Android device as a receiver for A2DP profile

Basically, what I am trying to do right now is use an android device as an A2DP receiver and when pairing established, android plays sound that is received from a transmitter. I am worrying that if I use STP profile, it may cause delay of streaming.…
Heewon Hwang
  • 297
  • 2
  • 3
  • 9
14
votes
4 answers

Programmatically connect to paired Bluetooth speaker and play audio

In our app, I'd like to connect to a previously paired A2DP Bluetooth Speaker and direct audio playback to it, using Android v4.2 or later. I can successfully create an A2DP profile object using this code to start the process: /* Manifest…
Ted
  • 2,525
  • 2
  • 37
  • 54
12
votes
2 answers

Toggling A2DP Device (Android)

I have two paired bluetooth devices (my car's head-unit for phone audio and a separate bluetooth receiver for A2DP). On my phone there's a checkbox for "Use for media audio" that I have to manually toggle for my A2DP output to go to my car's…
JamesB41
  • 703
  • 10
  • 20
12
votes
4 answers

A2DP sink without pulseaudio

So I'm trying to make my linux server play music sent from my Android phone using bluetooth (the linux machine is the A2DP sink and the phone is the source). What I have done so far is to: install bluez and enable audiosource/audiosink pair phone…
lode
  • 347
  • 1
  • 3
  • 9
11
votes
2 answers

How to make A2DP and HSP work simultaneously

I have a bluetooth headset. When connecting it to Windows 10, it installs two profiles in Playback devices list: Hands-Free. (HSP profile) Stereo. (A2DP profile) The Second one (Stereo) is set to be the "Default Device" and the "Default…
onlyforthis
  • 444
  • 1
  • 5
  • 21
11
votes
1 answer

Bluetoothctl without any user interaction

Right now I can successfully pair and connect a phone to my machine without any user interaction in this way: $bluetoothctl #power on #discoverable on #pairable on #agent NoInputNoOutput #default-agent from my phone I search for the BT device and…
Mark
  • 4,338
  • 7
  • 58
  • 120
10
votes
1 answer

Bluetooth A2DP SINK in Windows 8.1

I know Microsoft doesn't allow the streaming of music from phones to Windows 8 PC's or the use of the PC as hands free, but has anyone found a way around this yet? Are there any modified drivers or ways to modify the current drivers? Any help would…
virgil debique
  • 357
  • 2
  • 11
9
votes
0 answers

Android 5.0 Bluetooth A2DP Sink

I have a very specific answer for which I am looking. I hope that there is someone out there that is smart enough as to point me in the correct direction. Background: I have an Android phone (LG Power on 5.0 rooted) as well as a Nexus 10 running…
Question Asker
  • 199
  • 2
  • 18
1
2 3
8 9