Closed
Bug 727697
Opened 12 years ago
Closed 11 years ago
Add a facility to capture played audio to WAV files for debugging
Categories
(Core :: Audio/Video, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: roc, Assigned: roc)
References
Details
Attachments
(1 file)
6.09 KB,
patch
|
kinetik
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
I found this tremendously useful while debugging, but this may not be the right long-term solution especially if/when we move away from nsBufferedAudioStream to use libcubeb directly. In which case we might want something at the libcubeb level, or directly in the GraphManager. Whatever you think.
Attachment #597665 -
Flags: review?
Assignee | ||
Updated•12 years ago
|
Attachment #597665 -
Flags: review? → review?(kinetik)
Comment 2•12 years ago
|
||
Comment on attachment 597665 [details] [diff] [review] possible patch Doing disk I/O from this callback seems like a very bad idea. Do you need to be able to play the audio to real hardware and save it to disk at the same time? If not, adding a Wave/raw PCM backend to cubeb would be once approach. If you need playback and write out at the same time, the disk I/O needs to be moved out of the callback.
Attachment #597665 -
Flags: review?(kinetik) → review-
Assignee | ||
Comment 3•12 years ago
|
||
It works for me while I'm debugging. There's no real need to land this I guess.
Updated•11 years ago
|
Attachment #597665 -
Flags: review- → review+
Comment 5•11 years ago
|
||
Ehsan wants this too, so let's just land it. My earlier objections were too fussy for something debug-only.
Comment 6•11 years ago
|
||
Rebased and landed: https://hg.mozilla.org/integration/mozilla-inbound/rev/bdf9d4faddd9
Comment 7•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/bdf9d4faddd9
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•