/external/chromium_org/third_party/WebKit/Source/modules/webaudio/ |
H A D | AsyncAudioDecoder.cpp | 50 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 D | AsyncAudioDecoder.h | 47 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 D | AudioContext.idl | 54 [RaisesException] void decodeAudioData(ArrayBuffer audioData, AudioBufferCallback successCallback, optional AudioBufferCallback errorCallback);
|
H A D | AudioContext.cpp | 350 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 D | AudioBuffer.java | 52 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 D | AudioNode.java | 129 * @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 D | WebAudioSourceProvider.h | 38 virtual void provideInput(const WebVector<float*>& audioData, size_t numberOfFrames) = 0;
|
/external/chromium_org/third_party/WebKit/public/testing/ |
H A D | WebTestRunner.h | 51 // 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 D | AndroidAudioRenderer.java | 245 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 D | WAVLoader.java | 63 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 D | AudioDestinationChromium.cpp | 138 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 D | AudioDestinationChromium.h | 60 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 D | TestRunner.h | 85 virtual const blink::WebArrayBufferView* audioData() const OVERRIDE;
|
H A D | TestRunner.cpp | 519 const WebArrayBufferView* TestRunner::audioData() const function in class:WebTestRunner::TestRunner
|
/external/chromium_org/content/shell/renderer/ |
H A D | webkit_test_runner.cc | 621 interfaces->testRunner()->audioData();
|