Commit 1bf6fe2f authored by Jeremy Roman's avatar Jeremy Roman Committed by Chromium LUCI CQ

audio: Remove unused field Panner::panning_model_.

Change-Id: I53d62db14db0ff6908726c9fc9e61492f9cb1276
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2561751
Auto-Submit: Jeremy Roman <jbroman@chromium.org>
Reviewed-by: default avatarRaymond Toy <rtoy@chromium.org>
Commit-Queue: Raymond Toy <rtoy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#831899}
parent af445e9f
...@@ -33,8 +33,7 @@ ...@@ -33,8 +33,7 @@
namespace blink { namespace blink {
EqualPowerPanner::EqualPowerPanner(float sample_rate) EqualPowerPanner::EqualPowerPanner(float sample_rate) {}
: Panner(PanningModel::kEqualPower) {}
void EqualPowerPanner::Pan(double azimuth, void EqualPowerPanner::Pan(double azimuth,
double /*elevation*/, double /*elevation*/,
......
...@@ -42,8 +42,7 @@ const double kMaxDelayTimeSeconds = 0.002; ...@@ -42,8 +42,7 @@ const double kMaxDelayTimeSeconds = 0.002;
const int kUninitializedAzimuth = -1; const int kUninitializedAzimuth = -1;
HRTFPanner::HRTFPanner(float sample_rate, HRTFDatabaseLoader* database_loader) HRTFPanner::HRTFPanner(float sample_rate, HRTFDatabaseLoader* database_loader)
: Panner(PanningModel::kHRTF), : database_loader_(database_loader),
database_loader_(database_loader),
sample_rate_(sample_rate), sample_rate_(sample_rate),
crossfade_selection_(kCrossfadeSelection1), crossfade_selection_(kCrossfadeSelection1),
azimuth_index1_(kUninitializedAzimuth), azimuth_index1_(kUninitializedAzimuth),
......
...@@ -80,9 +80,7 @@ class PLATFORM_EXPORT Panner { ...@@ -80,9 +80,7 @@ class PLATFORM_EXPORT Panner {
virtual bool RequiresTailProcessing() const = 0; virtual bool RequiresTailProcessing() const = 0;
protected: protected:
explicit Panner(PanningModel model) : panning_model_(model) {} Panner() = default;
PanningModel panning_model_;
private: private:
DISALLOW_COPY_AND_ASSIGN(Panner); DISALLOW_COPY_AND_ASSIGN(Panner);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment