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

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

Issue 606653006: bindings: Adds DOMArrayBuffer, etc. as thin wrappers for ArrayBuffer, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 2 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 | « Source/modules/webaudio/AudioContext.cpp ('k') | Source/modules/webaudio/AudioParam.h » ('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 * 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 14 matching lines...) Expand all
25 25
26 [ 26 [
27 GarbageCollected, 27 GarbageCollected,
28 ActiveDOMObject, 28 ActiveDOMObject,
29 Conditional=WEB_AUDIO, 29 Conditional=WEB_AUDIO,
30 Constructor, 30 Constructor,
31 ConstructorCallWith=Document, 31 ConstructorCallWith=Document,
32 NoInterfaceObject, 32 NoInterfaceObject,
33 RaisesException=Constructor, 33 RaisesException=Constructor,
34 ] interface AudioContext : EventTarget { 34 ] interface AudioContext : EventTarget {
35
36 // All rendered audio ultimately connects to destination, which represents t he audio hardware. 35 // All rendered audio ultimately connects to destination, which represents t he audio hardware.
37 readonly attribute AudioDestinationNode destination; 36 readonly attribute AudioDestinationNode destination;
38 37
39 // All scheduled times are relative to this time in seconds. 38 // All scheduled times are relative to this time in seconds.
40 readonly attribute double currentTime; 39 readonly attribute double currentTime;
41 40
42 // All AudioNodes in the context run at this sample-rate (sample-frames per second). 41 // All AudioNodes in the context run at this sample-rate (sample-frames per second).
43 readonly attribute float sampleRate; 42 readonly attribute float sampleRate;
44 43
45 // All panning is relative to this listener. 44 // All panning is relative to this listener.
(...skipping 27 matching lines...) Expand all
73 72
74 // Channel splitting and merging 73 // Channel splitting and merging
75 [RaisesException] ChannelSplitterNode createChannelSplitter(optional unsigne d long numberOfOutputs); 74 [RaisesException] ChannelSplitterNode createChannelSplitter(optional unsigne d long numberOfOutputs);
76 [RaisesException] ChannelMergerNode createChannelMerger(optional unsigned lo ng numberOfInputs); 75 [RaisesException] ChannelMergerNode createChannelMerger(optional unsigned lo ng numberOfInputs);
77 76
78 // Offline rendering 77 // Offline rendering
79 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsign ed long numberOfFrames, float sampleRate); 78 // void prepareOfflineBufferRendering(unsigned long numberOfChannels, unsign ed long numberOfFrames, float sampleRate);
80 attribute EventHandler oncomplete; 79 attribute EventHandler oncomplete;
81 void startRendering(); 80 void startRendering();
82 }; 81 };
OLDNEW
« no previous file with comments | « Source/modules/webaudio/AudioContext.cpp ('k') | Source/modules/webaudio/AudioParam.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698