[mythtv] audio.isPaused not working for OpenSLES audio

Peter Bennett pb.mythtv at gmail.com
Fri Jul 20 17:48:42 UTC 2018


Hi Mark

I assume you created the android OpenSLES audio support in MythTV. I 
found that audio.isPaused() always returns true, even in the middle of 
playing audio and video. This was causing audio-video sync to not work 
correctly. I fixed it by taking that check out. It was not necessary to 
check audio.isPaused() before calling Pause(). I just made it 
unconditionally call Pause() whether it was already paused or not. 
However I wonder if there is an error that is causing it to always 
return isPaused() as true and whether that may cause other problems.

Peter



More information about the mythtv-dev mailing list