Home
last modified time | relevance | path

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

/external/chromium_org/third_party/webrtc/modules/audio_device/android/java/src/org/webrtc/voiceengine/
DWebRtcAudioTrack.java29 private ByteBuffer _playBuffer; field in WebRtcAudioTrack
44 _playBuffer = ByteBuffer.allocateDirect(2 * 480); // Max 10 ms @ 48 in WebRtcAudioTrack()
180 _playBuffer.get(_tempBufPlay); in PlayAudio()
182 _playBuffer.rewind(); // Reset the position to start of buffer in PlayAudio()
/external/chromium_org/third_party/webrtc/modules/audio_device/
Daudio_device_buffer.cc60 memset(_playBuffer, 0, kMaxBufferSizeBytes); in AudioDeviceBuffer()
557 &_playBuffer[0], in RequestPlayoutData()
586 memcpy(audioBuffer, &_playBuffer[0], _playSize); in GetPlayoutData()
591 _playFile.Write(&_playBuffer[0], _playSize); in GetPlayoutData()
Daudio_device_buffer.h102 int8_t _playBuffer[kMaxBufferSizeBytes]; variable
/external/chromium_org/third_party/webrtc/modules/audio_device/linux/
Daudio_device_pulse_linux.cc83 _playBuffer(NULL), in AudioDeviceLinuxPulse()
125 if (_playBuffer) in ~AudioDeviceLinuxPulse()
127 delete [] _playBuffer; in ~AudioDeviceLinuxPulse()
128 _playBuffer = NULL; in ~AudioDeviceLinuxPulse()
1276 _playBuffer = new int8_t[_playbackBufferSize]; in InitPlayout()
1632 if (_playBuffer) in StopPlayout()
1634 delete [] _playBuffer; in StopPlayout()
1635 _playBuffer = NULL; in StopPlayout()
2769 (void *) &_playBuffer[_playbackBufferUnused], in PlayThreadProcess()
2820 nSamples = _ptrAudioBuffer->GetPlayoutData(_playBuffer); in PlayThreadProcess()
[all …]
Daudio_device_pulse_linux.h348 int8_t* _playBuffer; variable
/external/chromium_org/third_party/webrtc/voice_engine/test/android/android_test/src/org/webrtc/voiceengine/test/
DAndroidTest.java43 private byte[] _playBuffer = null; field in AndroidTest
785 _playBuffer = new byte[320]; in playAudioInThread()
911 _in.read(_playBuffer);
916 int wrBytes = _at.write(_playBuffer, 0 /* i * 320 */, 320);
/external/chromium_org/third_party/webrtc/modules/audio_device/win/
Daudio_device_wave_win.h258 int8_t _playBuffer[N_BUFFERS_OUT][4*PLAY_BUF_SIZE_IN_SAMPLES]; variable
Daudio_device_wave_win.cc1784 _waveHeaderOut[n].lpData = reinterpret_cast<LPSTR>(&_playBuffer[n]); in InitPlayout()
1789 memset(_playBuffer[n], 0, bytesPerSample*PLAY_BUF_SIZE_IN_SAMPLES); in InitPlayout()
3592 memcpy(&_playBuffer[bufCount][0], &data[0], nBytes); in Write()