Index: modules/webaudio/OfflineAudioContext.idl |
diff --git a/modules/webaudio/OfflineAudioContext.idl b/modules/webaudio/OfflineAudioContext.idl |
index 4c225d938f979818b2ae117fab4f2cf87b37c8e7..1f91f8f50898f3499d8c2a850fb1c73d5c04fa14 100644 |
--- a/modules/webaudio/OfflineAudioContext.idl |
+++ b/modules/webaudio/OfflineAudioContext.idl |
@@ -23,7 +23,6 @@ |
*/ |
[ |
- Conditional=WEB_AUDIO, |
Constructor(unsigned long numberOfChannels, unsigned long numberOfFrames, float sampleRate), |
ConstructorCallWith=ExecutionContext, |
RaisesException=Constructor, |
@@ -31,5 +30,7 @@ |
] interface OfflineAudioContext : AudioContext { |
// Offline rendering |
attribute EventHandler oncomplete; |
- [CallWith=ScriptState,ImplementedAs=startOfflineRendering] Promise<AudioBuffer> startRendering(); |
+ [CallWith=ScriptState, ImplementedAs=startOfflineRendering, MeasureAs=OfflineAudioContextStartRendering] Promise<AudioBuffer> startRendering(); |
+ [CallWith=ScriptState, ImplementedAs=suspendContext, MeasureAs=OfflineAudioContextSuspend] Promise<void> suspend(double suspendTime); |
+ [CallWith=ScriptState, ImplementedAs=resumeContext, MeasureAs=OfflineAudioContextResume] Promise<void> resume(); |
}; |