Closed
Bug 840833
Opened 13 years ago
Closed 13 years ago
Backport sydneyaudio Gonk fixes to sydneyaudio Android
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: kinetik, Assigned: kinetik)
References
Details
Attachments
(1 file)
|
4.58 KB,
patch
|
padenot
:
review+
|
Details | Diff | Splinter Review |
Bug 833724 fixes a number of issues in the Gonk backend. Most of these exist in the Android backend too, so we need to backport the fixes.
| Assignee | ||
Comment 1•13 years ago
|
||
Assignee: nobody → kinetik
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•13 years ago
|
||
Comment on attachment 713243 [details] [diff] [review]
patch v0
Since you've been working on the AudioTrack cubeb backend, you're the best person to review this. :-)
Attachment #713243 -
Flags: review?(paul)
Comment 3•13 years ago
|
||
Comment on attachment 713243 [details] [diff] [review]
patch v0
Review of attachment 713243 [details] [diff] [review]:
-----------------------------------------------------------------
::: media/libsydneyaudio/src/sydney_audio_android.c
@@ +332,5 @@
> p += r;
> wrote += r;
> + s->amountWritten += r;
> +
> + sa_stream_resume(s);
I assume you tested this does not underrun with the current state of things?
I believe people using mozWriteAudio without checking will know when they underrun by watching logcat.
Attachment #713243 -
Flags: review?(paul) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
(In reply to Paul Adenot (:padenot) from comment #3)
> I assume you tested this does not underrun with the current state of things?
For regular media playback, the fill-until-short-write mechanism to prefill the buffer was being defeated by the AudioStream being paused and resumed immediately after being created, so there should not no change in behaviour there. See bug 833724 comment 6.
| Assignee | ||
Comment 5•13 years ago
|
||
CCing Chris, just in case landing this causes regressions.
| Assignee | ||
Comment 6•13 years ago
|
||
Comment 7•13 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
You need to log in
before you can comment on or make changes to this bug.
Description
•