We are currently integrating OSS into Solaris, and testing the
libcanberra OSS backend, it seems to fail to play any sounds due to the
following line in open_oss in the file src/oss.c:

     ca_return_val_if_fail(ca_sound_file_get_nchannels(out->file) > 2,
                           CA_ERROR_NOTSUPPORTED);

Changing the ">" to ">=" seems to fix the problem.

I guess I don't see why libcanberra should require more than 2 channels
for the OSS backend to work.  I am assuming this is a bug, and it should
be changed to ">=".  Is that correct?  If so, can this be fixed
upstream?

Thanks,

Brian
_______________________________________________
libcanberra-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss

Reply via email to