Re: [Alsa-user] Is it possible to get dmix working with an 8bits USB sound card?

2007-09-26 Thread Clemens Ladisch
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

Re: [Alsa-user] Is it possible to get dmix working with an 8bits USB sound card?

2007-09-24 Thread Clemens Ladisch
David Bourgeois wrote: Or can I imagine patching dmix to add support for 8 bits Please try this patch. Index: alsa/alsa-lib/src/pcm/pcm_dmix.c === --- alsa.orig/alsa-lib/src/pcm/pcm_dmix.c 2007-07-07 11:07:05.0

Re: [Alsa-user] Is it possible to get dmix working with an 8bits USB sound card?

2007-09-21 Thread Clemens Ladisch
David Bourgeois wrote: I have a USB sound card that only accepts unsigned 8 bits format (a tux droid). That works fine with plug but I can't get dmix working as SND_PCM_FORMAT_U8 is not in the supported formats of dmix. Is it possible to do the mix in another format (S16_LE) then have plug

[Alsa-user] Is it possible to get dmix working with an 8bits USB sound card?

2007-09-19 Thread David Bourgeois
I have a USB sound card that only accepts unsigned 8 bits format (a tux droid). That works fine with plug but I can't get dmix working as SND_PCM_FORMAT_U8 is not in the supported formats of dmix. static unsigned long long dmix_supported_format = (1ULL SND_PCM_FORMAT_S16_LE) | (1ULL