# Equivalent to Unity Audio Source - Android Build

**URL:** <https://qa.fmod.com/t/equivalent-to-unity-audio-source-android-build/15838>\
**Category:** Unity\
**Tags:** android\
**Created:** [June 3, 2020, 7:43am UTC](https://qa.fmod.com/t/equivalent-to-unity-audio-source-android-build/15838 "2020-06-03T07:43:34Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![MisterIX](https://avatars.discourse-cdn.com/v4/letter/m/eada6e/32.png) [@MisterIX](https://qa.fmod.com/u/MisterIX)\
**Post date:** [June 22, 2020, 6:38pm UTC](https://qa.fmod.com/t/equivalent-to-unity-audio-source-android-build/15838/3 "2020-06-22T18:38:38Z")

</div>

Dear joseph,

thank you for your reply. Actually I get an audio stream from the sampler that looks approx. like this:

> (int i = 0; i \< buffersize; i++)
> 
> {  
> int j = (block + i) \* 2;
> 
> ```
> data[j + 0] = left_buf[i] * Volume;
> 
> data[j + 1] = right_buf[i] *Volume;
> 
> ```
> 
> }

Could you please describe to me, how I can pass the stream to FMOD Core API, or is there maybe a sample code that I could review?

Kind regards, MisterIX.

---

_[View the full topic](https://qa.fmod.com/t/equivalent-to-unity-audio-source-android-build/15838)._
