spdif: When active indicate the bitrate
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
7c0d1a8ca5
commit
484e0f5295
@ -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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user