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

Unified Diff: Source/platform/audio/DynamicsCompressor.h

Issue 152333003: Remove emphasis/de-emphasis filters from DynamicsCompressor. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add expected result. Created 6 years, 10 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: Source/platform/audio/DynamicsCompressor.h
diff --git a/Source/platform/audio/DynamicsCompressor.h b/Source/platform/audio/DynamicsCompressor.h
index 99269b3e02fa3fc975a6a761e9cac9b7a2a31875..1f9fd703e7cf28750927ec893dbc2e0ec9a22229 100644
--- a/Source/platform/audio/DynamicsCompressor.h
+++ b/Source/platform/audio/DynamicsCompressor.h
@@ -96,20 +96,9 @@ protected:
float m_lastAnchor;
float m_lastFilterStageGain;
- typedef struct {
- ZeroPole filters[4];
- } ZeroPoleFilterPack4;
-
- // Per-channel emphasis filters.
- Vector<OwnPtr<ZeroPoleFilterPack4> > m_preFilterPacks;
- Vector<OwnPtr<ZeroPoleFilterPack4> > m_postFilterPacks;
-
OwnPtr<const float*[]> m_sourceChannels;
OwnPtr<float*[]> m_destinationChannels;
- void setEmphasisStageParameters(unsigned stageIndex, float gain, float normalizedFrequency /* 0 -> 1 */);
- void setEmphasisParameters(float gain, float anchorFreq, float filterStageRatio);
-
// The core compressor.
DynamicsCompressorKernel m_compressor;
};
« no previous file with comments | « LayoutTests/webaudio/dynamicscompressor-simple-expected.txt ('k') | Source/platform/audio/DynamicsCompressor.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698