Searched refs:audioData (Results 1 - 15 of 15) 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 DAsyncAudioDecoder.h47 void decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback);
50 static void decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback);
51 static void notifyComplete(ArrayBuffer* audioData, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback, AudioBuffer*);
H A DAudioContext.idl54 [RaisesException] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, optional AudioBufferCallback errorCallback);
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/chromium_org/third_party/WebKit/public/platform/
H A DWebAudioSourceProvider.h38 virtual void provideInput(const WebVector<float*>& audioData, size_t numberOfFrames) = 0;
/external/chromium_org/third_party/WebKit/public/testing/
H A DWebTestRunner.h51 // If true, WebTestDelegate::audioData returns an audio dump and no text
54 virtual const blink::WebArrayBufferView* audioData() const = 0;
/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/
H A DAndroidAudioRenderer.java245 AndroidAudioData audioData = (AndroidAudioData) src.getAudioData();
247 if (FastMath.abs(audioData.getCurrentVolume() - volume) > FastMath.FLT_EPSILON) {
252 audioData.setCurrentVolume(volume);
322 AndroidAudioData audioData = (AndroidAudioData) src.getAudioData();
324 if (!(audioData.getAssetKey() instanceof AudioKey)) {
328 AudioKey assetKey = (AudioKey) audioData.getAssetKey();
331 if (audioData.getId() < 0) { // found something to load
334 audioData.setId(soundId);
337 int channel = soundPool.play(audioData.getId(), 1f, 1f, 1, 0, 1f);
340 soundpoolStillLoading.put(audioData
[all...]
/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);
H A DAudioDestinationChromium.h60 virtual void render(const blink::WebVector<float*>& sourceData, const blink::WebVector<float*>& audioData, size_t numberOfFrames);
/external/chromium_org/third_party/WebKit/Source/testing/runner/
H A DTestRunner.h85 virtual const blink::WebArrayBufferView* audioData() const OVERRIDE;
H A DTestRunner.cpp519 const WebArrayBufferView* TestRunner::audioData() const function in class:WebTestRunner::TestRunner
/external/chromium_org/content/shell/renderer/
H A Dwebkit_test_runner.cc621 interfaces->testRunner()->audioData();

Completed in 639 milliseconds