I am looking to design and android app that would programmatically be able to route audio through the left and right speakers individually. That is when the song is played it would first route through the right speaker and it would then route it through the left speaker. The purpose of my app would be to validate that both the speakers are working fine. So far I haven't been able to successfully find any API that would do this .
0
votes
1 Answers
5
votes
First, have you looked at other questions like Set media left/right volume separately?. From that question I see that MediaPlayer.setVolume lets you control left and right volume levels. See MediaPlayer.SetVolume.
Another thought would be to create two audio files with: one with only sound on the left channel, and one with only sound on the right channel, then your app can play one file then the other...