Files
Reims-Go/internal/host/audio.go
T
Nwflower b2f7f036d8 feat(m5): add macOS prev-lang preset, disk resize/compact, audio diagnostics, and VM thumbnails
- M5.5: add pure-Go internal/opencore reader/in-place patcher for OpenCore NVRAM prev-lang:kbd with sidecar persistence, automatic replay after update-opencore/graphics changes/CoW clones, wizard/settings/CLI (--guest-lang) support
- M5.6: add stopped VM disk resize (qemu-img resize + dynamic macOS APFS expand command) and standalone qcow2 compaction (backing-file guard, free-space check, qemu-img check, atomic swap) in GUI Settings and CLI (vm resize/compact)
- M5.9: add Win32 winmm audio output/input device probing, fix reims-ctl show audio_backend parsing, expose audio backend selector (auto/dsound/none) and latency/mic diagnostics in Settings & CLI
- UI & thumbnails: add QMP screendump VM thumbnails (internal/thumb, thumbnail_flow.go), VMPage/CreateWizard layout polish, and docs/ui-audit.md
- Update docs/roadmap.md for M5.5, M5.6, and M5.9
2026-11-28 10:17:54 -07:00

15 lines
674 B
Go

package host
// AudioInfo summarizes host audio playback and recording devices detected via
// the same OS primitives upstream reims-ctl checks (Windows waveOut/waveIn).
// Upstream reims-ctl (3731afd, qemu.rs:635-690) routes QEMU DirectSound to
// `none` when no output device exists, and routes the VM microphone alone to
// `none` (silence) when no recording device exists.
type AudioInfo struct {
OutputCount int `json:"output_count"`
InputCount int `json:"input_count"`
OutputDevices []string `json:"output_devices,omitempty"`
InputDevices []string `json:"input_devices,omitempty"`
DefaultBackend string `json:"default_backend,omitempty"`
}