Android Passthrough audio cutting off for couple of seconds after seeking or pausing
#1
I'm experiencing a mildly annoying issue where passthrough audio will not play for couple of seconds after unpausing or seeking, or sometimes audio will not play at all until I seek/unpause again.

This means that if I pause the movie mid-dialog, I have to rewind before I can unpause, otherwise I will miss the dialog.

Logs: https://paste.kodi.tv/abenagejot.kodi

I pause couple of times at around 07:38:01.203 in the logs and then seek a couple of times. The most interesting one is the second seek (I think around 07:41:52.478), where audio did not recover on its own after seeking. I had to seek again, after which (plus a several second delay), it did recover.

Device is Robotics Box R 4K, with superviseaudiodelay turned on (otherwise audio is out of sync). Using AudioTrack (RAW), Android IEC packer. Enabling "Keep audio device alive" does not seem to affect this issue.

Relevant line seems to be this:

Code:
Resetting pause bursts as buffer level was reached! (1)
Reply
#2
Might help: https://kodi.wiki/view/Add-on:Unpause_Jumpback
Reply
#3
I also have this issue in my Zidoo Z9X when I set passthrough to RAW. In IEC mode it works really well with TrueHD but there is no DD+ passthrough option. Is it possible to have DD+ or DTS-HD option in my device?
Image
Reply
#4
(2024-09-11, 07:54)matejdro2 Wrote: Device is Robotics Box R 4K, with superviseaudiodelay turned on (otherwise audio is out of sync). Using AudioTrack (RAW), Android IEC packer.

This device supports two audio devices: IEC and RAW
xml:
2024-09-11 07:34:36.087 T:9311     info <general>: Enumerated AUDIOTRACK devices:
2024-09-11 07:34:36.087 T:9311     info <general>:     Device 1
2024-09-11 07:34:36.087 T:9311     info <general>:         m_deviceName      : AudioTrack (IEC)
2024-09-11 07:34:36.087 T:9311     info <general>:         m_displayName     : AudioTrack (IEC)
2024-09-11 07:34:36.087 T:9311     info <general>:         m_displayNameExtra: Kodi IEC packer (recommended)
2024-09-11 07:34:36.087 T:9311     info <general>:         m_deviceType      : AE_DEVTYPE_HDMI
2024-09-11 07:34:36.088 T:9311     info <general>:         m_channels        : FL, FR, FC, LFE, SL, SR, BL, BR, BC, BLOC, BROC
2024-09-11 07:34:36.088 T:9311     info <general>:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000
2024-09-11 07:34:36.088 T:9311     info <general>:         m_dataFormats     : AE_FMT_S16LE,AE_FMT_FLOAT,AE_FMT_RAW,AE_FMT_RAW
2024-09-11 07:34:36.088 T:9311     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_TRUEHD
2024-09-11 07:34:36.088 T:9311     info <general>:     Device 2
2024-09-11 07:34:36.088 T:9311     info <general>:         m_deviceName      : AudioTrack (RAW)
2024-09-11 07:34:36.088 T:9311     info <general>:         m_displayName     : AudioTrack (RAW)
2024-09-11 07:34:36.088 T:9311     info <general>:         m_displayNameExtra: Android IEC packer
2024-09-11 07:34:36.088 T:9311     info <general>:         m_deviceType      : AE_DEVTYPE_HDMI
2024-09-11 07:34:36.088 T:9311     info <general>:         m_channels        : FL, FR, FC, LFE, SL, SR, BL, BR, BC, BLOC, BROC
2024-09-11 07:34:36.088 T:9311     info <general>:         m_sampleRates     : 32000,44100,48000,88200,96000,176400,192000,32000,44100,48000,88200,96000,176400,192000
2024-09-11 07:34:36.088 T:9311     info <general>:         m_dataFormats     : AE_FMT_S16LE,AE_FMT_FLOAT,AE_FMT_RAW,AE_FMT_RAW,AE_FMT_S16LE,AE_FMT_FLOAT,AE_FMT_RAW
2024-09-11 07:34:36.088 T:9311     info <general>:         m_streamTypes     : STREAM_TYPE_AC3,STREAM_TYPE_EAC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_TRUEHD


You are using RAW device and you should use IEC. In fact, the name of the device is Kodi IEC packer (recommended) because it is the recommended one.  Smile
Reply
#5
IEC packer does not work (the audio is just silent). It is the same issue as the Fire Cube (since I think the chipset is similar to that device)
Reply
#6
Hm, I might have misremembered, I though having to use RAW packer on my device was normal, but now I cannot find anything on that.

Here are logs of me using IEC packer: https://paste.kodi.tv/osiwomakoy.kodi . There is no audio output at all.
Reply

Logout Mark Read Team Forum Stats Members Help
Passthrough audio cutting off for couple of seconds after seeking or pausing0