summaryrefslogtreecommitdiffstats
path: root/src/oss.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/oss.c')
-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);