mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[feat] add protocol to control audio capture
This commit is contained in:
@@ -88,10 +88,13 @@ int SpeakerCapturerWasapi::Start() {
|
||||
}
|
||||
|
||||
int SpeakerCapturerWasapi::Stop() {
|
||||
ma_device_stop(&device_);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int SpeakerCapturerWasapi::Destroy() {
|
||||
ma_device_uninit(&device_);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int SpeakerCapturerWasapi::Destroy() { return 0; }
|
||||
|
||||
int SpeakerCapturerWasapi::Pause() { return 0; }
|
||||
|
||||
Reference in New Issue
Block a user