Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_device/
Daudio_device_buffer.cc38 _recChannels(0), in AudioDeviceBuffer()
175 _recChannels = channels; in SetRecordingChannels()
208 if (_recChannels == 1) in SetRecordingChannel()
244 return _recChannels; in RecordingChannels()
448 (_recChannels == 0)) in DeliverRecordedData()
467 _recChannels, in DeliverRecordedData()
Daudio_device_buffer.h83 size_t _recChannels; variable
/external/webrtc/webrtc/modules/audio_device/linux/
Daudio_device_alsa_linux.cc83 _recChannels(ALSA_CAPTURE_CH), in AudioDeviceLinuxALSA()
572 if (_recIsInitialized && (2 == _recChannels)) in StereoRecordingIsAvailable()
581 int recChannels = _recChannels; in StereoRecordingIsAvailable()
592 _recChannels = 2; in StereoRecordingIsAvailable()
602 _recChannels = recChannels; in StereoRecordingIsAvailable()
619 _recChannels = 2; in SetStereoRecording()
621 _recChannels = 1; in SetStereoRecording()
629 if (_recChannels == 2) in StereoRecording()
989 _recChannels = 1; in RecordingIsAvailable()
1006 _recChannels = 2; in RecordingIsAvailable()
[all …]
Daudio_device_pulse_linux.cc46 _recChannels(1), in AudioDeviceLinuxPulse()
654 if (_recChannels == 2 && _recording) { in StereoRecordingIsAvailable()
689 _recChannels = 2; in SetStereoRecording()
691 _recChannels = 1; in SetStereoRecording()
699 if (_recChannels == 2) in StereoRecording()
1254 recSampleSpec.channels = _recChannels; in InitRecording()
1276 _ptrAudioBuffer->SetRecordingChannels((uint8_t) _recChannels); in InitRecording()
1318 _recordBufferSize = sample_rate_hz_ / 100 * 2 * _recChannels; in InitRecording()
2448 uint32_t numRecSamples = _recordBufferSize / (2 * _recChannels); in ReadRecordedData()
Daudio_device_alsa_linux.h217 uint8_t _recChannels; variable
Daudio_device_pulse_linux.h300 uint8_t _recChannels; variable
/external/webrtc/webrtc/modules/audio_device/mac/
Daudio_device_mac.cc106 _recChannels(N_REC_CHANNELS), in AudioDeviceMac()
746 _recChannels = 2; in SetStereoRecording()
748 _recChannels = 1; in SetStereoRecording()
754 if (_recChannels == 2) in StereoRecording()
1286 if (_inStreamFormat.mChannelsPerFrame >= 2 && (_recChannels == 2)) { in InitRecording()
1291 _recChannels = 1; in InitRecording()
1299 _ptrAudioBuffer->SetRecordingChannels((uint8_t)_recChannels); in InitRecording()
2237 if (_inStreamFormat.mChannelsPerFrame >= 2 && (_recChannels == 2)) { in HandleStreamFormatChange()
2242 _recChannels = 1; in HandleStreamFormatChange()
2250 _ptrAudioBuffer->SetRecordingChannels((uint8_t)_recChannels); in HandleStreamFormatChange()
Daudio_device_mac.h313 uint8_t _recChannels; variable
/external/webrtc/webrtc/modules/audio_device/win/
Daudio_device_wave_win.cc81 _recChannels(N_REC_CHANNELS), in AudioDeviceWindowsWave()
1000 _recChannels = 2; in SetStereoRecording()
1002 _recChannels = 1; in SetStereoRecording()
1014 if (_recChannels == 2) in StereoRecording()
1841 waveFormat.nChannels = _recChannels; // mono <=> 1, stereo <=> 2 in InitRecording()
2634 const uint8_t nBytesPerSample = 2*_recChannels; in PrepareStartRecording()
3202 const uint16_t bytesPerSample = 2*_recChannels; in RecProc()
3637 const uint16_t bytesPerSample = 2*_recChannels; in MonitorRecording()
Daudio_device_core_win.cc436 _recChannels(2), in AudioDeviceWindowsCore()
1410 _recChannels = 2; in SetStereoRecording()
1416 _recChannels = 1; in SetStereoRecording()
1429 if (_recChannels == 2) in StereoRecording()
2445 _recChannels = ptrWav->nChannels; in InitRecordingDMO()
2459 _ptrAudioBuffer->SetRecordingChannels(_recChannels); in InitRecordingDMO()
2611 _recChannels = Wfx.nChannels; in InitRecording()
2624 WEBRTC_TRACE(kTraceInfo, kTraceAudioDevice, _id, "_recChannels : %d", _recChannels); in InitRecording()
2657 _ptrAudioBuffer->SetRecordingChannels((uint8_t)_recChannels); in InitRecording()
Daudio_device_wave_win.h252 uint8_t _recChannels; variable
Daudio_device_core_win.h332 uint32_t _recChannels; variable