]> git.tuebingen.mpg.de Git - paraslash.git/commit
audiod: Fix a bug in try_to_close_slot() for default config.
authorAndre Noll <maan@systemlinux.org>
Tue, 12 Jan 2010 00:01:34 +0000 (01:01 +0100)
committerAndre Noll <maan@systemlinux.org>
Tue, 12 Jan 2010 00:01:34 +0000 (01:01 +0100)
commitf99a902ab25a4f51d803b187e66ddc7ca0eb58a2
treef68e87a35ec800f2d7508a31cc975f2a6d34b361
parenta94872914afe2e9cc96bb9f8f931a34fb471bb11
audiod: Fix a bug in try_to_close_slot() for default config.

If the default writer is used because no --writer option was given,
a->num_writers is zero although we have one (the default) writer.
Handle this case correctly to avoid starting the receiver too early.
audiod.c