Closed
Bug 873553
Opened 12 years ago
Closed 11 years ago
Enable OfflineAudioContext to run at arbitrary sampling rates
Categories
(Core :: Web Audio, defect)
Tracking
()
RESOLVED
FIXED
mozilla24
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(11 files)
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
roc
:
review+
|
Details | Diff | Splinter Review |
Follow-up from bug 836599. Currently, our OfflineAudioContext can only run at 48KHz.
Assignee | ||
Comment 2•12 years ago
|
||
Attachment #752468 -
Flags: review?(roc)
Assignee | ||
Comment 3•12 years ago
|
||
Attachment #752469 -
Flags: review?(roc)
Assignee | ||
Comment 4•12 years ago
|
||
Attachment #752470 -
Flags: review?(roc)
Assignee | ||
Comment 5•12 years ago
|
||
Attachment #752473 -
Flags: review?(roc)
Assignee | ||
Comment 6•12 years ago
|
||
Attachment #752474 -
Flags: review?(roc)
Assignee | ||
Comment 7•12 years ago
|
||
Attachment #752475 -
Flags: review?(roc)
Assignee | ||
Comment 8•12 years ago
|
||
Attachment #752476 -
Flags: review?(roc)
Assignee | ||
Comment 9•12 years ago
|
||
Attachment #752477 -
Flags: review?(roc)
Assignee | ||
Comment 10•12 years ago
|
||
Attachment #752478 -
Flags: review?(roc)
Assignee | ||
Comment 11•12 years ago
|
||
Attachment #752479 -
Flags: review?(roc)
Assignee | ||
Comment 12•12 years ago
|
||
Assignee | ||
Comment 13•12 years ago
|
||
The try server is loving this stuff! \o/
Attachment #752467 -
Flags: review?(roc) → review+
Comment on attachment 752468 [details] [diff] [review]
Part 2: Teach each AudioNodeStream about its sampling rate, and store the value inside AudioContext
Review of attachment 752468 [details] [diff] [review]:
-----------------------------------------------------------------
::: content/media/MediaStreamGraph.cpp
@@ +989,5 @@
> + AudioNodeStream* n = mStreams[i]->AsAudioNodeStream();
> + if (n) {
> + // We know that the rest of the streams will run at the same rate.
> + sampleRate = n->SampleRate();
> + break;
I think we should store this in the graph rather than recomputing it here.
Can we avoid having to store it in all the AudioNodeStreams then?
Assignee | ||
Comment 15•12 years ago
|
||
(In reply to comment #14)
> Comment on attachment 752468 [details] [diff] [review]
> --> https://bugzilla.mozilla.org/attachment.cgi?id=752468
> Part 2: Teach each AudioNodeStream about its sampling rate, and store the value
> inside AudioContext
>
> Review of attachment 752468 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> ::: content/media/MediaStreamGraph.cpp
> @@ +989,5 @@
> > + AudioNodeStream* n = mStreams[i]->AsAudioNodeStream();
> > + if (n) {
> > + // We know that the rest of the streams will run at the same rate.
> > + sampleRate = n->SampleRate();
> > + break;
>
> I think we should store this in the graph rather than recomputing it here.
>
> Can we avoid having to store it in all the AudioNodeStreams then?
I thought about doing that, I'm not sure if it's safe to keep the assumption that all streams will run at the same sampling rate forever, but I would like to experiment with MediaStreamAudioSource/DestinationNode when they land a bit. For now I think it's more conservative to store them on AudioNodeStreams, so I'd like to proceed with this right now, and later on switch to storeing them in the graph if we decide that makes sense.
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(roc)
Attachment #752468 -
Flags: review?(roc) → review+
Attachment #752469 -
Flags: review?(roc) → review+
Attachment #752470 -
Flags: review?(roc) → review+
Attachment #752473 -
Flags: review?(roc) → review+
Attachment #752474 -
Flags: review?(roc) → review+
Attachment #752475 -
Flags: review?(roc) → review+
Attachment #752476 -
Flags: review?(roc) → review+
Attachment #752477 -
Flags: review?(roc) → review+
Attachment #752478 -
Flags: review?(roc) → review+
Attachment #752479 -
Flags: review?(roc) → review+
Assignee | ||
Comment 16•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/ef11b35e45f1
https://hg.mozilla.org/integration/mozilla-inbound/rev/738b82a25037
https://hg.mozilla.org/integration/mozilla-inbound/rev/34b39b3d4773
https://hg.mozilla.org/integration/mozilla-inbound/rev/59f25c1db414
https://hg.mozilla.org/integration/mozilla-inbound/rev/7efdd15be9c7
https://hg.mozilla.org/integration/mozilla-inbound/rev/d34c29fe4eda
https://hg.mozilla.org/integration/mozilla-inbound/rev/4c425085391c
https://hg.mozilla.org/integration/mozilla-inbound/rev/a10e7a43eebf
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d624598cc17
https://hg.mozilla.org/integration/mozilla-inbound/rev/976545bf713e
https://hg.mozilla.org/integration/mozilla-inbound/rev/670d867ff3ba
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(roc)
Comment 17•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/ef11b35e45f1
https://hg.mozilla.org/mozilla-central/rev/738b82a25037
https://hg.mozilla.org/mozilla-central/rev/34b39b3d4773
https://hg.mozilla.org/mozilla-central/rev/59f25c1db414
https://hg.mozilla.org/mozilla-central/rev/7efdd15be9c7
https://hg.mozilla.org/mozilla-central/rev/d34c29fe4eda
https://hg.mozilla.org/mozilla-central/rev/4c425085391c
https://hg.mozilla.org/mozilla-central/rev/a10e7a43eebf
https://hg.mozilla.org/mozilla-central/rev/0d624598cc17
https://hg.mozilla.org/mozilla-central/rev/976545bf713e
https://hg.mozilla.org/mozilla-central/rev/670d867ff3ba
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla24
Assignee | ||
Comment 18•11 years ago
|
||
Mass moving Web Audio bugs to the Web Audio component. Filter on duckityduck.
Component: Video/Audio → Web Audio
You need to log in
before you can comment on or make changes to this bug.
Description
•