Closed
Bug 1015870
Opened 11 years ago
Closed 6 years ago
Encountered unknown AudioTrack event 5 for CAudioPlayer
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
INACTIVE
People
(Reporter: jwwang, Unassigned)
References
Details
https://tbpl.mozilla.org/php/getParsedLog.php?id=40362083&tree=Try&full=1#error0
21:57:44 INFO - 05-24 21:35:45.828 E/libOpenSLES( 2242): Encountered unknown AudioTrack event 5 for CAudioPlayer 0x63a720
Found this error in /tests/content/media/test/test_loop.html | Test timed out.
I wonder if something is wrong to the Android audio engine which prevents the audio clock from going forward and therefore playback gets stuck.
Hi Bruce,
Can you take a look at this error? Thanks.
Reporter | ||
Updated•11 years ago
|
Flags: needinfo?(brsun)
Comment 1•11 years ago
|
||
(In reply to JW Wang [:jwwang] from comment #0)
> https://tbpl.mozilla.org/php/getParsedLog.
> php?id=40362083&tree=Try&full=1#error0
>
> 21:57:44 INFO - 05-24 21:35:45.828 E/libOpenSLES( 2242): Encountered
> unknown AudioTrack event 5 for CAudioPlayer 0x63a720
>
> Found this error in /tests/content/media/test/test_loop.html | Test timed
> out.
>
> I wonder if something is wrong to the Android audio engine which prevents
> the audio clock from going forward and therefore playback gets stuck.
>
> Hi Bruce,
> Can you take a look at this error? Thanks.
According to AudioTrack.h definition, the event 5 is the end of buffer.
EVENT_BUFFER_END = 5 // Playback head is at the end of the buffer.
[1] http://androidxref.com/4.4.2_r2/xref/frameworks/av/include/media/AudioTrack.h#60
Flags: needinfo?(brsun)
Reporter | ||
Comment 2•11 years ago
|
||
http://dxr.mozilla.org/mozilla-central/source/media/libcubeb/src/cubeb_opensl.c#564
Will it cause error in SLPlayItf::GetPosition() which will prevent audio clock from going forward and playback will get stuck?
Flags: needinfo?(scheng)
Comment 3•11 years ago
|
||
Hi JW,
Just curious, is this timeout issue easy to be reproduced locally?
Reporter | ||
Comment 4•11 years ago
|
||
(In reply to Bruce Sun [:brsun] from comment #3)
> Hi JW,
>
> Just curious, is this timeout issue easy to be reproduced locally?
No. About one out of 50 tries on the Try server. Btw, it seems only to happen on Android 4.0 debug on the Try.
Comment 5•11 years ago
|
||
I have discussed with JW offline. Clear the ni? tag.
Flags: needinfo?(scheng)
Reporter | ||
Comment 6•10 years ago
|
||
06-22 19:29:53.726 V/tiny_hw ( 1294): out_standby(0x4d8160) closing PCM
It looks like when this message shows up, the audio engine stops advancing and playback gets stuck.
Hi Bruce,
Do you have any idea about this message?
Flags: needinfo?(brsun)
Reporter | ||
Comment 7•10 years ago
|
||
(In reply to JW Wang [:jwwang] from comment #6)
> 06-22 19:29:53.726 V/tiny_hw ( 1294): out_standby(0x4d8160) closing PCM
>
> It looks like when this message shows up, the audio engine stops advancing
> and playback gets stuck.
>
> Hi Bruce,
> Do you have any idea about this message?
Never mind. The event should be irrelevant.
Flags: needinfo?(brsun)
Reporter | ||
Comment 8•10 years ago
|
||
https://tbpl.mozilla.org/php/getParsedLog.php?id=42509792&tree=Try&full=1#error0
Just a note. When this message shows up, AudioStream will get stuck in Write() waiting indefinitely for data callback from libcubeb to consume buffer. However data callback never comes...
Reporter | ||
Comment 9•10 years ago
|
||
Hi Bruce,
Can you check the problem listed in comment 8? Thanks.
Flags: needinfo?(brsun)
Comment 10•10 years ago
|
||
I am afraid that I might not be able to dig into it.
Flags: needinfo?(brsun)
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 11•6 years ago
|
||
Mass closing do to inactivity.
Feel free to re-open if still needed.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INACTIVE
You need to log in
before you can comment on or make changes to this bug.
Description
•