Home
last modified time | relevance | path

Searched refs:framesToDezipper (Results 1 – 1 of 1) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/platform/audio/
DAudioBus.cpp462 unsigned framesToDezipper = (gainDiff < epsilon) ? 0 : framesToProcess; in copyWithGainFrom() local
464 if (framesToDezipper) { in copyWithGainFrom()
465 if (!m_dezipperGainValues.get() || m_dezipperGainValues->size() < framesToDezipper) in copyWithGainFrom()
466 m_dezipperGainValues = adoptPtr(new AudioFloatArray(framesToDezipper)); in copyWithGainFrom()
469 for (unsigned i = 0; i < framesToDezipper; ++i) { in copyWithGainFrom()
479 …hannelIndex], 1, m_dezipperGainValues->data(), 1, destinations[channelIndex], 1, framesToDezipper); in copyWithGainFrom()
480 sources[channelIndex] += framesToDezipper; in copyWithGainFrom()
481 destinations[channelIndex] += framesToDezipper; in copyWithGainFrom()
487 if (framesToDezipper < framesToProcess) { in copyWithGainFrom()
489 …ources[channelIndex], 1, &gain, destinations[channelIndex], 1, framesToProcess - framesToDezipper); in copyWithGainFrom()