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

Side by Side Diff: third_party/WebKit/Source/platform/audio/DownSampler.h

Issue 2384073002: reflow comments in platform/audio (Closed)
Patch Set: comments (heh!) Created 4 years, 2 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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * 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 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 // Computes ideal band-limited half-band filter coefficients. 65 // Computes ideal band-limited half-band filter coefficients.
66 // In other words, filter out all frequencies higher than 0.25 * Nyquist. 66 // In other words, filter out all frequencies higher than 0.25 * Nyquist.
67 void initializeKernel(); 67 void initializeKernel();
68 AudioFloatArray m_reducedKernel; 68 AudioFloatArray m_reducedKernel;
69 69
70 // Half-band filter. 70 // Half-band filter.
71 DirectConvolver m_convolver; 71 DirectConvolver m_convolver;
72 72
73 AudioFloatArray m_tempBuffer; 73 AudioFloatArray m_tempBuffer;
74 74
75 // Used as delay-line (FIR filter history) for the input samples to account fo r the 0.5 term right in the middle of the kernel. 75 // Used as delay-line (FIR filter history) for the input samples to account
76 // for the 0.5 term right in the middle of the kernel.
76 AudioFloatArray m_inputBuffer; 77 AudioFloatArray m_inputBuffer;
77 }; 78 };
78 79
79 } // namespace blink 80 } // namespace blink
80 81
81 #endif // DownSampler_h 82 #endif // DownSampler_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/audio/Distance.h ('k') | third_party/WebKit/Source/platform/audio/DownSampler.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698