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

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

Issue 2793593002: AudioWorklet prototype
Patch Set: Rebase after ThreadedWorkletMessaginProxy change Created 3 years, 6 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 kParamTypeAudioListenerPositionX, 76 kParamTypeAudioListenerPositionX,
77 kParamTypeAudioListenerPositionY, 77 kParamTypeAudioListenerPositionY,
78 kParamTypeAudioListenerPositionZ, 78 kParamTypeAudioListenerPositionZ,
79 kParamTypeAudioListenerForwardX, 79 kParamTypeAudioListenerForwardX,
80 kParamTypeAudioListenerForwardY, 80 kParamTypeAudioListenerForwardY,
81 kParamTypeAudioListenerForwardZ, 81 kParamTypeAudioListenerForwardZ,
82 kParamTypeAudioListenerUpX, 82 kParamTypeAudioListenerUpX,
83 kParamTypeAudioListenerUpY, 83 kParamTypeAudioListenerUpY,
84 kParamTypeAudioListenerUpZ, 84 kParamTypeAudioListenerUpZ,
85 kParamTypeConstantSourceValue, 85 kParamTypeConstantSourceValue,
86 kParamTypeAudioWorkletNode
86 }; 87 };
87 88
88 // AudioParamHandler is an actual implementation of web-exposed AudioParam 89 // AudioParamHandler is an actual implementation of web-exposed AudioParam
89 // interface. Each of AudioParam object creates and owns an AudioParamHandler, 90 // interface. Each of AudioParam object creates and owns an AudioParamHandler,
90 // and it is responsible for all of AudioParam tasks. An AudioParamHandler 91 // and it is responsible for all of AudioParam tasks. An AudioParamHandler
91 // object is owned by the originator AudioParam object, and some audio 92 // object is owned by the originator AudioParam object, and some audio
92 // processing classes have additional references. An AudioParamHandler can 93 // processing classes have additional references. An AudioParamHandler can
93 // outlive the owner AudioParam, and it never dies before the owner AudioParam 94 // outlive the owner AudioParam, and it never dies before the owner AudioParam
94 // dies. 95 // dies.
95 class AudioParamHandler final : public ThreadSafeRefCounted<AudioParamHandler>, 96 class AudioParamHandler final : public ThreadSafeRefCounted<AudioParamHandler>,
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 264
264 void WarnIfOutsideRange(const String& param_methd, float value); 265 void WarnIfOutsideRange(const String& param_methd, float value);
265 266
266 RefPtr<AudioParamHandler> handler_; 267 RefPtr<AudioParamHandler> handler_;
267 Member<BaseAudioContext> context_; 268 Member<BaseAudioContext> context_;
268 }; 269 };
269 270
270 } // namespace blink 271 } // namespace blink
271 272
272 #endif // AudioParam_h 273 #endif // AudioParam_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698