kvm/internal/audio
Marc Brooks 1ec9941103
Simplify audio management
Moved all start/stop of sources into audio (out of jsonrpc)
Clean up duplicated code, made direction a bool, more logging, made all source/relay atomics.
Eliminate SetConfig since we always set it during start.
Eliminate the extra initialized flag.
Properly detect when USB audio was previously active.
Relay has the pointer to the source, not a copy.
CgoSource (and stub) expose the AudioSource interface.
2025-11-17 22:21:47 -06:00
..
c Remove additional redundant comments 2025-11-18 02:01:12 +02:00
cgo_source.go Simplify audio management 2025-11-17 22:21:47 -06:00
cgo_source_stub.go Simplify audio management 2025-11-17 22:21:47 -06:00
relay.go Simplify audio management 2025-11-17 22:21:47 -06:00
source.go Simplify audio management 2025-11-17 22:21:47 -06:00