diff options
author | Lennart Poettering <lennart@poettering.net> | 2009-05-26 03:33:34 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2009-05-26 03:33:34 +0200 |
commit | 777da3b5a25c2246cb79f663791dc7e6e43bb2d5 (patch) | |
tree | 9e9c8033de6ac3e80c7e64cf6d6f7a055a609c28 /src | |
parent | 8d3f8a67a0fba847a9ef95fe93f2ca582067db8c (diff) |
oss: document lacking multichannel support for oss
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); |