Closed Bug 1277175 Opened 9 years ago Closed 9 years ago

Remove AudioStream::IsPaused()

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

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: nobody → jwwang
Blocks: 1274160
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+
Thanks!
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: