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
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue