fix: 修复 Windows 音频设备函数可见性

This commit is contained in:
mofeng-git
2026-07-31 09:46:32 +08:00
parent 6fdcf5c7c9
commit 6bbe137f09
3 changed files with 10 additions and 5 deletions

View File

@@ -7,9 +7,11 @@ use crate::auth::{SessionStore, TwoFactorService, UserStore};
use crate::computer_use::ComputerUseManager;
use crate::config::ConfigStore;
use crate::db::DatabasePool;
#[cfg(unix)]
use crate::events::MsdDeviceMediaInfo;
use crate::events::{
AtxDeviceInfo, AudioDeviceInfo, EventBus, HidDeviceInfo, LedState, MsdDeviceInfo,
MsdDeviceMediaInfo, SystemEvent, TtydDeviceInfo, VideoDeviceInfo,
AtxDeviceInfo, AudioDeviceInfo, EventBus, HidDeviceInfo, LedState, MsdDeviceInfo, SystemEvent,
TtydDeviceInfo, VideoDeviceInfo,
};
use crate::extensions::{ExtensionId, ExtensionManager};
use crate::hid::HidController;