Kodi is an award-winning free and open source home theater/media center software and entertainment hub for digital media. With its beautiful interface and powerful skinning engine, it's available for Android, BSD, Linux, macOS, iOS, tvOS and Windows.
Here is a clear and concise description of what the problem is:
]
No sound when loop play 8chs_wav file after several times
[channel_name_8ch_s32.zip](https://github.com/xbmc/xbmc/files/11351411/channel_name_8ch_s32.zip)
## Expected Behavior
Here is a clear and concise description of what was expected to happen:
Kodi could loop play 8ch wav file(channel_name_8ch_s32.wav) without error.
Actual Behavior
After loop play several times, kodi is no sound
Possible Fix
Couldn't find way to fix
To Reproduce
Steps to reproduce the behavior:
](url)
Set to loop mode to play music
Play following wav file(channel_name_8ch_s32.wav)
After severl times, kodi is no sound
Debuglog
The debuglog can be found here:
Line 1: 01-01 00:03:18.788 4615 6179 I Kodi : 2020-01-01 00:03:18.788 T:6179 info <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 56960 m_frames: 1780 m_frameSize: 8 channels: 2
Line 12: 01-01 00:03:18.792 4615 6179 I AudioTrack: start(0x747fec1800), usage=1
Line 17: 01-01 00:03:18.797 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 18: 01-01 00:03:18.797 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 48: 01-01 00:03:19.382 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 49: 01-01 00:03:19.382 4615 6179 D AudioTrack: stop() called with 32040 frames delivered
Line 50: 01-01 00:03:19.383 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 51: 01-01 00:03:19.383 4615 6179 D Kodi : 2020-01-01 00:03:19.383 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 52: 01-01 00:03:19.383 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 53: 01-01 00:03:19.383 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 54: 01-01 00:03:19.383 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 57: 01-01 00:03:19.385 4615 6179 D Kodi : 2020-01-01 00:03:19.385 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 59: 01-01 00:03:19.385 4615 6179 D Kodi : 2020-01-01 00:03:19.385 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 60: 01-01 00:03:19.385 4615 6179 D Kodi : 2020-01-01 00:03:19.385 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_FLOAT; channels: 8
Line 68: 01-01 00:03:19.386 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 69: 01-01 00:03:19.387 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x63f, frameCount 7712, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 70: 01-01 00:03:19.387 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 72: 01-01 00:03:19.387 707 707 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 73: 01-01 00:03:19.387 707 707 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 74: 01-01 00:03:19.387 707 707 D AudioFlinger: Client defaulted notificationFrames to 3856 for frameCount 7712
Line 75: 01-01 00:03:19.395 4615 6179 I Kodi : 2020-01-01 00:03:19.395 T:6179 info <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 48000 format: AE_FMT_S16LE (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 123392 m_frames: 1928 m_frameSize: 16 channels: 8
Line 84: 01-01 00:03:19.402 4615 6179 I AudioTrack: start(0x747fec1800), usage=1
Line 92: 01-01 00:03:19.409 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 93: 01-01 00:03:19.409 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 97: 01-01 00:03:19.427 707 1079 D AudioFlinger: mixer(0xe5803700) throttle end: throttle time(1)
Line 109: 01-01 00:03:19.494 4615 5745 D AudioAttributes: setUsage 1 for AudioAttributes
Line 111: 01-01 00:03:19.495 1236 1914 V AudioPolicy: notifyAudioFocusRequest: pack=org.xbmc.kodi client=android.media.AudioManager@baec802org.xbmc.kodi.interfaces.XBMCAudioManagerOnAudioFocusChangeListener@de7f513 gen=16
Line 123: 01-01 00:03:19.496 707 707 I AudioFlinger: setParameters(): io 0, keyvalue close_source=0:1, calling pid 1236 calling uid 1000
Line 124: 01-01 00:03:19.496 707 707 I AudioFlinger: setParameters: filtered keyvalue close_source=0:1
Line 125: 01-01 00:03:19.496 707 707 I AudioFlinger: setParameters : mutex lock begine
Line 126: 01-01 00:03:19.496 707 707 I AudioFlinger: setParameters : auto lock begine
Line 140: 01-01 00:03:19.497 707 707 I AudioFlinger: setParameters : release all lock
Line 148: 01-01 00:03:19.499 707 707 I AudioFlinger: setParameters(): io 0, keyvalue open_source=0:1, calling pid 1236 calling uid 1000
Line 149: 01-01 00:03:19.499 707 707 I AudioFlinger: setParameters: filtered keyvalue open_source=0:1
Line 150: 01-01 00:03:19.499 707 707 I AudioFlinger: setParameters : mutex lock begine
Line 151: 01-01 00:03:19.499 707 707 I AudioFlinger: setParameters : auto lock begine
Line 176: 01-01 00:03:19.500 707 707 I AudioFlinger: setParameters : release all lock
Line 187: 01-01 00:03:19.500 4615 6357 I AudioManager: dispatchFocusResultFromExtPolicy requestResult=1
Line 213: 01-01 00:03:20.014 582 601 I Health@HealthMain: 12% 4615/org.xbmc.kodi: 9.4% user + 3.5% kernel / faults: 38811 minor 150 major
Line 324: 01-01 00:03:21.570 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 325: 01-01 00:03:21.570 4615 6179 D AudioTrack: stop() called with 105823 frames delivered
Line 326: 01-01 00:03:21.571 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 327: 01-01 00:03:21.571 4615 6179 D Kodi : 2020-01-01 00:03:21.571 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 328: 01-01 00:03:21.572 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 329: 01-01 00:03:21.572 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 330: 01-01 00:03:21.573 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 333: 01-01 00:03:21.578 4615 6179 D Kodi : 2020-01-01 00:03:21.578 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 335: 01-01 00:03:21.578 4615 6179 D Kodi : 2020-01-01 00:03:21.578 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 336: 01-01 00:03:21.579 4615 6179 D Kodi : 2020-01-01 00:03:21.578 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 44100; format: AE_FMT_FLOAT; channels: 2
Line 343: 01-01 00:03:21.581 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 344: 01-01 00:03:21.582 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 44100, format 0x5, channelMask 0x3, frameCount 7120, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 345: 01-01 00:03:21.582 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 347: 01-01 00:03:21.582 707 6182 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 348: 01-01 00:03:21.582 707 6182 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 349: 01-01 00:03:21.583 707 6182 D AudioFlinger: Client defaulted notificationFrames to 2373 for frameCount 7120
Line 350: 01-01 00:03:21.588 4615 6179 I Kodi : 2020-01-01 00:03:21.588 T:6179 info <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 56960 m_frames: 1780 m_frameSize: 8 channels: 2
Line 361: 01-01 00:03:21.591 4615 6179 I AudioTrack: start(0x747fec1800), usage=1
Line 366: 01-01 00:03:21.598 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 367: 01-01 00:03:21.598 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 374: 01-01 00:03:21.629 707 1079 D AudioFlinger: mixer(0xe5803700) throttle end: throttle time(1)
Line 411: 01-01 00:03:22.239 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 412: 01-01 00:03:22.239 4615 6179 D AudioTrack: stop() called with 33820 frames delivered
Line 413: 01-01 00:03:22.239 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 414: 01-01 00:03:22.239 4615 6179 D Kodi : 2020-01-01 00:03:22.239 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 415: 01-01 00:03:22.239 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 416: 01-01 00:03:22.239 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 417: 01-01 00:03:22.240 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 420: 01-01 00:03:22.243 4615 6179 D Kodi : 2020-01-01 00:03:22.243 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 422: 01-01 00:03:22.243 4615 6179 D Kodi : 2020-01-01 00:03:22.243 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 423: 01-01 00:03:22.243 4615 6179 D Kodi : 2020-01-01 00:03:22.243 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_FLOAT; channels: 8
Line 431: 01-01 00:03:22.245 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 432: 01-01 00:03:22.245 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x63f, frameCount 7712, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 433: 01-01 00:03:22.245 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 435: 01-01 00:03:22.246 707 3831 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 436: 01-01 00:03:22.246 707 3831 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 437: 01-01 00:03:22.246 707 3831 D AudioFlinger: Client defaulted notificationFrames to 3856 for frameCount 7712
Line 438: 01-01 00:03:22.250 4615 6179 I Kodi : 2020-01-01 00:03:22.250 T:6179 info <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 48000 format: AE_FMT_S16LE (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 123392 m_frames: 1928 m_frameSize: 16 channels: 8
Line 447: 01-01 00:03:22.252 4615 6179 I AudioTrack: start(0x747fec1800), usage=1
Line 456: 01-01 00:03:22.271 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 457: 01-01 00:03:22.271 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 472: 01-01 00:03:22.327 4615 5745 D AudioAttributes: setUsage 1 for AudioAttributes
Line 474: 01-01 00:03:22.328 1236 1914 V AudioPolicy: notifyAudioFocusRequest: pack=org.xbmc.kodi client=android.media.AudioManager@baec802org.xbmc.kodi.interfaces.XBMCAudioManagerOnAudioFocusChangeListener@de7f513 gen=17
Line 487: 01-01 00:03:22.330 707 707 I AudioFlinger: setParameters(): io 0, keyvalue close_source=0:1, calling pid 1236 calling uid 1000
Line 488: 01-01 00:03:22.330 707 707 I AudioFlinger: setParameters: filtered keyvalue close_source=0:1
Line 489: 01-01 00:03:22.330 707 707 I AudioFlinger: setParameters : mutex lock begine
Line 490: 01-01 00:03:22.330 707 707 I AudioFlinger: setParameters : auto lock begine
Line 506: 01-01 00:03:22.332 707 707 I AudioFlinger: setParameters : release all lock
Line 513: 01-01 00:03:22.334 707 707 I AudioFlinger: setParameters(): io 0, keyvalue open_source=0:1, calling pid 1236 calling uid 1000
Line 514: 01-01 00:03:22.334 707 707 I AudioFlinger: setParameters: filtered keyvalue open_source=0:1
Line 515: 01-01 00:03:22.334 707 707 I AudioFlinger: setParameters : mutex lock begine
Line 516: 01-01 00:03:22.334 707 707 I AudioFlinger: setParameters : auto lock begine
Line 541: 01-01 00:03:22.335 707 707 I AudioFlinger: setParameters : release all lock
Line 551: 01-01 00:03:22.336 4615 6357 I AudioManager: dispatchFocusResultFromExtPolicy requestResult=1
Line 772: 01-01 00:03:24.582 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 773: 01-01 00:03:24.582 4615 6179 D AudioTrack: stop() called with 115463 frames delivered
Line 774: 01-01 00:03:24.582 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 775: 01-01 00:03:24.582 4615 6179 D Kodi : 2020-01-01 00:03:24.582 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 776: 01-01 00:03:24.582 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 777: 01-01 00:03:24.583 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 778: 01-01 00:03:24.583 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 781: 01-01 00:03:24.585 4615 6179 D Kodi : 2020-01-01 00:03:24.585 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 783: 01-01 00:03:24.585 4615 6179 D Kodi : 2020-01-01 00:03:24.585 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 784: 01-01 00:03:24.585 4615 6179 D Kodi : 2020-01-01 00:03:24.585 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 44100; format: AE_FMT_FLOAT; channels: 2
Line 791: 01-01 00:03:24.587 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 792: 01-01 00:03:24.587 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 44100, format 0x5, channelMask 0x3, frameCount 7120, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 793: 01-01 00:03:24.587 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 795: 01-01 00:03:24.588 707 3831 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 796: 01-01 00:03:24.588 707 3831 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 797: 01-01 00:03:24.588 707 3831 D AudioFlinger: Client defaulted notificationFrames to 2373 for frameCount 7120
Line 798: 01-01 00:03:24.593 4615 6179 I Kodi : 2020-01-01 00:03:24.593 T:6179 info <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 56960 m_frames: 1780 m_frameSize: 8 channels: 2
Line 809: 01-01 00:03:24.595 4615 6179 I AudioTrack: start(0x747fec1800), usage=1
Line 812: 01-01 00:03:24.603 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 813: 01-01 00:03:24.603 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 838: 01-01 00:03:25.131 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 839: 01-01 00:03:25.131 4615 6179 D AudioTrack: stop() called with 28480 frames delivered
Line 840: 01-01 00:03:25.131 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 841: 01-01 00:03:25.131 4615 6179 D Kodi : 2020-01-01 00:03:25.131 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 842: 01-01 00:03:25.131 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 843: 01-01 00:03:25.132 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 844: 01-01 00:03:25.132 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 847: 01-01 00:03:25.134 4615 6179 D Kodi : 2020-01-01 00:03:25.134 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 849: 01-01 00:03:25.134 4615 6179 D Kodi : 2020-01-01 00:03:25.134 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 850: 01-01 00:03:25.134 4615 6179 D Kodi : 2020-01-01 00:03:25.134 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_FLOAT; channels: 8
Line 858: 01-01 00:03:25.135 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 859: 01-01 00:03:25.135 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x63f, frameCount 7712, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 860: 01-01 00:03:25.135 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 862: 01-01 00:03:25.136 707 3278 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 863: 01-01 00:03:25.136 707 3278 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 864: 01-01 00:03:25.136 707 3278 D AudioFlinger: Client defaulted notificationFrames to 3856 for frameCount 7712
Line 865: 01-01 00:03:25.139 4615 6179 I Kodi : 2020-01-01 00:03:25.139 T:6179 info <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 48000 format: AE_FMT_S16LE (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 123392 m_frames: 1928 m_frameSize: 16 channels: 8
Line 877: 01-01 00:03:25.142 4615 6179 I AudioTrack: start(0x747fec1800), usage=1
Line 883: 01-01 00:03:25.156 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 884: 01-01 00:03:25.156 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 894: 01-01 00:03:25.213 4615 5745 D AudioAttributes: setUsage 1 for AudioAttributes
Line 896: 01-01 00:03:25.214 1236 1914 V AudioPolicy: notifyAudioFocusRequest: pack=org.xbmc.kodi client=android.media.AudioManager@baec802org.xbmc.kodi.interfaces.XBMCAudioManagerOnAudioFocusChangeListener@de7f513 gen=18
Line 908: 01-01 00:03:25.215 707 3278 I AudioFlinger: setParameters(): io 0, keyvalue close_source=0:1, calling pid 1236 calling uid 1000
Line 909: 01-01 00:03:25.215 707 3278 I AudioFlinger: setParameters: filtered keyvalue close_source=0:1
Line 910: 01-01 00:03:25.215 707 3278 I AudioFlinger: setParameters : mutex lock begine
Line 911: 01-01 00:03:25.215 707 3278 I AudioFlinger: setParameters : auto lock begine
Line 926: 01-01 00:03:25.216 707 3278 I AudioFlinger: setParameters : release all lock
Line 935: 01-01 00:03:25.218 707 3278 I AudioFlinger: setParameters(): io 0, keyvalue open_source=0:1, calling pid 1236 calling uid 1000
Line 936: 01-01 00:03:25.218 707 3278 I AudioFlinger: setParameters: filtered keyvalue open_source=0:1
Line 937: 01-01 00:03:25.218 707 3278 I AudioFlinger: setParameters : mutex lock begine
Line 938: 01-01 00:03:25.218 707 3278 I AudioFlinger: setParameters : auto lock begine
Line 961: 01-01 00:03:25.219 707 3278 I AudioFlinger: setParameters : release all lock
Line 973: 01-01 00:03:25.220 4615 6357 I AudioManager: dispatchFocusResultFromExtPolicy requestResult=1
Line 1169: 01-01 00:03:27.451 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 1170: 01-01 00:03:27.451 4615 6179 D AudioTrack: stop() called with 115463 frames delivered
Line 1171: 01-01 00:03:27.451 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 1172: 01-01 00:03:27.451 4615 6179 D Kodi : 2020-01-01 00:03:27.451 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1173: 01-01 00:03:27.451 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 1174: 01-01 00:03:27.451 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 1175: 01-01 00:03:27.452 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 1178: 01-01 00:03:27.453 4615 6179 D Kodi : 2020-01-01 00:03:27.453 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1180: 01-01 00:03:27.454 4615 6179 D Kodi : 2020-01-01 00:03:27.454 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 1181: 01-01 00:03:27.454 4615 6179 D Kodi : 2020-01-01 00:03:27.454 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 44100; format: AE_FMT_FLOAT; channels: 2
Line 1188: 01-01 00:03:27.457 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 1189: 01-01 00:03:27.457 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 44100, format 0x5, channelMask 0x3, frameCount 7120, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 1190: 01-01 00:03:27.457 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 1192: 01-01 00:03:27.458 707 3831 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 1193: 01-01 00:03:27.458 707 3831 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 1194: 01-01 00:03:27.458 707 3831 D AudioFlinger: Client defaulted notificationFrames to 2373 for frameCount 7120
Line 1195: 01-01 00:03:27.467 4615 6179 I Kodi : 2020-01-01 00:03:27.467 T:6179 info <general>: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 56960 m_frames: 1780 m_frameSize: 8 channels: 2
Line 1206: 01-01 00:03:27.469 4615 6179 I AudioTrack: start(0x747fec1800), usage=1
Line 1210: 01-01 00:03:27.489 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 1211: 01-01 00:03:27.489 707 1079 I AudioMixer: setVolumeRampVariables ramp 480, newVolume 1.000000, *pIntSetVolume 0, *pIntPrevVolume 0, *pSetVolume 0.000000, *pPrevVolume 0.000000
Line 1218: 01-01 00:03:27.519 707 1079 D AudioFlinger: mixer(0xe5803700) throttle end: throttle time(4)
Line 1241: 01-01 00:03:28.061 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 1242: 01-01 00:03:28.061 4615 6179 D AudioTrack: stop() called with 32040 frames delivered
Line 1243: 01-01 00:03:28.061 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 1244: 01-01 00:03:28.061 4615 6179 D Kodi : 2020-01-01 00:03:28.061 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1245: 01-01 00:03:28.061 4615 6179 I AudioTrack: pause (0x747fec1800), usage=1
Line 1246: 01-01 00:03:28.061 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 1247: 01-01 00:03:28.062 4615 6179 I AudioTrack: stop (0x747fec1800), usage=1
Line 1250: 01-01 00:03:28.064 4615 6179 D Kodi : 2020-01-01 00:03:28.064 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1252: 01-01 00:03:28.064 4615 6179 D Kodi : 2020-01-01 00:03:28.064 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 1253: 01-01 00:03:28.064 4615 6179 D Kodi : 2020-01-01 00:03:28.064 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_FLOAT; channels: 8
Line 1261: 01-01 00:03:28.065 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 1262: 01-01 00:03:28.065 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x63f, frameCount 7712, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 1263: 01-01 00:03:28.065 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 1265: 01-01 00:03:28.066 707 3831 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 1266: 01-01 00:03:28.066 707 3831 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 1267: 01-01 00:03:28.066 707 3831 D AudioFlinger: Client defaulted notificationFrames to 3856 for frameCount 7712
Line 1268: 01-01 00:03:28.066 707 3831 E AudioFlinger: no more tracks available
Line 1269: 01-01 00:03:28.066 707 3831 E AudioFlinger: createTrack_l() initCheck failed -12; no control block?
Line 1270: 01-01 00:03:28.066 4615 6179 E IAudioFlinger: createTrack returned error -12
Line 1271: 01-01 00:03:28.066 4615 6179 E AudioTrack: AudioFlinger could not create track, status: -12 output 2093417864
Line 1273: 01-01 00:03:28.068 4615 6179 D AudioTrack: no metrics gathered, track status=-12
Line 1274: 01-01 00:03:28.068 4615 6179 E android.media.AudioTrack: Error code -20 when initializing AudioTrack.
Line 1285: 01-01 00:03:28.070 4615 6179 D Kodi : 2020-01-01 00:03:28.070 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1288: 01-01 00:03:28.071 4615 6179 D Kodi : 2020-01-01 00:03:28.071 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1297: 01-01 00:03:28.125 4615 6179 D Kodi : 2020-01-01 00:03:28.124 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 1298: 01-01 00:03:28.125 4615 6179 D Kodi : 2020-01-01 00:03:28.125 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_FLOAT; channels: 8
Line 1306: 01-01 00:03:28.127 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 1307: 01-01 00:03:28.128 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x63f, frameCount 7712, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 1308: 01-01 00:03:28.128 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 1310: 01-01 00:03:28.130 707 3831 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 1311: 01-01 00:03:28.130 707 3831 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 1312: 01-01 00:03:28.131 707 3831 D AudioFlinger: Client defaulted notificationFrames to 3856 for frameCount 7712
Line 1313: 01-01 00:03:28.131 707 3831 E AudioFlinger: no more tracks available
Line 1314: 01-01 00:03:28.131 707 3831 E AudioFlinger: createTrack_l() initCheck failed -12; no control block?
Line 1315: 01-01 00:03:28.131 4615 6179 E IAudioFlinger: createTrack returned error -12
Line 1316: 01-01 00:03:28.131 4615 6179 E AudioTrack: AudioFlinger could not create track, status: -12 output 2093192584
Line 1318: 01-01 00:03:28.132 4615 6179 D AudioTrack: no metrics gathered, track status=-12
Line 1319: 01-01 00:03:28.132 4615 6179 E android.media.AudioTrack: Error code -20 when initializing AudioTrack.
Line 1331: 01-01 00:03:28.134 4615 6179 D Kodi : 2020-01-01 00:03:28.134 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1334: 01-01 00:03:28.134 4615 6179 D Kodi : 2020-01-01 00:03:28.134 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1337: 01-01 00:03:28.135 4615 6179 D Kodi : 2020-01-01 00:03:28.135 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 1338: 01-01 00:03:28.135 4615 6179 D Kodi : 2020-01-01 00:03:28.135 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_FLOAT; channels: 8
Line 1346: 01-01 00:03:28.136 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 1347: 01-01 00:03:28.136 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x63f, frameCount 7712, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 1348: 01-01 00:03:28.136 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 1350: 01-01 00:03:28.136 707 3831 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 1351: 01-01 00:03:28.136 707 3831 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 1352: 01-01 00:03:28.136 707 3831 D AudioFlinger: Client defaulted notificationFrames to 3856 for frameCount 7712
Line 1353: 01-01 00:03:28.136 707 3831 E AudioFlinger: no more tracks available
Line 1354: 01-01 00:03:28.136 707 3831 E AudioFlinger: createTrack_l() initCheck failed -12; no control block?
Line 1355: 01-01 00:03:28.137 4615 6179 E IAudioFlinger: createTrack returned error -12
Line 1356: 01-01 00:03:28.137 4615 6179 E AudioTrack: AudioFlinger could not create track, status: -12 output 2093417864
Line 1358: 01-01 00:03:28.137 4615 6179 D AudioTrack: no metrics gathered, track status=-12
Line 1359: 01-01 00:03:28.137 4615 6179 E android.media.AudioTrack: Error code -20 when initializing AudioTrack.
Line 1372: 01-01 00:03:28.140 4615 6179 D Kodi : 2020-01-01 00:03:28.140 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1375: 01-01 00:03:28.140 4615 6179 D Kodi : 2020-01-01 00:03:28.140 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1378: 01-01 00:03:28.141 4615 6179 D Kodi : 2020-01-01 00:03:28.141 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 1379: 01-01 00:03:28.141 4615 6179 D Kodi : 2020-01-01 00:03:28.141 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_FLOAT; channels: 8
Line 1387: 01-01 00:03:28.142 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 1388: 01-01 00:03:28.142 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x63f, frameCount 7712, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 1389: 01-01 00:03:28.142 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 1391: 01-01 00:03:28.143 707 3831 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 1392: 01-01 00:03:28.143 707 3831 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 1393: 01-01 00:03:28.143 707 3831 D AudioFlinger: Client defaulted notificationFrames to 3856 for frameCount 7712
Line 1395: 01-01 00:03:28.144 707 3831 E AudioFlinger: no more tracks available
Line 1396: 01-01 00:03:28.144 707 3831 E AudioFlinger: createTrack_l() initCheck failed -12; no control block?
Line 1397: 01-01 00:03:28.145 4615 6179 E IAudioFlinger: createTrack returned error -12
Line 1398: 01-01 00:03:28.145 4615 6179 E AudioTrack: AudioFlinger could not create track, status: -12 output 2092152200
Line 1400: 01-01 00:03:28.145 4615 6179 D AudioTrack: no metrics gathered, track status=-12
Line 1401: 01-01 00:03:28.145 4615 6179 E android.media.AudioTrack: Error code -20 when initializing AudioTrack.
Line 1413: 01-01 00:03:28.147 4615 6179 D Kodi : 2020-01-01 00:03:28.147 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1416: 01-01 00:03:28.148 4615 6179 D Kodi : 2020-01-01 00:03:28.148 T:6179 debug <general>: CAESinkAUDIOTRACK::Deinitialize
Line 1419: 01-01 00:03:28.148 4615 6179 D Kodi : 2020-01-01 00:03:28.148 T:6179 debug <general>: CActiveAESink::OpenSink - trying to open device AUDIOTRACK:AudioTrack (RAW)
Line 1420: 01-01 00:03:28.148 4615 6179 D Kodi : 2020-01-01 00:03:28.148 T:6179 debug <general>: CAESinkAUDIOTRACK::Initialize requested: sampleRate 48000; format: AE_FMT_FLOAT; channels: 8
Line 1428: 01-01 00:03:28.149 4615 6179 D AudioAttributes: setUsage 1 for AudioAttributes
Line 1429: 01-01 00:03:28.149 4615 6179 I AudioTrack: set(): streamType -1, sampleRate 48000, format 0x1, channelMask 0x63f, frameCount 7712, flags #0, notificationFrames 0, sessionId 0, transferType 3, uid -1, pid -1
Line 1430: 01-01 00:03:28.149 4615 6179 I AudioTrack: set(): content_type=2, usage=1, source=0, flags=512
Line 1432: 01-01 00:03:28.150 707 3831 D AudioFlinger: createTrack output=13, Address = BUS00_MEDIA
Line 1433: 01-01 00:03:28.150 707 3831 W AudioFlinger: createTrack_l(): mismatch between requested flags (00000008) and output flags (00000002)
Line 1434: 01-01 00:03:28.150 707 3831 D AudioFlinger: Client defaulted notificationFrames to 3856 for frameCount 7712
Line 1435: 01-01 00:03:28.150 707 3831 E AudioFlinger: no more tracks available
Line 1436: 01-01 00:03:28.150 707 3831 E AudioFlinger: createTrack_l() initCheck failed -12; no control block?
Line 1437: 01-01 00:03:28.150 4615 6179 E IAudioFlinger: createTrack returned error -12
Line 1438: 01-01 00:03:28.150 4615 6179 E AudioTrack: AudioFlinger could not create track, status: -12 output 2093417864
Line 1440: 01-01 00:03:28.151 4615 6179 D AudioTrack: no metrics gathered, track status=-12
Line 1441: 01-01 00:03:28.151 4615 6179 E android.media.AudioTrack: Error code -20 when initializing AudioTrack.
Screenshots
Here are some links or screenshots to help explain the problem:
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system:
[x] Android
[ ] iOS
[ ] tvOS
[ ] Linux
[ ] macOS
[ ] Windows
[ ] Windows UWP
Operating system version/name:Android 28
Kodi version: 20.1
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.
Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.
This issue is now marked stale because it has been open over a year without activity. Remove the stale label or add a comment to reset the stale state.
Bug report
Here is a clear and concise description of what the problem is:
] No sound when loop play 8chs_wav file after several times [channel_name_8ch_s32.zip](https://github.com/xbmc/xbmc/files/11351411/channel_name_8ch_s32.zip) ## Expected Behavior Here is a clear and concise description of what was expected to happen:Kodi could loop play 8ch wav file(channel_name_8ch_s32.wav) without error.
Actual Behavior
After loop play several times, kodi is no sound
Possible Fix
Couldn't find way to fix
To Reproduce
Steps to reproduce the behavior:
](url)Debuglog
The debuglog can be found here:
Screenshots
Here are some links or screenshots to help explain the problem:
Additional context or screenshots (if appropriate)
Here is some additional context or explanation that might help:
Your Environment
Used Operating system:
[x] Android
[ ] iOS
[ ] tvOS
[ ] Linux
[ ] macOS
[ ] Windows
[ ] Windows UWP
Operating system version/name:Android 28
Kodi version: 20.1
note: Once the issue is made we require you to update it with new information or Kodi versions should that be required. Team Kodi will consider your problem report however, we will not make any promises the problem will be solved.