Remove unreachable return statements.
Remove unreachable return statements from audio_device_alsa_linux.cc. This is blocking the chromium roll into webrtc. Bug: b/198565646 Change-Id: I6cd2a04d84f1ceabdba7b295e163b133869806fe Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/231122 Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Commit-Queue: Björn Terelius <terelius@webrtc.org> Cr-Commit-Position: refs/heads/main@{#34902}
This commit is contained in:

committed by
WebRTC LUCI CQ

parent
92e9ff6b70
commit
ebb01cce4e
@ -541,8 +541,6 @@ int32_t AudioDeviceLinuxALSA::MicrophoneVolumeIsAvailable(bool& available) {
|
||||
|
||||
int32_t AudioDeviceLinuxALSA::SetMicrophoneVolume(uint32_t volume) {
|
||||
return (_mixerManager.SetMicrophoneVolume(volume));
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t AudioDeviceLinuxALSA::MicrophoneVolume(uint32_t& volume) const {
|
||||
@ -855,8 +853,6 @@ int32_t AudioDeviceLinuxALSA::InitPlayoutLocked() {
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t AudioDeviceLinuxALSA::InitRecording() {
|
||||
@ -999,8 +995,6 @@ int32_t AudioDeviceLinuxALSA::InitRecordingLocked() {
|
||||
} else {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int32_t AudioDeviceLinuxALSA::StartRecording() {
|
||||
|
Reference in New Issue
Block a user