On Sun, 16.11.08 10:18, Geert Hedde Bosman ([email protected]) wrote:

> Hi , 
> I've tried to use the libcanberra 0.10 library against OSS 4.1rc1 and could 
> not get the test-canberra to produce any sound. After a debugging session, i 
> found the following line in oss.c (open_oss() ) 
> 
>     ca_return_val_if_fail(ca_sound_file_get_nchannels(out->file) > 2, 
> CA_ERROR_NOTSUPPORTED);
> 
> and changed it into:
> 
>     ca_return_val_if_fail(ca_sound_file_get_nchannels(out->file) <= 2, 
> CA_ERROR_NOTSUPPORTED);
> 
> As the Gnome event sounds are mono or stereo sound files the assertion always 
> failed. I think the aim of this code line is to limit the supported sound 
> files to stereo or mono for OSS . Hence this change. 

Thanks for the pointer.

This is fixed now in git. Will be part of the next 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