OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AsyncAudioDecoder
(Results
1 - 2
of
2
) sorted by null
/external/chromium_org/third_party/WebKit/Source/modules/webaudio/
AsyncAudioDecoder.h
39
//
AsyncAudioDecoder
asynchronously decodes audio file data from an ArrayBuffer in a worker thread.
42
class
AsyncAudioDecoder
{
43
WTF_MAKE_NONCOPYABLE(
AsyncAudioDecoder
);
45
AsyncAudioDecoder
();
46
~
AsyncAudioDecoder
();
AsyncAudioDecoder.cpp
29
#include "modules/webaudio/
AsyncAudioDecoder
.h"
43
AsyncAudioDecoder
::
AsyncAudioDecoder
()
48
AsyncAudioDecoder
::~
AsyncAudioDecoder
()
52
void
AsyncAudioDecoder
::decodeAsync(ArrayBuffer* audioData, float sampleRate, PassOwnPtr<AudioBufferCallback> successCallback, PassOwnPtr<AudioBufferCallback> errorCallback)
63
m_thread->postTask(new Task(WTF::bind(&
AsyncAudioDecoder
::decode, audioDataRef.release().leakRef(), sampleRate, successCallback.leakPtr(), errorCallback.leakPtr())));
66
void
AsyncAudioDecoder
::decode(ArrayBuffer* audioData, float sampleRate, AudioBufferCallback* successCallback, AudioBufferCallback* errorCallback)
72
callOnMainThread(WTF::bind(&
AsyncAudioDecoder
::notifyComplete, audioData, successCallback, errorCallback, bus.release().leakRef()));
75
void
AsyncAudioDecoder
::notifyComplete(ArrayBuffer* audioData, AudioBufferCallback* successCallback, AudioBufferCallback* (…)
[
all
...]
Completed in 95 milliseconds