Searched refs:audioBus (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/third_party/WebKit/Source/platform/audio/chromium/ |
D | AudioBusChromium.cpp | 52 RefPtr<AudioBus> audioBus = decodeAudioFileData(resource.data(), resource.size(), sampleRate); in loadPlatformResource() local 54 if (!audioBus.get()) in loadPlatformResource() 58 if (audioBus->sampleRate() == sampleRate) in loadPlatformResource() 59 return audioBus; in loadPlatformResource() 61 return AudioBus::createBySampleRateConverting(audioBus.get(), false, sampleRate); in loadPlatformResource() 67 …RefPtr<AudioBus> audioBus = decodeAudioFileData(static_cast<const char*>(data), dataSize, sampleRa… in createBusFromInMemoryAudioFile() local 68 if (!audioBus.get()) in createBusFromInMemoryAudioFile() 72 if ((!mixToMono || audioBus->numberOfChannels() == 1) && audioBus->sampleRate() == sampleRate) in createBusFromInMemoryAudioFile() 73 return audioBus; in createBusFromInMemoryAudioFile() 75 return AudioBus::createBySampleRateConverting(audioBus.get(), mixToMono, sampleRate); in createBusFromInMemoryAudioFile()
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
D | WebAudioBus.cpp | 52 RefPtr<AudioBus> audioBus = AudioBus::create(numberOfChannels, length); in initialize() local 53 audioBus->setSampleRate(sampleRate); in initialize() 58 audioBus->ref(); in initialize() 59 m_private = static_cast<WebAudioBusPrivate*>(audioBus.get()); in initialize() 142 RefPtr<AudioBus> audioBus(adoptRef(static_cast<AudioBus*>(m_private))); in release() local 144 return audioBus; in release()
|
/external/chromium_org/third_party/WebKit/Source/platform/audio/ |
D | AudioBus.cpp | 184 RefPtr<AudioBus> audioBus = create(numberOfChannels, rangeLength); in createBufferFromRange() local 185 audioBus->setSampleRate(sourceBuffer->sampleRate()); in createBufferFromRange() 188 audioBus->channel(i)->copyFromRange(sourceBuffer->channel(i), startFrame, endFrame); in createBufferFromRange() 190 return audioBus; in createBufferFromRange()
|