OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:audioBus
(Results
1 - 3
of
3
) sorted by null
/external/webkit/Source/WebCore/platform/audio/chromium/
AudioBusChromium.cpp
29
#include "
AudioBus
.h"
37
PassOwnPtr<
AudioBus
>
AudioBus
::loadPlatformResource(const char* name, double sampleRate)
40
OwnPtr<
AudioBus
>
audioBus
= PlatformBridge::loadPlatformAudioResource(name, sampleRate);
41
if (!
audioBus
.get())
45
if (
audioBus
->sampleRate() == sampleRate)
46
return
audioBus
.release();
48
return
AudioBus
::createBySampleRateConverting(
audioBus
.get(), false, sampleRate)
[
all
...]
/external/webkit/Source/WebKit/chromium/src/
WebAudioBus.cpp
29
#include "
AudioBus
.h"
32
class
AudioBus
{
44
class WebAudioBusPrivate : public
AudioBus
{
50
AudioBus
*
audioBus
= new
AudioBus
(numberOfChannels, length);
51
audioBus
->setSampleRate(sampleRate);
55
m_private = static_cast<WebAudioBusPrivate*>(
audioBus
);
120
PassOwnPtr<
AudioBus
> WebAudioBus::release()
123
OwnPtr<
AudioBus
> audioBus(adoptPtr(static_cast<AudioBus*>(m_private)))
[
all
...]
/external/webkit/Source/WebCore/platform/audio/mac/
AudioFileReaderMac.cpp
35
#include "
AudioBus
.h"
138
PassOwnPtr<
AudioBus
> AudioFileReader::createBus(double sampleRate, bool mixToMono)
188
// Create
AudioBus
where we'll put the PCM audio data
189
OwnPtr<
AudioBus
>
audioBus
= adoptPtr(new
AudioBus
(busChannelCount, numberOfFrames));
190
audioBus
->setSampleRate(m_clientDataFormat.mSampleRate); // save for later
221
bufferList->mBuffers[i].mData =
audioBus
->channel(i)->data();
233
float* destL =
audioBus
->channel(0)->data();
241
return
audioBus
.release()
[
all
...]
Completed in 55 milliseconds