Home | History | Annotate | Download | only in webaudio

Lines Matching refs:gain

43     m_gain = AudioParam::create(context, "gain", 1.0, 0.0, 1.0);
55 // FIXME: for some cases there is a nice optimization to avoid processing here, and let the gain change
67 if (gain()->hasSampleAccurateValues()) {
68 // Apply sample-accurate gain scaling for precise envelopes, grain windows, etc.
72 gain()->calculateSampleAccurateValues(gainValues, framesToProcess);
76 // Apply the gain with de-zippering into the output bus.
77 outputBus->copyWithGainFrom(*inputBus, &m_lastGain, gain()->value());
84 // Snap directly to desired gain.
85 m_lastGain = gain()->value();
88 // FIXME: this can go away when we do mixing with gain directly in summing junction of AudioNodeInput