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

Side by Side Diff: third_party/WebCore/Modules/webaudio/AudioContext.idl

Issue 10769002: Roll IDL to multivm@683 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix notifications path in fremontcut. Created 8 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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 readonly attribute float sampleRate; 42 readonly attribute float sampleRate;
43 43
44 // All panning is relative to this listener. 44 // All panning is relative to this listener.
45 readonly attribute AudioListener listener; 45 readonly attribute AudioListener listener;
46 46
47 // Number of AudioBufferSourceNodes that are currently playing. 47 // Number of AudioBufferSourceNodes that are currently playing.
48 readonly attribute unsigned long activeSourceCount; 48 readonly attribute unsigned long activeSourceCount;
49 49
50 AudioBuffer createBuffer(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate) 50 AudioBuffer createBuffer(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate)
51 raises(DOMException); 51 raises(DOMException);
52 AudioBuffer createBuffer(in ArrayBuffer buffer, in boolean mixToMono) 52 AudioBuffer createBuffer(in ArrayBuffer? buffer, in boolean mixToMono)
53 raises(DOMException); 53 raises(DOMException);
54 54
55 // Asynchronous audio file data decoding. 55 // Asynchronous audio file data decoding.
56 void decodeAudioData(in ArrayBuffer audioData, in [Callback] AudioBuffer Callback successCallback, in [Optional, Callback] AudioBufferCallback errorCallb ack) 56 void decodeAudioData(in ArrayBuffer audioData, in [Callback] AudioBuffer Callback successCallback, in [Optional, Callback] AudioBufferCallback errorCallb ack)
57 raises(DOMException); 57 raises(DOMException);
58 58
59 // Sources 59 // Sources
60 AudioBufferSourceNode createBufferSource(); 60 AudioBufferSourceNode createBufferSource();
61 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO 61 #if defined(ENABLE_VIDEO) && ENABLE_VIDEO
62 MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement mediaElement) 62 MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement mediaElement)
(...skipping 19 matching lines...) Expand all
82 raises(DOMException); 82 raises(DOMException);
83 AudioChannelMerger createChannelMerger(in [Optional] unsigned long numbe rOfInputs) 83 AudioChannelMerger createChannelMerger(in [Optional] unsigned long numbe rOfInputs)
84 raises(DOMException); 84 raises(DOMException);
85 85
86 // Offline rendering 86 // Offline rendering
87 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate); 87 // void prepareOfflineBufferRendering(in unsigned long numberOfChannels, in unsigned long numberOfFrames, in float sampleRate);
88 attribute EventListener oncomplete; 88 attribute EventListener oncomplete;
89 void startRendering(); 89 void startRendering();
90 }; 90 };
91 } 91 }
OLDNEW
« no previous file with comments | « third_party/WebCore/Modules/vibration/NavigatorVibration.idl ('k') | third_party/WebCore/Modules/webaudio/AudioNode.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698