On 05/05/12 16:14, Christos Zoulas wrote:
No, there was an error in the makefile. Now it does and it works. Sound plays.On May 5, 3:28pm, riccardo.mottola%libero.it@localhost (Riccardo Mottola) wrote: -- Subject: Re: Porting an OSS application | This did not happen before... did I have a problem with the distribution | update? did some symbol change? Did you link with -lossaudio?
Your changes + the "## __VA_ARGS__" make the application work. Before, with the borken ioctl, the device did not reset properly. (the 2012-05-02 12:33:22.237 Cynthiune[19288] error preparing output for 1 channels at a rate of 22050 error)
Please add the gnu-specific thing and perhaps it is worth back-porting to the 5.x series of netbsd?
Riccardo