Home
last modified time | relevance | path

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

/external/webkit/Source/WebCore/platform/audio/mac/
DAudioFileReaderMac.cpp138 PassOwnPtr<AudioBus> AudioFileReader::createBus(double sampleRate, bool mixToMono) in createBus() argument
186 size_t busChannelCount = mixToMono ? 1 : numberOfChannels; in createBus()
201 if (mixToMono && numberOfChannels == 2) { in createBus()
215 ASSERT(!mixToMono || numberOfChannels == 1); in createBus()
231 if (mixToMono && numberOfChannels == 2) { in createBus()
244 PassOwnPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, double sampleRate) in createBusFromAudioFile() argument
247 return reader.createBus(sampleRate, mixToMono); in createBusFromAudioFile()
250 … createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, double sampleRa… in createBusFromInMemoryAudioFile() argument
253 return reader.createBus(sampleRate, mixToMono); in createBusFromInMemoryAudioFile()
DAudioFileReaderMac.h49 PassOwnPtr<AudioBus> createBus(double sampleRate, bool mixToMono);
/external/webkit/Source/WebCore/platform/audio/chromium/
DAudioBusChromium.cpp51 … createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, double sampleRa… in createBusFromInMemoryAudioFile() argument
59 if ((!mixToMono || audioBus->numberOfChannels() == 1) && audioBus->sampleRate() == sampleRate) in createBusFromInMemoryAudioFile()
62 return AudioBus::createBySampleRateConverting(audioBus.get(), mixToMono, sampleRate); in createBusFromInMemoryAudioFile()
/external/webkit/Source/WebCore/platform/audio/
DAudioFileReader.h45 … createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, double sampleRa…
47 PassOwnPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, double sampleRate…
DAudioBus.cpp367 PassOwnPtr<AudioBus> AudioBus::createBySampleRateConverting(AudioBus* sourceBus, bool mixToMono, do… in createBySampleRateConverting() argument
379 mixToMono = false; // already mono in createBySampleRateConverting()
383 if (mixToMono) in createBySampleRateConverting()
393 if (mixToMono) { in createBySampleRateConverting()
DAudioBus.h97 …static PassOwnPtr<AudioBus> createBySampleRateConverting(AudioBus* sourceBus, bool mixToMono, doub…
/external/webkit/Source/WebCore/webaudio/
DAudioBuffer.cpp47 …Buffer::createFromAudioFileData(const void* data, size_t dataSize, bool mixToMono, double sampleRa… in createFromAudioFileData() argument
49 OwnPtr<AudioBus> bus = createBusFromInMemoryAudioFile(data, dataSize, mixToMono, sampleRate); in createFromAudioFileData()
DAudioBuffer.h47 …Buffer> createFromAudioFileData(const void* data, size_t dataSize, bool mixToMono, double sampleRa…
DAudioContext.cpp237 PassRefPtr<AudioBuffer> AudioContext::createBuffer(ArrayBuffer* arrayBuffer, bool mixToMono) in createBuffer() argument
243 …::createFromAudioFileData(arrayBuffer->data(), arrayBuffer->byteLength(), mixToMono, sampleRate()); in createBuffer()
DAudioContext.h92 PassRefPtr<AudioBuffer> createBuffer(ArrayBuffer* arrayBuffer, bool mixToMono);
DAudioContext.idl48 // AudioBuffer createBuffer(in ArrayBuffer buffer, in boolean mixToMono);
/external/webkit/Source/WebCore/bindings/js/
DJSAudioContextCustom.cpp95 bool mixToMono = exec->argument(1).toBoolean(exec); in createBuffer() local
97 RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(arrayBuffer, mixToMono); in createBuffer()
/external/webkit/Source/WebCore/bindings/v8/custom/
DV8AudioContextCustom.cpp107 bool mixToMono = args[1]->ToBoolean()->Value(); in createBufferCallback() local
109 RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(arrayBuffer, mixToMono); in createBufferCallback()