Hi all,

I would like to use the AudioTrack class to play separate the left and
the right audio channel in a stereo .WAV file.
In the AudioTrack class's constructor there is a channelConfig
parameter, to describe the configuration of the audio channels.

If i want to use the channel configuration constants in the
AudioFormat class, the app crashes with Unsupported
Channel Configuration error. Only works with CHANNEL_OUT_STEREO and
CHANNEL_OUT_MONO (and with
CHANNEL_OUT_FRONT_LEFT, but the constant value of
CHANNEL_OUT_FRONT_LEFT is the same as the CHANNEL_OUT_MONO).

My question is: why crashes the app when i want to use this constants?

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

Reply via email to