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

Side by Side Diff: modules/webaudio/AnalyserNode.idl

Issue 540533002: Roll IDL to Dartium37 (r181268) (Closed) Base URL: https://dart.googlecode.com/svn/third_party/WebCore
Patch Set: Created 6 years, 3 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
« no previous file with comments | « modules/vibration/NavigatorVibration.idl ('k') | modules/webaudio/AudioBuffer.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11 matching lines...) Expand all
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 [ 25 [
26 Conditional=WEB_AUDIO 26 Conditional=WEB_AUDIO
27 ] interface AnalyserNode : AudioNode { 27 ] interface AnalyserNode : AudioNode {
28 [RaisesException=Setter] attribute unsigned long fftSize; 28 [RaisesException=Setter] attribute unsigned long fftSize;
29 readonly attribute unsigned long frequencyBinCount; 29 readonly attribute unsigned long frequencyBinCount;
30 30
31 // minDecibels / maxDecibels represent the range to scale the FFT analysis d ata for conversion to unsigned byte values. 31 // minDecibels / maxDecibels represent the range to scale the FFT analysis d ata for conversion to unsigned byte values.
32 [RaisesException=Setter] attribute float minDecibels; 32 [RaisesException=Setter] attribute double minDecibels;
33 [RaisesException=Setter] attribute float maxDecibels; 33 [RaisesException=Setter] attribute double maxDecibels;
34 34
35 // A value from 0.0 -> 1.0 where 0.0 represents no time averaging with the l ast analysis frame. 35 // A value from 0.0 -> 1.0 where 0.0 represents no time averaging with the l ast analysis frame.
36 [RaisesException=Setter] attribute float smoothingTimeConstant; 36 [RaisesException=Setter] attribute double smoothingTimeConstant;
37 37
38 // Copies the current frequency data into the passed array. 38 // Copies the current frequency data into the passed array.
39 // If the array has fewer elements than the frequencyBinCount, the excess el ements will be dropped. 39 // If the array has fewer elements than the frequencyBinCount, the excess el ements will be dropped.
40 void getFloatFrequencyData(Float32Array array); 40 void getFloatFrequencyData(Float32Array array);
41 void getByteFrequencyData(Uint8Array array); 41 void getByteFrequencyData(Uint8Array array);
42 42
43 // Real-time waveform data 43 // Real-time waveform data
44 void getFloatTimeDomainData(Float32Array array);
44 void getByteTimeDomainData(Uint8Array array); 45 void getByteTimeDomainData(Uint8Array array);
45 }; 46 };
OLDNEW
« no previous file with comments | « modules/vibration/NavigatorVibration.idl ('k') | modules/webaudio/AudioBuffer.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698