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

Side by Side Diff: third_party/WebKit/Source/modules/webaudio/OscillatorNode.h

Issue 2389253002: reflow comments in modules/{webaudio,vr} (Closed)
Patch Set: . 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) 2012, Google Inc. All rights reserved. 2 * Copyright (C) 2012, 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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 unsigned short m_type; 79 unsigned short m_type;
80 80
81 // Frequency value in Hertz. 81 // Frequency value in Hertz.
82 RefPtr<AudioParamHandler> m_frequency; 82 RefPtr<AudioParamHandler> m_frequency;
83 83
84 // Detune value (deviating from the frequency) in Cents. 84 // Detune value (deviating from the frequency) in Cents.
85 RefPtr<AudioParamHandler> m_detune; 85 RefPtr<AudioParamHandler> m_detune;
86 86
87 bool m_firstRender; 87 bool m_firstRender;
88 88
89 // m_virtualReadIndex is a sample-frame index into our buffer representing the current playback position. 89 // m_virtualReadIndex is a sample-frame index into our buffer representing the
90 // Since it's floating-point, it has sub-sample accuracy. 90 // current playback position. Since it's floating-point, it has sub-sample
91 // accuracy.
91 double m_virtualReadIndex; 92 double m_virtualReadIndex;
92 93
93 // Stores sample-accurate values calculated according to frequency and detune. 94 // Stores sample-accurate values calculated according to frequency and detune.
94 AudioFloatArray m_phaseIncrements; 95 AudioFloatArray m_phaseIncrements;
95 AudioFloatArray m_detuneValues; 96 AudioFloatArray m_detuneValues;
96 97
97 // This Persistent doesn't make a reference cycle including the owner 98 // This Persistent doesn't make a reference cycle including the owner
98 // OscillatorNode. 99 // OscillatorNode.
99 Persistent<PeriodicWave> m_periodicWave; 100 Persistent<PeriodicWave> m_periodicWave;
100 }; 101 };
(...skipping 18 matching lines...) Expand all
119 OscillatorNode(BaseAudioContext&); 120 OscillatorNode(BaseAudioContext&);
120 OscillatorHandler& oscillatorHandler() const; 121 OscillatorHandler& oscillatorHandler() const;
121 122
122 Member<AudioParam> m_frequency; 123 Member<AudioParam> m_frequency;
123 Member<AudioParam> m_detune; 124 Member<AudioParam> m_detune;
124 }; 125 };
125 126
126 } // namespace blink 127 } // namespace blink
127 128
128 #endif // OscillatorNode_h 129 #endif // OscillatorNode_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698