mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-12-21 06:59:08 +08:00
[fix] macOS: fix audio capture, refs #29
This commit is contained in:
@@ -365,13 +365,16 @@ int Render::StartSpeakerCapturer() {
|
||||
|
||||
if (speaker_capturer_) {
|
||||
speaker_capturer_->Start();
|
||||
start_speaker_capturer_ = true;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
int Render::StopSpeakerCapturer() {
|
||||
if (speaker_capturer_) {
|
||||
speaker_capturer_->Stop();
|
||||
start_speaker_capturer_ = false;
|
||||
}
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user