Closed
Bug 1277175
Opened 9 years ago
Closed 9 years ago
Remove AudioStream::IsPaused()
Categories
(Core :: Audio/Video: Playback, defect)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
mState can be changed by StateCallback() on another thread. It is usually racy to query the pause state and then decide what to do because mState could change in between the calls.
AudioStream should figure out what to do based on its state. This is especially true for Pause() and Resume().
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jwwang
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/57140/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/57140/
Attachment #8759054 -
Flags: review?(kinetik)
Comment 2•9 years ago
|
||
Comment on attachment 8759054 [details]
MozReview Request: Bug 1277175 - Remove AudioStream::IsPaused(). r=kinetik.
https://reviewboard.mozilla.org/r/57140/#review53888
Attachment #8759054 -
Flags: review?(kinetik) → review+
Assignee | ||
Comment 3•9 years ago
|
||
Thanks!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/71581f487d7c
Remove AudioStream::IsPaused(). r=kinetik.
Comment 5•9 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in
before you can comment on or make changes to this bug.
Description
•