You dont need a separate buffer for right and left. Stereo audio is
interleaved. To ouput stereo you just fill the buffer with left-right-
left-right

On Jan 8, 4:36 pm, rar <raigom...@gmail.com> wrote:
> Hi,
>
> I'm trying to figure out if it is at all possible to get AudioTrack to
> play "actual stereo", that is - there is a separate PCM buffer for
> left and right channel and the output will have samples representing
> sine waves with opposite phases in the left and right stereo channel
> output accordingly.
>
> Is there any way to do this with generated sounds? I guess this is
> possible with pre-generated (Audacity) wav files, but it would be much
> more reasonable to generate these on the fly instead of laying with
> the files.
>
> Thanks in advance,
> rar

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to