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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/PannerNode.idl

Issue 2356223002: Remove WebAudio doppler effect API surface (already no-ops) (Closed)
Patch Set: rebase Created 4 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
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 26 matching lines...) Expand all
37 [ 37 [
38 Constructor(BaseAudioContext context, optional PannerOptions options), 38 Constructor(BaseAudioContext context, optional PannerOptions options),
39 RaisesException=Constructor, 39 RaisesException=Constructor,
40 ] interface PannerNode : AudioNode { 40 ] interface PannerNode : AudioNode {
41 // Default model for stereo is equalpower. 41 // Default model for stereo is equalpower.
42 attribute PanningModelType panningModel; 42 attribute PanningModelType panningModel;
43 43
44 // Uses a 3D cartesian coordinate system 44 // Uses a 3D cartesian coordinate system
45 [MeasureAs=PannerNodeSetPosition] void setPosition(float x, float y, float z ); 45 [MeasureAs=PannerNodeSetPosition] void setPosition(float x, float y, float z );
46 [MeasureAs=PannerNodeSetOrientation] void setOrientation(float x, float y, f loat z); 46 [MeasureAs=PannerNodeSetOrientation] void setOrientation(float x, float y, f loat z);
47 [DeprecateAs=PannerNodeSetVelocity] void setVelocity(float x, float y, float z);
48 47
49 // Uses a 3D cartesian coordinate system 48 // Uses a 3D cartesian coordinate system
50 readonly attribute AudioParam positionX; 49 readonly attribute AudioParam positionX;
51 readonly attribute AudioParam positionY; 50 readonly attribute AudioParam positionY;
52 readonly attribute AudioParam positionZ; 51 readonly attribute AudioParam positionZ;
53 52
54 readonly attribute AudioParam orientationX; 53 readonly attribute AudioParam orientationX;
55 readonly attribute AudioParam orientationY; 54 readonly attribute AudioParam orientationY;
56 readonly attribute AudioParam orientationZ; 55 readonly attribute AudioParam orientationZ;
57 56
58 // Distance model 57 // Distance model
59 attribute DistanceModelType distanceModel; 58 attribute DistanceModelType distanceModel;
60 59
61 attribute double refDistance; 60 attribute double refDistance;
62 attribute double maxDistance; 61 attribute double maxDistance;
63 attribute double rolloffFactor; 62 attribute double rolloffFactor;
64 63
65 // Directional sound cone 64 // Directional sound cone
66 attribute double coneInnerAngle; 65 attribute double coneInnerAngle;
67 attribute double coneOuterAngle; 66 attribute double coneOuterAngle;
68 attribute double coneOuterGain; 67 attribute double coneOuterGain;
69 }; 68 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698