Files
Reims-Go/internal/host/audio_other.go
T
千川白浪 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

24 lines
447 B
Go

//go:build !windows
package host
import "runtime"
// ProbeAudio returns a non-Windows stub audio report for dev/test hosts.
func ProbeAudio() AudioInfo {
def := "pipewire"
if runtime.GOOS == "darwin" {
def = "coreaudio"
}
return AudioInfo{
OutputCount: 1,
InputCount: 1,
DefaultBackend: def,
}
}
// FreeDiskBytesAt returns (0, false) on non-Windows stubs.
func FreeDiskBytesAt(_ string) (uint64, bool) {
return 0, false
}