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

Unified Diff: third_party/WebKit/Source/platform/audio/EqualPowerPanner.h

Issue 2170973002: HRTF panner should handle the case of no loaded HRTF database (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/audio/EqualPowerPanner.h
diff --git a/third_party/WebKit/Source/platform/audio/EqualPowerPanner.h b/third_party/WebKit/Source/platform/audio/EqualPowerPanner.h
index d42631673f9288b5b8cfc49db35d69ad4db94abc..19e70c3222ca0ff7230f58f9a3c7fe7f95f90120 100644
--- a/third_party/WebKit/Source/platform/audio/EqualPowerPanner.h
+++ b/third_party/WebKit/Source/platform/audio/EqualPowerPanner.h
@@ -35,8 +35,8 @@ class PLATFORM_EXPORT EqualPowerPanner final : public Panner {
public:
EqualPowerPanner(float sampleRate);
- void pan(double azimuth, double elevation, const AudioBus* inputBus, AudioBus* outputBuf, size_t framesToProcess) override;
- void panWithSampleAccurateValues(double* azimuth, double* elevation, const AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess) override;
+ void pan(double azimuth, double elevation, const AudioBus* inputBus, AudioBus* outputBuf, size_t framesToProcess, AudioBus::ChannelInterpretation) override;
+ void panWithSampleAccurateValues(double* azimuth, double* elevation, const AudioBus* inputBus, AudioBus* outputBus, size_t framesToProcess, AudioBus::ChannelInterpretation) override;
void reset() override { }

Powered by Google App Engine
This is Rietveld 408576698