Fix the problom that on Linux no external audio device can be selected since #9243.
In #9243 we added some thread_checker. But it shouldn't be added into PlayoutDevices() and RecordingDevices(), since these two will be invoked from RecThread and PlayoutThread too, other than the main thread. BUG=webrtc:4852 TEST=voe_cmd_test R=henrika@webrtc.org Review URL: https://codereview.webrtc.org/1249573002 . Cr-Commit-Position: refs/heads/master@{#9605}
This commit is contained in:
parent
2981945bcf
commit
343714eb06
@ -891,7 +891,6 @@ int32_t AudioDeviceLinuxPulse::MicrophoneVolumeStepSize(
|
||||
|
||||
int16_t AudioDeviceLinuxPulse::PlayoutDevices()
|
||||
{
|
||||
DCHECK(thread_checker_.CalledOnValidThread());
|
||||
PaLock();
|
||||
|
||||
pa_operation* paOperation = NULL;
|
||||
@ -1029,7 +1028,6 @@ int32_t AudioDeviceLinuxPulse::RecordingDeviceName(
|
||||
|
||||
int16_t AudioDeviceLinuxPulse::RecordingDevices()
|
||||
{
|
||||
DCHECK(thread_checker_.CalledOnValidThread());
|
||||
PaLock();
|
||||
|
||||
pa_operation* paOperation = NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user