/external/webkit/Source/WebCore/platform/audio/mac/ |
D | AudioFileReaderMac.cpp | 138 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()
|
D | AudioFileReaderMac.h | 49 PassOwnPtr<AudioBus> createBus(double sampleRate, bool mixToMono);
|
/external/webkit/Source/WebCore/platform/audio/chromium/ |
D | AudioBusChromium.cpp | 51 … 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/ |
D | AudioFileReader.h | 45 … createBusFromInMemoryAudioFile(const void* data, size_t dataSize, bool mixToMono, double sampleRa… 47 PassOwnPtr<AudioBus> createBusFromAudioFile(const char* filePath, bool mixToMono, double sampleRate…
|
D | AudioBus.cpp | 367 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()
|
D | AudioBus.h | 97 …static PassOwnPtr<AudioBus> createBySampleRateConverting(AudioBus* sourceBus, bool mixToMono, doub…
|
/external/webkit/Source/WebCore/webaudio/ |
D | AudioBuffer.cpp | 47 …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()
|
D | AudioBuffer.h | 47 …Buffer> createFromAudioFileData(const void* data, size_t dataSize, bool mixToMono, double sampleRa…
|
D | AudioContext.cpp | 237 PassRefPtr<AudioBuffer> AudioContext::createBuffer(ArrayBuffer* arrayBuffer, bool mixToMono) in createBuffer() argument 243 …::createFromAudioFileData(arrayBuffer->data(), arrayBuffer->byteLength(), mixToMono, sampleRate()); in createBuffer()
|
D | AudioContext.h | 92 PassRefPtr<AudioBuffer> createBuffer(ArrayBuffer* arrayBuffer, bool mixToMono);
|
D | AudioContext.idl | 48 // AudioBuffer createBuffer(in ArrayBuffer buffer, in boolean mixToMono);
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSAudioContextCustom.cpp | 95 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/ |
D | V8AudioContextCustom.cpp | 107 bool mixToMono = args[1]->ToBoolean()->Value(); in createBufferCallback() local 109 RefPtr<AudioBuffer> audioBuffer = audioContext->createBuffer(arrayBuffer, mixToMono); in createBufferCallback()
|