# Do you have any plan for AAudio?

**URL:** <https://qa.fmod.com/t/do-you-have-any-plan-for-aaudio/14691>\
**Category:** FMOD Engine\
**Created:** [May 17, 2019, 7:12pm UTC](https://qa.fmod.com/t/do-you-have-any-plan-for-aaudio/14691 "2019-05-17T19:12:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jiyongman](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Post date:** [May 17, 2019, 7:12pm UTC](https://qa.fmod.com/t/do-you-have-any-plan-for-aaudio/14691/1 "2019-05-17T19:12:57Z")

</div>

As you may know, a new low-latency high performance API, AAudio was introduced back in Android 8.0.

1. Do you have a plan to support this any time soon?

I know high playback sample rates matter, but I wonder if:

1. High bit depth of a sound file will impact performance too.

I want to change Audio APIs for low latency playback on certain platforms.

1. Is the below code example correct?

FMOD\_OUTPUTTYPE fo = FMOD\_OUTPUTTYPE\_ASIO;  
FMOD\_System\_Init(g\_System, 1024, FMOD\_INIT\_NORMAL, &fo);

---

<div class="post-metadata">

**Author:** ![tristanjl](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tristanjl/32/261_2.png) [@tristanjl](https://qa.fmod.com/u/tristanjl)\
**Post date:** [May 23, 2019, 4:48am UTC](https://qa.fmod.com/t/do-you-have-any-plan-for-aaudio/14691/2 "2019-05-23T04:48:01Z")

</div>

Hi jiyongman

1. AAudio is something we are looking at supporting soon, we do not have a finalized date at this stage.
2. FMOD mixer uses floats, so there is little benefit of going above that. Higher bit depth will make your files larger, leading to more file IO.
3. You should use see [https://www.fmod.com/resources/documentation-api?version=2.0&page=core-api-system.html#system\_setoutput](https://www.fmod.com/resources/documentation-api?version=2.0&page=core-api-system.html#system_setoutput) for setting output types. It is probably worth spending a bit of time understanding output types (used in the objectpan studio api example. All output types are listed here: [https://www.fmod.com/resources/documentation-api?version=2.0&page=core-api-system.html#fmod\_outputtype](https://www.fmod.com/resources/documentation-api?version=2.0&page=core-api-system.html#fmod_outputtype) ) and reading our performance documentation ( [https://www.fmod.com/resources/documentation-api?version=2.0&page=white-papers-cpu-performance.html](https://www.fmod.com/resources/documentation-api?version=2.0&page=white-papers-cpu-performance.html) )

---

<div class="post-metadata">

**Author:** ![jiyongman](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Post date:** [May 23, 2019, 7:56am UTC](https://qa.fmod.com/t/do-you-have-any-plan-for-aaudio/14691/3 "2019-05-23T07:56:49Z")

</div>

Firstly, it’s really good to hear that you are already considering supporting AAudio.  
FMOD is always evolving, and this is one of the reasons why I love FMOD the most.

As for the number 3, even though I already read all those docs before asking, I think I misread something there. Thanks, now I understand 🙂

---

<div class="post-metadata">

**Author:** ![jiyongman](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Post date:** [May 23, 2019, 8:16am UTC](https://qa.fmod.com/t/do-you-have-any-plan-for-aaudio/14691/4 "2019-05-23T08:16:23Z")

</div>

Ah, it may be too obvious but just to be sure,  
as for the number 2, does a larger file also mean a longer decoding time?

---

<div class="post-metadata">

**Author:** ![tristanjl](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/tristanjl/32/261_2.png) [@tristanjl](https://qa.fmod.com/u/tristanjl)\
**Post date:** [May 24, 2019, 1:53am UTC](https://qa.fmod.com/t/do-you-have-any-plan-for-aaudio/14691/5 "2019-05-24T01:53:44Z")

</div>

In the general case with all other things being equal (same audio/format etc), that is likely to be the case. The size of a file will often come down to encoding format and each encoding format has different performance characteristics. See [https://www.fmod.com/resources/documentation-api?version=2.0&page=platforms-windows.html#performance-reference](https://www.fmod.com/resources/documentation-api?version=2.0&page=platforms-windows.html#performance-reference) for more details.

---

<div class="post-metadata">

**Author:** ![jiyongman](https://avatars.discourse-cdn.com/v4/letter/j/ebca7d/32.png) [@jiyongman](https://qa.fmod.com/u/jiyongman)\
**Post date:** [May 24, 2019, 7:16am UTC](https://qa.fmod.com/t/do-you-have-any-plan-for-aaudio/14691/6 "2019-05-24T07:16:51Z")

</div>

Thank you!
