summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-01-07 02:59:57 +0100
committerLennart Poettering <lennart@poettering.net>2009-01-07 02:59:57 +0100
commita5482de427c3b088e10ea3c00a26cdb9c654e67e (patch)
tree89d3b0ecfd5ccfba901a9ce9dca7d4ede84ee13f
parentbd11793d149b798b8918744f60e926649e080101 (diff)
Fix check for Stereo/Mono files
This typo was pointed out by Geert Hedde Bosman.
-rw-r--r--src/oss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/oss.c b/src/oss.c
index 44194eb..9683ceb 100644
--- a/src/oss.c
+++ b/src/oss.c
@@ -234,7 +234,7 @@ static int open_oss(ca_context *c, struct outstanding *out) {
ca_return_val_if_fail(c, CA_ERROR_INVALID);
ca_return_val_if_fail(c->private, CA_ERROR_STATE);
ca_return_val_if_fail(out, CA_ERROR_INVALID);
- ca_return_val_if_fail(ca_sound_file_get_nchannels(out->file) > 2, CA_ERROR_NOTSUPPORTED);
+ ca_return_val_if_fail(ca_sound_file_get_nchannels(out->file) <= 2, CA_ERROR_NOTSUPPORTED);
p = PRIVATE(c);