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

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

Issue 2839063003: Implement tail processing for AudioNodes (Closed)
Patch Set: Make declaration order consistent Created 3 years, 5 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 109
110 double ConeOuterGain() const { return cone_effect_.OuterGain(); } 110 double ConeOuterGain() const { return cone_effect_.OuterGain(); }
111 void SetConeOuterGain(double); 111 void SetConeOuterGain(double);
112 112
113 void MarkPannerAsDirty(unsigned); 113 void MarkPannerAsDirty(unsigned);
114 114
115 double TailTime() const override { return panner_ ? panner_->TailTime() : 0; } 115 double TailTime() const override { return panner_ ? panner_->TailTime() : 0; }
116 double LatencyTime() const override { 116 double LatencyTime() const override {
117 return panner_ ? panner_->LatencyTime() : 0; 117 return panner_ ? panner_->LatencyTime() : 0;
118 } 118 }
119 bool RequiresTailProcessing() const override;
119 120
120 void SetChannelCount(unsigned long, ExceptionState&) final; 121 void SetChannelCount(unsigned long, ExceptionState&) final;
121 void SetChannelCountMode(const String&, ExceptionState&) final; 122 void SetChannelCountMode(const String&, ExceptionState&) final;
122 123
123 private: 124 private:
124 PannerHandler(AudioNode&, 125 PannerHandler(AudioNode&,
125 float sample_rate, 126 float sample_rate,
126 AudioParamHandler& position_x, 127 AudioParamHandler& position_x,
127 AudioParamHandler& position_y, 128 AudioParamHandler& position_y,
128 AudioParamHandler& position_z, 129 AudioParamHandler& position_z,
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 Member<AudioParam> position_z_; 253 Member<AudioParam> position_z_;
253 254
254 Member<AudioParam> orientation_x_; 255 Member<AudioParam> orientation_x_;
255 Member<AudioParam> orientation_y_; 256 Member<AudioParam> orientation_y_;
256 Member<AudioParam> orientation_z_; 257 Member<AudioParam> orientation_z_;
257 }; 258 };
258 259
259 } // namespace blink 260 } // namespace blink
260 261
261 #endif // PannerNode_h 262 #endif // PannerNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698