On Thu, 15.01.09 18:01, Brian Cameron ([email protected]) wrote:

> 
> 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?

This was fixed a few weeks ago in git already:

http://git.0pointer.de/?p=libcanberra.git;a=commitdiff;h=a5482de427c3b088e10ea3c00a26cdb9c654e67e

I guess I really should do a new release.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4
_______________________________________________
libcanberra-discuss mailing list
[email protected]
https://tango.0pointer.de/mailman/listinfo/libcanberra-discuss

Reply via email to