media icon indicating copy to clipboard operation
media copied to clipboard

How to switch between mono and stereo?

Open Ishan09811 opened this issue 1 year ago • 4 comments

Ishan09811 avatar Sep 09 '24 19:09 Ishan09811

Just a guess: Is this related to switching between different audio tracks in ExoPlayer?

It would be great if you could provide more details by filling out the issue template.

rohitjoins avatar Sep 12 '24 01:09 rohitjoins

Actually I want to change the audio channel to mono or stereo manually in ExoPlayer 1.4.1

Ishan09811 avatar Sep 12 '24 18:09 Ishan09811

Hey there!

Take a look at ChannelMixingAudioProcessor - It needs to be setup with the matrices representing your preferred mixing coefficients.

This can be passed to DefaultAudioSink to be applied to decoded audio before it's queued to the AudioTrack.

Samrobbo avatar Sep 16 '24 16:09 Samrobbo

@Samrobbo Can you provide a usage case?

yzm123-yzm avatar Sep 19 '24 01:09 yzm123-yzm

Hey @yzm123-yzm and @Ishan09811,

Can you provide a detailed description, hopefully with an example, of what you are trying to achieve? Does this relate to ExoPlayer, to Transformer, or to CompositionPlayer?

With this information I should be able to give you more accurate guidance. Thanks!

ivanbuper avatar Mar 20 '25 17:03 ivanbuper

Hey @Ishan09811. We need more information to resolve this issue but there hasn't been an update in 14 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Apr 09 '25 01:04 google-oss-bot

Since there haven't been any recent updates here, I am going to close this issue.

@Ishan09811 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.

google-oss-bot avatar Apr 17 '25 01:04 google-oss-bot