1

I would like to play a sound (mp3, wav...) on external display (as HDMI for example). I have tried with the RingtoneManager but I can't specify the device.

I have try this Android force HDMI audio without success.

I can do this with adb like this:

adb.exe shell tinyplay path_of_my_song -D 1 -p 768 -n 8

The option -D 1 specified the device. But how can i do this programmatically in java?

Community
  • 1
  • 1
xpmich
  • 11
  • 4

0 Answers0