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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/AudioParam.h

Issue 1820403002: Implement Automations for PannerNode and AutioListener (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments Created 4 years, 7 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 * 7 *
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 ParamTypeBiquadFilterDetune, 55 ParamTypeBiquadFilterDetune,
56 ParamTypeDelayDelayTime, 56 ParamTypeDelayDelayTime,
57 ParamTypeDynamicsCompressorThreshold, 57 ParamTypeDynamicsCompressorThreshold,
58 ParamTypeDynamicsCompressorKnee, 58 ParamTypeDynamicsCompressorKnee,
59 ParamTypeDynamicsCompressorRatio, 59 ParamTypeDynamicsCompressorRatio,
60 ParamTypeDynamicsCompressorAttack, 60 ParamTypeDynamicsCompressorAttack,
61 ParamTypeDynamicsCompressorRelease, 61 ParamTypeDynamicsCompressorRelease,
62 ParamTypeGainGain, 62 ParamTypeGainGain,
63 ParamTypeOscillatorFrequency, 63 ParamTypeOscillatorFrequency,
64 ParamTypeOscillatorDetune, 64 ParamTypeOscillatorDetune,
65 ParamTypeStereoPannerPan 65 ParamTypeStereoPannerPan,
66 ParamTypePannerPositionX,
67 ParamTypePannerPositionY,
68 ParamTypePannerPositionZ,
69 ParamTypePannerOrientationX,
70 ParamTypePannerOrientationY,
71 ParamTypePannerOrientationZ,
72 ParamTypeAudioListenerPositionX,
73 ParamTypeAudioListenerPositionY,
74 ParamTypeAudioListenerPositionZ,
75 ParamTypeAudioListenerForwardX,
76 ParamTypeAudioListenerForwardY,
77 ParamTypeAudioListenerForwardZ,
78 ParamTypeAudioListenerUpX,
79 ParamTypeAudioListenerUpY,
80 ParamTypeAudioListenerUpZ,
66 }; 81 };
67 82
68 // AudioParamHandler is an actual implementation of web-exposed AudioParam 83 // AudioParamHandler is an actual implementation of web-exposed AudioParam
69 // interface. Each of AudioParam object creates and owns an AudioParamHandler, 84 // interface. Each of AudioParam object creates and owns an AudioParamHandler,
70 // and it is responsible for all of AudioParam tasks. An AudioParamHandler 85 // and it is responsible for all of AudioParam tasks. An AudioParamHandler
71 // object is owned by the originator AudioParam object, and some audio 86 // object is owned by the originator AudioParam object, and some audio
72 // processing classes have additional references. An AudioParamHandler can 87 // processing classes have additional references. An AudioParamHandler can
73 // outlive the owner AudioParam, and it never dies before the owner AudioParam 88 // outlive the owner AudioParam, and it never dies before the owner AudioParam
74 // dies. 89 // dies.
75 class AudioParamHandler final : public ThreadSafeRefCounted<AudioParamHandler>, public AudioSummingJunction { 90 class AudioParamHandler final : public ThreadSafeRefCounted<AudioParamHandler>, public AudioSummingJunction {
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 private: 202 private:
188 AudioParam(AbstractAudioContext&, AudioParamType, double defaultValue); 203 AudioParam(AbstractAudioContext&, AudioParamType, double defaultValue);
189 204
190 RefPtr<AudioParamHandler> m_handler; 205 RefPtr<AudioParamHandler> m_handler;
191 Member<AbstractAudioContext> m_context; 206 Member<AbstractAudioContext> m_context;
192 }; 207 };
193 208
194 } // namespace blink 209 } // namespace blink
195 210
196 #endif // AudioParam_h 211 #endif // AudioParam_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698