David Bourgeois wrote: > Can you tell me which version of alsa-lib you're using? I tried the > stable/development/HG versions but your patch didn't apply straightaway as > the line numbers differ. It should apply to the Hg version. > I patched it manually and had to add SND_PCM_FORMAT_U8 to > dmix_supported_format Oops. But this value should be added to generic_dmix_supported_format. > Now the sounds get through but there's a loop somewhere. If I play a song, > it sounds like each second the song is started again and mixed over the > previous one, so after 5 seconds it quickly saturates, playing > simultanously 5 times the same song with different starting times. It tests for a signed zero sample instead of an unsigned one. In the generic_mix_areas_u8 function, change the line if (!*dst) { to if (*dst == 0x80) { HTH Clemens ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user