Searched refs:_recChannels (Results 1 – 12 of 12) sorted by relevance
/external/webrtc/webrtc/modules/audio_device/ |
D | audio_device_buffer.cc | 38 _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()
|
D | audio_device_buffer.h | 83 size_t _recChannels; variable
|
/external/webrtc/webrtc/modules/audio_device/linux/ |
D | audio_device_alsa_linux.cc | 83 _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 …]
|
D | audio_device_pulse_linux.cc | 46 _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()
|
D | audio_device_alsa_linux.h | 217 uint8_t _recChannels; variable
|
D | audio_device_pulse_linux.h | 300 uint8_t _recChannels; variable
|
/external/webrtc/webrtc/modules/audio_device/mac/ |
D | audio_device_mac.cc | 106 _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()
|
D | audio_device_mac.h | 313 uint8_t _recChannels; variable
|
/external/webrtc/webrtc/modules/audio_device/win/ |
D | audio_device_wave_win.cc | 81 _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()
|
D | audio_device_core_win.cc | 436 _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()
|
D | audio_device_wave_win.h | 252 uint8_t _recChannels; variable
|
D | audio_device_core_win.h | 332 uint32_t _recChannels; variable
|