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

Side by Side Diff: Source/platform/audio/DynamicsCompressorKernel.h

Issue 858663002: Fix template angle bracket syntax in platform (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 11 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
« no previous file with comments | « Source/platform/audio/AudioResampler.h ('k') | Source/platform/audio/HRTFDatabase.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 float m_meteringReleaseK; 83 float m_meteringReleaseK;
84 float m_meteringGain; 84 float m_meteringGain;
85 85
86 // Lookahead section. 86 // Lookahead section.
87 enum { MaxPreDelayFrames = 1024 }; 87 enum { MaxPreDelayFrames = 1024 };
88 enum { MaxPreDelayFramesMask = MaxPreDelayFrames - 1 }; 88 enum { MaxPreDelayFramesMask = MaxPreDelayFrames - 1 };
89 enum { DefaultPreDelayFrames = 256 }; // setPreDelayTime() will override thi s initial value 89 enum { DefaultPreDelayFrames = 256 }; // setPreDelayTime() will override thi s initial value
90 unsigned m_lastPreDelayFrames; 90 unsigned m_lastPreDelayFrames;
91 void setPreDelayTime(float); 91 void setPreDelayTime(float);
92 92
93 Vector<OwnPtr<AudioFloatArray> > m_preDelayBuffers; 93 Vector<OwnPtr<AudioFloatArray>> m_preDelayBuffers;
94 int m_preDelayReadIndex; 94 int m_preDelayReadIndex;
95 int m_preDelayWriteIndex; 95 int m_preDelayWriteIndex;
96 96
97 float m_maxAttackCompressionDiffDb; 97 float m_maxAttackCompressionDiffDb;
98 98
99 // Static compression curve. 99 // Static compression curve.
100 float kneeCurve(float x, float k); 100 float kneeCurve(float x, float k);
101 float saturate(float x, float k); 101 float saturate(float x, float k);
102 float slopeAt(float x, float k); 102 float slopeAt(float x, float k);
103 float kAtSlope(float desiredSlope); 103 float kAtSlope(float desiredSlope);
(...skipping 18 matching lines...) Expand all
122 float m_kneeThresholdDb; 122 float m_kneeThresholdDb;
123 float m_ykneeThresholdDb; 123 float m_ykneeThresholdDb;
124 124
125 // Internal parameter for the knee portion of the curve. 125 // Internal parameter for the knee portion of the curve.
126 float m_K; 126 float m_K;
127 }; 127 };
128 128
129 } // namespace blink 129 } // namespace blink
130 130
131 #endif // DynamicsCompressorKernel_h 131 #endif // DynamicsCompressorKernel_h
OLDNEW
« no previous file with comments | « Source/platform/audio/AudioResampler.h ('k') | Source/platform/audio/HRTFDatabase.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698