🩹 Add missing newlines to printf
This commit is contained in:
2
jack.go
2
jack.go
@ -32,7 +32,7 @@ func stopJack() {
|
||||
|
||||
func registerJackPort(name string, channels uint8, flags uint64) []*jack.Port {
|
||||
if channels > 2 {
|
||||
fmt.Printf("WARN! Parameters of jack port %s changed: more than 2 channels not implemented, using 2 channels", name)
|
||||
fmt.Printf("WARN! Parameters of jack port %s changed: more than 2 channels not implemented, using 2 channels\n", name)
|
||||
channels = 2
|
||||
}
|
||||
|
||||
|
@ -80,7 +80,7 @@ func registerPort(port *Port, portType string) {
|
||||
}
|
||||
port.object = registerJackPort(port.Name, port.Properties.Channels, uint64(jackFlag))
|
||||
default:
|
||||
fmt.Printf("WARN! Error loading port %s: Backend %s is not implemented!", port.UUID, backend)
|
||||
fmt.Printf("WARN! Error loading port %s: Backend %s is not implemented!\n", port.UUID, backend)
|
||||
}
|
||||
}
|
||||
|
||||
@ -93,7 +93,7 @@ func unregisterPort(port *Port) {
|
||||
unregisterJackPort(port.object)
|
||||
port.object = nil
|
||||
default:
|
||||
fmt.Printf("WARN! Error unloading port %s: Backend %s is not implemented!", port.UUID, backend)
|
||||
fmt.Printf("WARN! Error unloading port %s: Backend %s is not implemented!\n", port.UUID, backend)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user