diff --git a/output/driver_unix.go b/output/driver_unix.go index 181c266..6999a59 100644 --- a/output/driver_unix.go +++ b/output/driver_unix.go @@ -182,11 +182,8 @@ func (out *output) setupPcm() error { // (Pause() or Close()) or there is an error. pcmHandle := out.pcmHandle go func() { - err := out.outputLoop(pcmHandle) - if err != nil { - out.err <- err - _ = out.Close() - } + out.err <- out.outputLoop(pcmHandle) + _ = out.Close() }() return nil