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

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

Issue 2134813002: Implement ConstantSourceNode (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 ParamTypePannerOrientationZ, 74 ParamTypePannerOrientationZ,
75 ParamTypeAudioListenerPositionX, 75 ParamTypeAudioListenerPositionX,
76 ParamTypeAudioListenerPositionY, 76 ParamTypeAudioListenerPositionY,
77 ParamTypeAudioListenerPositionZ, 77 ParamTypeAudioListenerPositionZ,
78 ParamTypeAudioListenerForwardX, 78 ParamTypeAudioListenerForwardX,
79 ParamTypeAudioListenerForwardY, 79 ParamTypeAudioListenerForwardY,
80 ParamTypeAudioListenerForwardZ, 80 ParamTypeAudioListenerForwardZ,
81 ParamTypeAudioListenerUpX, 81 ParamTypeAudioListenerUpX,
82 ParamTypeAudioListenerUpY, 82 ParamTypeAudioListenerUpY,
83 ParamTypeAudioListenerUpZ, 83 ParamTypeAudioListenerUpZ,
84 ParamTypeConstantSourceValue,
84 }; 85 };
85 86
86 // AudioParamHandler is an actual implementation of web-exposed AudioParam 87 // AudioParamHandler is an actual implementation of web-exposed AudioParam
87 // interface. Each of AudioParam object creates and owns an AudioParamHandler, 88 // interface. Each of AudioParam object creates and owns an AudioParamHandler,
88 // and it is responsible for all of AudioParam tasks. An AudioParamHandler 89 // and it is responsible for all of AudioParam tasks. An AudioParamHandler
89 // object is owned by the originator AudioParam object, and some audio 90 // object is owned by the originator AudioParam object, and some audio
90 // processing classes have additional references. An AudioParamHandler can 91 // processing classes have additional references. An AudioParamHandler can
91 // outlive the owner AudioParam, and it never dies before the owner AudioParam 92 // outlive the owner AudioParam, and it never dies before the owner AudioParam
92 // dies. 93 // dies.
93 class AudioParamHandler final : public ThreadSafeRefCounted<AudioParamHandler>, 94 class AudioParamHandler final : public ThreadSafeRefCounted<AudioParamHandler>,
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
260 261
261 void warnIfOutsideRange(const String& paramMethd, float value); 262 void warnIfOutsideRange(const String& paramMethd, float value);
262 263
263 RefPtr<AudioParamHandler> m_handler; 264 RefPtr<AudioParamHandler> m_handler;
264 Member<BaseAudioContext> m_context; 265 Member<BaseAudioContext> m_context;
265 }; 266 };
266 267
267 } // namespace blink 268 } // namespace blink
268 269
269 #endif // AudioParam_h 270 #endif // AudioParam_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/webaudio/AudioNode.h ('k') | third_party/WebKit/Source/modules/webaudio/AudioParam.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698