Update of /cvsroot/alsa/alsa-kernel/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2694/include
Modified Files: pcm.h Log Message: Clean up and optimization of PCM format-specific functions. - Use array indexing instead of huge swith/case. - Removed superfluous handling of floats. - Use memcpy for silencing to simplify the codes. Index: pcm.h =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/include/pcm.h,v retrieving revision 1.40 retrieving revision 1.41 diff -u -r1.40 -r1.41 --- pcm.h 19 Mar 2004 20:17:34 -0000 1.40 +++ pcm.h 9 Jun 2004 17:36:15 -0000 1.41 @@ -851,7 +851,7 @@ int snd_pcm_format_big_endian(snd_pcm_format_t format); int snd_pcm_format_width(snd_pcm_format_t format); /* in bits */ int snd_pcm_format_physical_width(snd_pcm_format_t format); /* in bits */ -u_int64_t snd_pcm_format_silence_64(snd_pcm_format_t format); +const unsigned char *snd_pcm_format_silence_64(snd_pcm_format_t format); int snd_pcm_format_set_silence(snd_pcm_format_t format, void *buf, unsigned int frames); snd_pcm_format_t snd_pcm_build_linear_format(int width, int unsignd, int big_endian); ssize_t snd_pcm_format_size(snd_pcm_format_t format, size_t samples); ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog