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

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

Issue 20300002: Fix trailing whitespace in .cpp, .h, and .idl files (ex. Source/core) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 25 matching lines...) Expand all
36 readonly attribute float currentTime; 36 readonly attribute float currentTime;
37 37
38 // All AudioNodes in the context run at this sample-rate (sample-frames per second). 38 // All AudioNodes in the context run at this sample-rate (sample-frames per second).
39 readonly attribute float sampleRate; 39 readonly attribute float sampleRate;
40 40
41 // All panning is relative to this listener. 41 // All panning is relative to this listener.
42 readonly attribute AudioListener listener; 42 readonly attribute AudioListener listener;
43 43
44 // Number of AudioBufferSourceNodes that are currently playing. 44 // Number of AudioBufferSourceNodes that are currently playing.
45 readonly attribute unsigned long activeSourceCount; 45 readonly attribute unsigned long activeSourceCount;
46 46
47 [RaisesException] AudioBuffer createBuffer(unsigned long numberOfChannels, u nsigned long numberOfFrames, float sampleRate); 47 [RaisesException] AudioBuffer createBuffer(unsigned long numberOfChannels, u nsigned long numberOfFrames, float sampleRate);
48 [RaisesException] AudioBuffer createBuffer(ArrayBuffer? buffer, boolean mixT oMono); 48 [RaisesException] AudioBuffer createBuffer(ArrayBuffer? buffer, boolean mixT oMono);
49 49
50 // Asynchronous audio file data decoding. 50 // Asynchronous audio file data decoding.
51 [RaisesException] void decodeAudioData(ArrayBuffer audioData, AudioBufferCal lback successCallback, optional AudioBufferCallback errorCallback); 51 [RaisesException] void decodeAudioData(ArrayBuffer audioData, AudioBufferCal lback successCallback, optional AudioBufferCallback errorCallback);
52 52
53 // Sources 53 // Sources
54 AudioBufferSourceNode createBufferSource(); 54 AudioBufferSourceNode createBufferSource();
55 55
56 [RaisesException] MediaElementAudioSourceNode createMediaElementSource(HTMLM ediaElement mediaElement); 56 [RaisesException] MediaElementAudioSourceNode createMediaElementSource(HTMLM ediaElement mediaElement);
(...skipping 22 matching lines...) Expand all
79 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsign ed long numberOfFrames, float sampleRate); 79 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsign ed long numberOfFrames, float sampleRate);
80 attribute EventListener oncomplete; 80 attribute EventListener oncomplete;
81 void startRendering(); 81 void startRendering();
82 82
83 [MeasureAs=LegacyWebAudio, ImplementedAs=createGain] GainNode createGainNode (); 83 [MeasureAs=LegacyWebAudio, ImplementedAs=createGain] GainNode createGainNode ();
84 [MeasureAs=LegacyWebAudio, ImplementedAs=createDelay, RaisesException] Delay Node createDelayNode(optional double maxDelayTime); 84 [MeasureAs=LegacyWebAudio, ImplementedAs=createDelay, RaisesException] Delay Node createDelayNode(optional double maxDelayTime);
85 85
86 [MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor, RaisesExcept ion] ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChann els); 86 [MeasureAs=LegacyWebAudio, ImplementedAs=createScriptProcessor, RaisesExcept ion] ScriptProcessorNode createJavaScriptNode(unsigned long bufferSize, optional unsigned long numberOfInputChannels, optional unsigned long numberOfOutputChann els);
87 87
88 }; 88 };
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioContext.cpp ('k') | Source/modules/webaudio/AudioDestinationNode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698