Home
last modified time | relevance | path

Searched refs:audioSamples (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/sdk/objc/unittests/
DRTCAudioDeviceModule_xctest.mm23 void* audioSamples,
28 typedef int32_t(^RecordedDataIsAvailableBlock)(const void* audioSamples,
58 void* audioSamples,
66 audioSamples,
72 int32_t RecordedDataIsAvailable(const void* audioSamples,
82 return recordedDataIsAvailableBlock(audioSamples,
253 void *audioSamples,
262 XCTAssertNotEqual((void*)NULL, audioSamples);
290 void *audioSamples,
299 XCTAssertNotEqual((void*)NULL, audioSamples);
[all …]
/external/webrtc/pc/test/
Dfake_audio_capture_module_unittest.cc38 int32_t RecordedDataIsAvailable(const void* audioSamples, in RecordedDataIsAvailable() argument
57 memcpy(rec_buffer_, audioSamples, rec_buffer_bytes_); in RecordedDataIsAvailable()
76 void* audioSamples, in NeedMorePlayData() argument
85 ? CopyFromRecBuffer(audioSamples, audio_buffer_size) in NeedMorePlayData()
86 : GenerateZeroBuffer(audioSamples, audio_buffer_size); in NeedMorePlayData()
/external/webrtc/modules/audio_device/
Daudio_device_data_observer.cc49 int32_t RecordedDataIsAvailable(const void* audioSamples, in RecordedDataIsAvailable() argument
62 observer_->OnCaptureData(audioSamples, nSamples, nBytesPerSample, in RecordedDataIsAvailable()
69 audioSamples, nSamples, nBytesPerSample, nChannels, samples_per_sec, in RecordedDataIsAvailable()
80 void* audioSamples, in NeedMorePlayData() argument
93 nSamples, nBytesPerSample, nChannels, samples_per_sec, audioSamples, in NeedMorePlayData()
99 observer_->OnRenderData(audioSamples, nSamples, nBytesPerSample, in NeedMorePlayData()
/external/webrtc/modules/audio_device/include/
Dmock_audio_transport.h27 (const void* audioSamples,
45 void* audioSamples,
Daudio_device_defines.h37 virtual int32_t RecordedDataIsAvailable(const void* audioSamples,
53 void* audioSamples,
/external/webrtc/audio/
Daudio_transport_impl.h35 int32_t RecordedDataIsAvailable(const void* audioSamples,
50 void* audioSamples,
Daudio_transport_impl.cc177 void* audioSamples, in NeedMorePlayData() argument
204 static_cast<int16_t*>(audioSamples)); in NeedMorePlayData()
/external/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc389 int32_t RealRecordedDataIsAvailable(const void* audioSamples, in RealRecordedDataIsAvailable() argument
404 audio_stream_->Write(audioSamples, nSamples); in RealRecordedDataIsAvailable()
416 void* audioSamples, in RealNeedMorePlayData() argument
426 audio_stream_->Read(audioSamples, nSamples); in RealNeedMorePlayData()
/external/webrtc/sdk/android/native_unittests/audio_device/
Daudio_device_unittest.cc386 int32_t RealRecordedDataIsAvailable(const void* audioSamples, in RealRecordedDataIsAvailable() argument
401 audio_stream_->Write(audioSamples, nSamples); in RealRecordedDataIsAvailable()
413 void* audioSamples, in RealNeedMorePlayData() argument
423 audio_stream_->Read(audioSamples, nSamples); in RealNeedMorePlayData()