Searched defs:audioData (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
H A DAsyncAudioDecoder.cpp50 void AsyncAudioDecoder::decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback) argument
53 ASSERT(audioData);
54 if (!audioData)
57 // Add a ref to keep audioData alive until completion of decoding.
58 RefPtr<ArrayBuffer> audioDataRef(audioData);
64 void AsyncAudioDecoder::decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback) argument
67 RefPtr<AudioBuffer> audioBuffer = AudioBuffer::createFromAudioFileData(audioData->data(), audioData->byteLength(), false, sampleRate);
71 callOnMainThread(WTF::bind(&AsyncAudioDecoder::notifyComplete, audioData, successCallback, errorCallback, audioBuffer.release().leakRef()));
74 void AsyncAudioDecoder::notifyComplete(ArrayBuffer* audioData, AudioBufferCallbac argument
[all...]
H A DAudioContext.cpp350 void AudioContext::decodeAudioData(ArrayBuffer* audioData, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback, ExceptionState& exceptionState) argument
352 if (!audioData) {
355 "invalid ArrayBuffer for audioData.");
358 m_audioDecoder.decodeAsync(audioData, sampleRate(), successCallback, errorCallback);
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
H A DAudioBuffer.java52 protected ByteBuffer audioData; field in class:AudioBuffer
72 if (audioData != null)
73 return (float) audioData.capacity() / bytesPerSec;
90 this.audioData = data;
98 return audioData;
H A DAudioNode.java129 * @param audioData The audio data contains the audio track to play.
134 public AudioNode(AudioRenderer audioRenderer, AudioData audioData, AudioKey audioKey) { argument
135 setAudioData(audioData, audioKey);
141 * @param audioData The audio data contains the audio track to play.
144 public AudioNode(AudioData audioData, AudioKey audioKey) { argument
145 setAudioData(audioData, audioKey);
322 * @param audioData The audio data contains the audio track to play.
325 public void setAudioData(AudioData audioData, AudioKey audioKey) { argument
330 data = audioData;
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/audio/plugins/
H A DWAVLoader.java63 private AudioData audioData; field in class:WAVLoader
102 audioData.setupFormat(channels, bitsPerSample, sampleRate);
141 audioData = audioStream;
144 audioData = audioBuffer;
164 return audioData;
/external/chromium_org/third_party/WebKit/Source/platform/audio/chromium/
H A DAudioDestinationChromium.cpp138 void AudioDestinationChromium::render(const blink::WebVector<float*>& sourceData, const blink::WebVector<float*>& audioData, size_t numberOfFrames) argument
140 bool isNumberOfChannelsGood = audioData.size() == m_numberOfOutputChannels;
162 m_renderBus->setChannelMemory(i, audioData[i], numberOfFrames);
/external/chromium_org/third_party/WebKit/Source/testing/runner/
H A DTestRunner.cpp519 const WebArrayBufferView* TestRunner::audioData() const function in class:WebTestRunner::TestRunner

Completed in 186 milliseconds