Home
last modified time | relevance | path

Searched refs:audioData (Results 1 – 8 of 8) sorted by relevance

/external/jmonkeyengine/engine/src/android/com/jme3/audio/android/
DAndroidAudioRenderer.java245 AndroidAudioData audioData = (AndroidAudioData) src.getAudioData(); in update() local
247 if (FastMath.abs(audioData.getCurrentVolume() - volume) > FastMath.FLT_EPSILON) { in update()
252 audioData.setCurrentVolume(volume); in update()
322 AndroidAudioData audioData = (AndroidAudioData) src.getAudioData(); in playSourceInstance() local
324 if (!(audioData.getAssetKey() instanceof AudioKey)) { in playSourceInstance()
328 AudioKey assetKey = (AudioKey) audioData.getAssetKey(); in playSourceInstance()
331 if (audioData.getId() < 0) { // found something to load in playSourceInstance()
334 audioData.setId(soundId); in playSourceInstance()
337 int channel = soundPool.play(audioData.getId(), 1f, 1f, 1, 0, 1f); in playSourceInstance()
340 soundpoolStillLoading.put(audioData.getId(), src); in playSourceInstance()
[all …]
/external/jmonkeyengine/engine/src/core/com/jme3/audio/
DAudioBuffer.java52 protected ByteBuffer audioData; field in AudioBuffer
72 if (audioData != null) in getDuration()
73 return (float) audioData.capacity() / bytesPerSec; in getDuration()
90 this.audioData = data; in updateData()
98 return audioData; in getData()
DAudioNode.java134 public AudioNode(AudioRenderer audioRenderer, AudioData audioData, AudioKey audioKey) { in AudioNode() argument
135 setAudioData(audioData, audioKey); in AudioNode()
144 public AudioNode(AudioData audioData, AudioKey audioKey) { in AudioNode() argument
145 setAudioData(audioData, audioKey); in AudioNode()
325 public void setAudioData(AudioData audioData, AudioKey audioKey) { in setAudioData() argument
330 data = audioData; in setAudioData()
/external/webkit/Source/WebKit/chromium/src/
DAudioDestinationChromium.cpp105 void AudioDestinationChromium::render(const WebVector<float*>& audioData, size_t numberOfFrames) in render() argument
107 bool isNumberOfChannelsGood = audioData.size() == numberOfChannels; in render()
121 m_renderBus.setChannelMemory(0, audioData[0] + i * renderBufferSize, renderBufferSize); in render()
122 m_renderBus.setChannelMemory(1, audioData[1] + i * renderBufferSize, renderBufferSize); in render()
DAudioDestinationChromium.h55 virtual void render(const WebKit::WebVector<float*>& audioData, size_t numberOfFrames);
/external/jmonkeyengine/engine/src/core-plugins/com/jme3/audio/plugins/
DWAVLoader.java63 private AudioData audioData; field in WAVLoader
102 audioData.setupFormat(channels, bitsPerSample, sampleRate); in readFormatChunk()
141 audioData = audioStream; in load()
144 audioData = audioBuffer; in load()
164 return audioData; in load()
/external/webkit/Source/WebCore/platform/audio/mac/
DAudioBusMac.mm51 NSData *audioData = [NSData dataWithContentsOfFile:audioFilePath];
53 if (audioData) {
54 …OwnPtr<AudioBus> bus(createBusFromInMemoryAudioFile([audioData bytes], [audioData length], false, …
/external/webkit/Source/WebKit/chromium/public/
DWebAudioDevice.h42 virtual void render(const WebVector<float*>& audioData, size_t numberOfFrames) = 0;