Searched refs:audioBus (Results 1 – 4 of 4) sorted by relevance
/external/webkit/Source/WebCore/platform/audio/chromium/ |
D | AudioBusChromium.cpp | 40 OwnPtr<AudioBus> audioBus = PlatformBridge::loadPlatformAudioResource(name, sampleRate); in loadPlatformResource() local 41 if (!audioBus.get()) in loadPlatformResource() 45 if (audioBus->sampleRate() == sampleRate) in loadPlatformResource() 46 return audioBus.release(); in loadPlatformResource() 48 return AudioBus::createBySampleRateConverting(audioBus.get(), false, sampleRate); in loadPlatformResource() 54 …OwnPtr<AudioBus> audioBus = PlatformBridge::decodeAudioFileData(static_cast<const char*>(data), da… in createBusFromInMemoryAudioFile() local 55 if (!audioBus.get()) in createBusFromInMemoryAudioFile() 59 if ((!mixToMono || audioBus->numberOfChannels() == 1) && audioBus->sampleRate() == sampleRate) in createBusFromInMemoryAudioFile() 60 return audioBus.release(); in createBusFromInMemoryAudioFile() 62 return AudioBus::createBySampleRateConverting(audioBus.get(), mixToMono, sampleRate); in createBusFromInMemoryAudioFile()
|
/external/webkit/Source/WebKit/chromium/src/ |
D | WebAudioBus.cpp | 50 AudioBus* audioBus = new AudioBus(numberOfChannels, length); in initialize() local 51 audioBus->setSampleRate(sampleRate); in initialize() 55 m_private = static_cast<WebAudioBusPrivate*>(audioBus); in initialize() 123 OwnPtr<AudioBus> audioBus(adoptPtr(static_cast<AudioBus*>(m_private))); in release() local 125 return audioBus.release(); in release()
|
/external/webkit/Source/WebCore/platform/audio/mac/ |
D | AudioFileReaderMac.cpp | 189 OwnPtr<AudioBus> audioBus = adoptPtr(new AudioBus(busChannelCount, numberOfFrames)); in createBus() local 190 audioBus->setSampleRate(m_clientDataFormat.mSampleRate); // save for later in createBus() 221 bufferList->mBuffers[i].mData = audioBus->channel(i)->data(); in createBus() 233 float* destL = audioBus->channel(0)->data(); in createBus() 241 return audioBus.release(); in createBus()
|
/external/webkit/Source/WebCore/platform/audio/ |
D | AudioBus.cpp | 159 OwnPtr<AudioBus> audioBus = adoptPtr(new AudioBus(numberOfChannels, rangeLength)); in createBufferFromRange() local 160 audioBus->setSampleRate(sourceBuffer->sampleRate()); in createBufferFromRange() 163 audioBus->channel(i)->copyFromRange(sourceBuffer->channel(i), startFrame, endFrame); in createBufferFromRange() 165 return audioBus.release(); in createBufferFromRange()
|