Closed
Bug 902328
Opened 11 years ago
Closed 9 years ago
Is AudioStream thread-safe?
Categories
(Core :: Audio/Video: MediaStreamGraph, defect, P2)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jwwang, Assigned: padenot)
References
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36
Steps to reproduce:
I am tracing code under content/media to learn the global picture of media stream processing and find some interesting facts.
AudioClock::GetPosition() reads mOutRate on state machine thread while AudioClock::SetPlaybackRate() writes to mOutRate on audio thread. How is it thread-safe for no explicit lock is used?
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → paul
Updated•9 years ago
|
Component: Audio/Video → Audio/Video: MSG/cubeb/GMP
Assignee | ||
Comment 3•9 years ago
|
||
I think it's been fixed, and in any case, we have plans to remove AudioStream.cpp.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(padenot)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•