Android FluidSynth audio output speakers / earphones #931
-
Hi, I'm running an native android fluidsynth (2.18) application I have wrote on an Android 10 realme 6 device. However, if I connect an earphones (or a cable to an audio amp) to the device, the sound stops. Any idea why? Thanks, Nahum Budin. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
This comment has been hidden.
This comment has been hidden.
-
Hi, When I implemented Oboe / OpenSLES driver, I wasn't aware of such audio device disconnection matters, hence there is no special care about it. I'm not sure how Fluidsynth itself deals with disconnected devices - is it taken care on other audio drivers? @derselbst This is how Oboe detects device disconnection. Maybe we can implement something. That means, there is no workaround so far. |
Beta Was this translation helpful? Give feedback.
Hi,
When I implemented Oboe / OpenSLES driver, I wasn't aware of such audio device disconnection matters, hence there is no special care about it. I'm not sure how Fluidsynth itself deals with disconnected devices - is it taken care on other audio drivers? @derselbst
This is how Oboe detects device disconnection.
https://github.com/google/oboe/blob/master/docs/FullGuide.md#disconnected-audio-stream
Maybe we can implement something. That means, there is no workaround so far.