spdif: When active indicate the bitrate
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2024-11-23 10:30:48 +01:00
parent 7c0d1a8ca5
commit 484e0f5295

View File

@ -53,6 +53,9 @@ func init() {
}
func (s *SPDIFSource) GetName() string {
if s.IsActive() {
return fmt.Sprintf("S/PDIF %.1f kHz", float32(s.Bitrate)/1000)
}
return "S/PDIF"
}