summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-05-26 03:33:34 +0200
committerLennart Poettering <lennart@poettering.net>2009-05-26 03:33:34 +0200
commit777da3b5a25c2246cb79f663791dc7e6e43bb2d5 (patch)
tree9e9c8033de6ac3e80c7e64cf6d6f7a055a609c28
parent8d3f8a67a0fba847a9ef95fe93f2ca582067db8c (diff)
oss: document lacking multichannel support for oss
-rw-r--r--src/oss.c3
1 files changed, 3 insertions, 0 deletions
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);