From 777da3b5a25c2246cb79f663791dc7e6e43bb2d5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 26 May 2009 03:33:34 +0200 Subject: oss: document lacking multichannel support for oss --- src/oss.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/oss.c b/src/oss.c index 866c863..6135780 100644 --- a/src/oss.c +++ b/src/oss.c @@ -234,6 +234,9 @@ 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); + + /* In OSS we have no way to configure a channel mapping for + * multichannel streams. We cannot support those files hence */ ca_return_val_if_fail(ca_sound_file_get_nchannels(out->file) <= 2, CA_ERROR_NOTSUPPORTED); p = PRIVATE(c); -- cgit