diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/oss.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |