Closed Bug 1572627 Opened 5 years ago Closed 5 years ago

Implement AudioWorkletGlobalScope.sampleRate

Categories

(Core :: Web Audio, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: karlt, Assigned: karlt)

References

(Regressed 1 open bug)

Details

Attachments

(4 files)

No description provided.
Assignee: nobody → karlt
Status: NEW → ASSIGNED

so that mProcessedTime can be updated for each block processed.

Depends on D54082

This is similar to [[current frame]] in Web Audio, but is in GraphTime,
not AudioContext-specific time.

Depends on D54083

Pushed by ktomlinson@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f19f757691cf record and use old mProcessedTime in Process() and PlayAudio() r=padenot https://hg.mozilla.org/integration/autoland/rev/e1838026425e update mProcessedTime for each block r=padenot https://hg.mozilla.org/integration/autoland/rev/75a9f4f8b490 expose ProcessedTime() as a graph-global time updated after processing all tracks r=padenot https://hg.mozilla.org/integration/autoland/rev/29ecee490054 implement currentFrame, currentTime, and sampleRate members on AudioWorkletGlobalScope r=padenot
Depends on: 1599356
Blocks: 1473176
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: