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

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

Issue 2807673002: createPeriodicWave parameters are sequence<float> (Closed)
Patch Set: Rebaseline test 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 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 size_t number_of_output_channels, 214 size_t number_of_output_channels,
215 ExceptionState&); 215 ExceptionState&);
216 StereoPannerNode* createStereoPanner(ExceptionState&); 216 StereoPannerNode* createStereoPanner(ExceptionState&);
217 ChannelSplitterNode* createChannelSplitter(ExceptionState&); 217 ChannelSplitterNode* createChannelSplitter(ExceptionState&);
218 ChannelSplitterNode* createChannelSplitter(size_t number_of_outputs, 218 ChannelSplitterNode* createChannelSplitter(size_t number_of_outputs,
219 ExceptionState&); 219 ExceptionState&);
220 ChannelMergerNode* createChannelMerger(ExceptionState&); 220 ChannelMergerNode* createChannelMerger(ExceptionState&);
221 ChannelMergerNode* createChannelMerger(size_t number_of_inputs, 221 ChannelMergerNode* createChannelMerger(size_t number_of_inputs,
222 ExceptionState&); 222 ExceptionState&);
223 OscillatorNode* createOscillator(ExceptionState&); 223 OscillatorNode* createOscillator(ExceptionState&);
224 PeriodicWave* createPeriodicWave(NotShared<DOMFloat32Array> real, 224 PeriodicWave* createPeriodicWave(const Vector<float>& real,
225 NotShared<DOMFloat32Array> imag, 225 const Vector<float>& imag,
226 ExceptionState&); 226 ExceptionState&);
227 PeriodicWave* createPeriodicWave(NotShared<DOMFloat32Array> real, 227 PeriodicWave* createPeriodicWave(const Vector<float>& real,
228 NotShared<DOMFloat32Array> imag, 228 const Vector<float>& imag,
229 const PeriodicWaveConstraints&, 229 const PeriodicWaveConstraints&,
230 ExceptionState&); 230 ExceptionState&);
231 231
232 // Suspend 232 // Suspend
233 virtual ScriptPromise suspendContext(ScriptState*) = 0; 233 virtual ScriptPromise suspendContext(ScriptState*) = 0;
234 234
235 // Resume 235 // Resume
236 virtual ScriptPromise resumeContext(ScriptState*) = 0; 236 virtual ScriptPromise resumeContext(ScriptState*) = 0;
237 237
238 // IIRFilter 238 // IIRFilter
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
480 // It is somewhat arbitrary and could be increased if necessary. 480 // It is somewhat arbitrary and could be increased if necessary.
481 enum { kMaxNumberOfChannels = 32 }; 481 enum { kMaxNumberOfChannels = 32 };
482 482
483 Optional<AutoplayStatus> autoplay_status_; 483 Optional<AutoplayStatus> autoplay_status_;
484 AudioIOPosition output_position_; 484 AudioIOPosition output_position_;
485 }; 485 };
486 486
487 } // namespace blink 487 } // namespace blink
488 488
489 #endif // BaseAudioContext_h 489 #endif // BaseAudioContext_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698