Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.cc87 _recChannels(ALSA_CAPTURE_CH), in AudioDeviceLinuxALSA()
410 if (_recIsInitialized && (2 == _recChannels)) { in StereoRecordingIsAvailable()
418 int recChannels = _recChannels; in StereoRecordingIsAvailable()
428 _recChannels = 2; in StereoRecordingIsAvailable()
437 _recChannels = recChannels; in StereoRecordingIsAvailable()
450 _recChannels = 2; in SetStereoRecording()
452 _recChannels = 1; in SetStereoRecording()
458 if (_recChannels == 2) in StereoRecording()
727 _recChannels = 1; in RecordingIsAvailable()
740 _recChannels = 2; in RecordingIsAvailable()
[all …]
Daudio_device_pulse_linux.cc41 _recChannels(1), in AudioDeviceLinuxPulse()
482 if (_recChannels == 2 && _recording) { in StereoRecordingIsAvailable()
514 _recChannels = 2; in SetStereoRecording()
516 _recChannels = 1; in SetStereoRecording()
523 if (_recChannels == 2) in StereoRecording()
978 recSampleSpec.channels = _recChannels; in InitRecording()
997 _ptrAudioBuffer->SetRecordingChannels((uint8_t)_recChannels); in InitRecording()
1035 _recordBufferSize = sample_rate_hz_ / 100 * 2 * _recChannels; in InitRecording()
1890 uint32_t numRecSamples = _recordBufferSize / (2 * _recChannels); in ReadRecordedData()
Daudio_device_alsa_linux.h176 uint8_t _recChannels; variable
Daudio_device_pulse_linux.h282 uint8_t _recChannels; variable
/external/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc126 _recChannels(N_REC_CHANNELS), in AudioDeviceMac()
672 _recChannels = 2; in SetStereoRecording()
674 _recChannels = 1; in SetStereoRecording()
680 if (_recChannels == 2) in StereoRecording()
1173 if (_inStreamFormat.mChannelsPerFrame >= 2 && (_recChannels == 2)) { in InitRecording()
1178 _recChannels = 1; in InitRecording()
1185 _ptrAudioBuffer->SetRecordingChannels((uint8_t)_recChannels); in InitRecording()
2002 if (_ptrAudioBuffer && streamFormat.mChannelsPerFrame != _recChannels) { in HandleStreamFormatChange()
2033 if (_inStreamFormat.mChannelsPerFrame >= 2 && (_recChannels == 2)) { in HandleStreamFormatChange()
2038 _recChannels = 1; in HandleStreamFormatChange()
Daudio_device_mac.h284 uint8_t _recChannels; variable
/external/webrtc/modules/audio_device/win/
Daudio_device_core_win.cc383 _recChannels(2), in AudioDeviceWindowsCore()
1159 _recChannels = 2; in SetStereoRecording()
1163 _recChannels = 1; in SetStereoRecording()
1174 if (_recChannels == 2) in StereoRecording()
2063 _recChannels = ptrWav->nChannels; in InitRecordingDMO()
2075 _ptrAudioBuffer->SetRecordingChannels(_recChannels); in InitRecordingDMO()
2223 _recChannels = Wfx.Format.nChannels; in InitRecording()
2238 RTC_LOG(LS_VERBOSE) << "_recChannels : " << _recChannels; in InitRecording()
2262 _ptrAudioBuffer->SetRecordingChannels((uint8_t)_recChannels); in InitRecording()
Daudio_device_core_win.h286 uint32_t _recChannels; variable