Home
last modified time | relevance | path

Searched refs:nBytesPerSample (Results 1 – 10 of 10) sorted by relevance

/external/webrtc/talk/app/webrtc/test/
Dfakeaudiocapturemodule_unittest.cc60 const size_t nBytesPerSample, in RecordedDataIsAvailable() argument
69 rec_buffer_bytes_ = nSamples * nBytesPerSample; in RecordedDataIsAvailable()
84 const size_t nBytesPerSample, in NeedMorePlayData() argument
93 const size_t audio_buffer_size = nSamples * nBytesPerSample; in NeedMorePlayData()
97 nSamplesOut = bytes_out / nBytesPerSample; in NeedMorePlayData()
/external/webrtc/webrtc/modules/audio_device/test/
Dfunc_test_manager.h51 size_t nBytesPerSample; member
90 const size_t nBytesPerSample,
100 const size_t nBytesPerSample,
Dfunc_test_manager.cc196 const size_t nBytesPerSample, in RecordedDataIsAvailable() argument
208 memcpy(packet->dataBuffer, audioSamples, nSamples * nBytesPerSample); in RecordedDataIsAvailable()
210 packet->nBytesPerSample = nBytesPerSample; in RecordedDataIsAvailable()
314 } else if ((nChannels == 2) && (nBytesPerSample == 2) && addMarker) in RecordedDataIsAvailable()
329 if (nChannels == 2 && nBytesPerSample == 2) in RecordedDataIsAvailable()
341 const size_t nBytesPerSample, in NeedMorePlayData() argument
354 memset(audioSamples, 0, nBytesPerSample * nSamples); in NeedMorePlayData()
370 const size_t nBytesPerSampleIn = packet->nBytesPerSample; in NeedMorePlayData()
Daudio_device_test_api.cc87 const size_t nBytesPerSample, in RecordedDataIsAvailable() argument
100 } else if ((nChannels == 2) && (nBytesPerSample == 2)) { in RecordedDataIsAvailable()
112 const size_t nBytesPerSample, in NeedMorePlayData() argument
/external/webrtc/webrtc/modules/audio_device/include/
Daudio_device_defines.h51 const size_t nBytesPerSample,
61 const size_t nBytesPerSample,
/external/webrtc/webrtc/voice_engine/
Dvoe_base_impl.h59 const size_t nBytesPerSample,
68 const size_t nBytesPerSample,
Dvoe_base_impl.cc84 const size_t nBytesPerSample, in RecordedDataIsAvailable() argument
99 const size_t nBytesPerSample, in NeedMorePlayData() argument
/external/webrtc/webrtc/modules/audio_device/ios/
Daudio_device_unittest_ios.cc375 const size_t nBytesPerSample,
385 const size_t nBytesPerSample,
415 const size_t nBytesPerSample, in RealRecordedDataIsAvailable() argument
439 const size_t nBytesPerSample, in RealNeedMorePlayData() argument
/external/webrtc/webrtc/modules/audio_device/android/
Daudio_device_unittest.cc385 const size_t nBytesPerSample,
395 const size_t nBytesPerSample,
425 const size_t nBytesPerSample, in RealRecordedDataIsAvailable() argument
447 const size_t nBytesPerSample, in RealNeedMorePlayData() argument
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_wave_win.cc2634 const uint8_t nBytesPerSample = 2*_recChannels; in PrepareStartRecording() local
2638 _waveHeaderIn[n].dwBufferLength = nBytesPerSample * REC_BUF_SIZE_IN_SAMPLES; in PrepareStartRecording()
2643 memset(_recBuffer[n], 0, nBytesPerSample * REC_BUF_SIZE_IN_SAMPLES); in PrepareStartRecording()