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

Side by Side Diff: third_party/WebKit/Source/platform/audio/EqualPowerPanner.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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 double* elevation, 46 double* elevation,
47 const AudioBus* input_bus, 47 const AudioBus* input_bus,
48 AudioBus* output_bus, 48 AudioBus* output_bus,
49 size_t frames_to_process, 49 size_t frames_to_process,
50 AudioBus::ChannelInterpretation) override; 50 AudioBus::ChannelInterpretation) override;
51 51
52 void Reset() override {} 52 void Reset() override {}
53 53
54 double TailTime() const override { return 0; } 54 double TailTime() const override { return 0; }
55 double LatencyTime() const override { return 0; } 55 double LatencyTime() const override { return 0; }
56 bool RequiresTailProcessing() const override { return false; }
56 57
57 private: 58 private:
58 void CalculateDesiredGain(double& desired_gain_l, 59 void CalculateDesiredGain(double& desired_gain_l,
59 double& desired_gain_r, 60 double& desired_gain_r,
60 double azimuth, 61 double azimuth,
61 int number_of_channels); 62 int number_of_channels);
62 }; 63 };
63 64
64 } // namespace blink 65 } // namespace blink
65 66
66 #endif // EqualPowerPanner_h 67 #endif // EqualPowerPanner_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698