Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: Source/modules/webaudio/AudioContext.idl

Issue 625363004: Implement suspend/resume for AudioContext (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * Copyright (C) 2011 Apple Inc. All rights reserved. 3 * Copyright (C) 2011 Apple Inc. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions 6 * modification, are permitted provided that the following conditions
7 * are met: 7 * are met:
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 DynamicsCompressorNode createDynamicsCompressor(); 68 DynamicsCompressorNode createDynamicsCompressor();
69 AnalyserNode createAnalyser(); 69 AnalyserNode createAnalyser();
70 [RaisesException] ScriptProcessorNode createScriptProcessor(optional unsigne d long bufferSize, optional unsigned long numberOfInputChannels, optional unsign ed long numberOfOutputChannels); 70 [RaisesException] ScriptProcessorNode createScriptProcessor(optional unsigne d long bufferSize, optional unsigned long numberOfInputChannels, optional unsign ed long numberOfOutputChannels);
71 OscillatorNode createOscillator(); 71 OscillatorNode createOscillator();
72 [RaisesException] PeriodicWave createPeriodicWave(Float32Array real, Float32 Array imag); 72 [RaisesException] PeriodicWave createPeriodicWave(Float32Array real, Float32 Array imag);
73 73
74 // Channel splitting and merging 74 // Channel splitting and merging
75 [RaisesException] ChannelSplitterNode createChannelSplitter(optional unsigne d long numberOfOutputs); 75 [RaisesException] ChannelSplitterNode createChannelSplitter(optional unsigne d long numberOfOutputs);
76 [RaisesException] ChannelMergerNode createChannelMerger(optional unsigned lo ng numberOfInputs); 76 [RaisesException] ChannelMergerNode createChannelMerger(optional unsigned lo ng numberOfInputs);
77 77
78 // Pause/resume
79 [ImplementedAs=suspendContext] void suspend();
80 [CallWith=ScriptState,ImplementedAs=resumeContext] Promise resume();
81
78 // Offline rendering 82 // Offline rendering
79 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsign ed long numberOfFrames, float sampleRate); 83 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsign ed long numberOfFrames, float sampleRate);
80 attribute EventHandler oncomplete; 84 attribute EventHandler oncomplete;
81 void startRendering(); 85 void startRendering();
82 }; 86 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698