# FMOD Low Level API and Bluetooth A2DP

**URL:** https://qa.fmod.com/t/fmod-low-level-api-and-bluetooth-a2dp/13042
**Category:** FMOD Engine
**Created:** [March 16, 2017, 9:02am UTC](https://qa.fmod.com/t/fmod-low-level-api-and-bluetooth-a2dp/13042 "2017-03-16T09:02:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Silveryard](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@Silveryard](https://qa.fmod.com/u/Silveryard)
#### Post date: [March 16, 2017, 9:02am UTC](https://qa.fmod.com/t/fmod-low-level-api-and-bluetooth-a2dp/13042/1 "2017-03-16T09:02:49Z")

</div>

Hi,

Is it possible to have an bluetooth A2DP (audio stream) sink to be routed to FMOD as an input stream? As you can have line in as input stream?

Thanks in advance,  
Sebastian

---

<div class="post-metadata">

### Author: ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)
#### Post date: [March 20, 2017, 5:25am UTC](https://qa.fmod.com/t/fmod-low-level-api-and-bluetooth-a2dp/13042/2 "2017-03-20T05:25:43Z")

</div>

Original response, incorrectly assuming Android…

> Unfortunately I don’t have a good answer for you, it may be possible  
> but generally we avoid Bluetooth on Android due to latency issues.
> 
> Currently we simply open the input stream exposed to OpenSLES, if  
> there is a way through NDK / Java to make the Bluetooth the default  
> input then it should “just work” however I am not aware of such a  
> method.

For Linux we have two available sound card interfaces, ALSA and PulseAudio. Assuming PulseAudio a quick Google reveals you probably need to install the PulseAudio Bluetooth module. Once that’s running FMOD should discover it along with all the other PulseAudio devices.

---

<div class="post-metadata">

### Author: ![Silveryard](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@Silveryard](https://qa.fmod.com/u/Silveryard)
#### Post date: [March 20, 2017, 8:40am UTC](https://qa.fmod.com/t/fmod-low-level-api-and-bluetooth-a2dp/13042/3 "2017-03-20T08:40:33Z")

</div>

I do not want to use Bluetooth with Android but with the raspberry pi. So I have access to most tools, every linux system has. I want to use FMOD as my primary audio library but the ability to get the bluetooth stream is a must have for me.

---

<div class="post-metadata">

### Author: ![mathew](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mathew/32/431_2.png) [@mathew](https://qa.fmod.com/u/mathew)
#### Post date: [March 20, 2017, 11:29pm UTC](https://qa.fmod.com/t/fmod-low-level-api-and-bluetooth-a2dp/13042/4 "2017-03-20T23:29:58Z")

</div>

> [@](#):
>
> I do not want to use Bluetooth with Android but with the raspberry pi. So I have access to most tools, every linux system has. I want to use FMOD as my primary audio library but the ability to get the bluetooth stream is a must have for me.

Apologies, I saw Bluetooth and assumed Android. I’ll correct my above answer.

---

<div class="post-metadata">

### Author: ![Silveryard](https://avatars.discourse-cdn.com/v4/letter/s/b9e5f3/32.png) [@Silveryard](https://qa.fmod.com/u/Silveryard)
#### Post date: [March 23, 2017, 7:50am UTC](https://qa.fmod.com/t/fmod-low-level-api-and-bluetooth-a2dp/13042/5 "2017-03-23T07:50:30Z")

</div>

Thank you very much. I will try that
