]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - osx_writer.c
Add UNIT_START errno
[paraslash.git] / osx_writer.c
index 3a52e1e7b62ee4f5a1189c245f2785bce9642e27..089b5d786177e5d6b0b5b521812549cbbe83d02c 100644 (file)
@@ -308,7 +308,7 @@ static int osx_write_post_select(__a_unused struct sched *s,
        wn->written = *wng->loaded;
        if (!powd->play) {
                if (AudioOutputUnitStart(powd->output))
-                       return -1;
+                       return -E_UNIT_START;
                powd->play = 1;
        }
        return 1;