diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-01-07 02:59:57 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-01-07 02:59:57 +0100 |
commit | a5482de427c3b088e10ea3c00a26cdb9c654e67e (patch) | |
tree | 89d3b0ecfd5ccfba901a9ce9dca7d4ede84ee13f | |
parent | bd11793d149b798b8918744f60e926649e080101 (diff) |
Fix check for Stereo/Mono files
This typo was pointed out by Geert Hedde Bosman.
-rw-r--r-- | src/oss.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |