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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/BaseAudioContext.h

Issue 2807673002: createPeriodicWave parameters are sequence<float> (Closed)
Patch Set: Rebase Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, Google Inc. All rights reserved. 2 * Copyright (C) 2010, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 size_t number_of_output_channels, 213 size_t number_of_output_channels,
214 ExceptionState&); 214 ExceptionState&);
215 StereoPannerNode* createStereoPanner(ExceptionState&); 215 StereoPannerNode* createStereoPanner(ExceptionState&);
216 ChannelSplitterNode* createChannelSplitter(ExceptionState&); 216 ChannelSplitterNode* createChannelSplitter(ExceptionState&);
217 ChannelSplitterNode* createChannelSplitter(size_t number_of_outputs, 217 ChannelSplitterNode* createChannelSplitter(size_t number_of_outputs,
218 ExceptionState&); 218 ExceptionState&);
219 ChannelMergerNode* createChannelMerger(ExceptionState&); 219 ChannelMergerNode* createChannelMerger(ExceptionState&);
220 ChannelMergerNode* createChannelMerger(size_t number_of_inputs, 220 ChannelMergerNode* createChannelMerger(size_t number_of_inputs,
221 ExceptionState&); 221 ExceptionState&);
222 OscillatorNode* createOscillator(ExceptionState&); 222 OscillatorNode* createOscillator(ExceptionState&);
223 PeriodicWave* createPeriodicWave(DOMFloat32Array* real, 223 PeriodicWave* createPeriodicWave(const Vector<float>& real,
224 DOMFloat32Array* imag, 224 const Vector<float>& imag,
225 ExceptionState&); 225 ExceptionState&);
226 PeriodicWave* createPeriodicWave(DOMFloat32Array* real, 226 PeriodicWave* createPeriodicWave(const Vector<float>& real,
227 DOMFloat32Array* imag, 227 const Vector<float>& imag,
228 const PeriodicWaveConstraints&, 228 const PeriodicWaveConstraints&,
229 ExceptionState&); 229 ExceptionState&);
230 230
231 // Suspend 231 // Suspend
232 virtual ScriptPromise suspendContext(ScriptState*) = 0; 232 virtual ScriptPromise suspendContext(ScriptState*) = 0;
233 233
234 // Resume 234 // Resume
235 virtual ScriptPromise resumeContext(ScriptState*) = 0; 235 virtual ScriptPromise resumeContext(ScriptState*) = 0;
236 236
237 // IIRFilter 237 // IIRFilter
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 // It is somewhat arbitrary and could be increased if necessary. 479 // It is somewhat arbitrary and could be increased if necessary.
480 enum { kMaxNumberOfChannels = 32 }; 480 enum { kMaxNumberOfChannels = 32 };
481 481
482 Optional<AutoplayStatus> autoplay_status_; 482 Optional<AutoplayStatus> autoplay_status_;
483 AudioIOPosition output_position_; 483 AudioIOPosition output_position_;
484 }; 484 };
485 485
486 } // namespace blink 486 } // namespace blink
487 487
488 #endif // BaseAudioContext_h 488 #endif // BaseAudioContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698