/[openvortex]/alsa/alsa-kernel/core/oss/route.c
ViewVC logotype

Diff of /alsa/alsa-kernel/core/oss/route.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.1.1 by vizard, Tue Apr 15 21:53:13 2003 UTC revision 1.2 by vizard, Mon Aug 11 00:06:38 2003 UTC
# Line 518  int getput_index(int format) Line 518  int getput_index(int format)
518          int sign, width, endian;          int sign, width, endian;
519          sign = !snd_pcm_format_signed(format);          sign = !snd_pcm_format_signed(format);
520          width = snd_pcm_format_width(format) / 8 - 1;          width = snd_pcm_format_width(format) / 8 - 1;
521            if (width < 0 || width > 3) {
522                    snd_printk(KERN_ERR "snd-pcm-oss: invalid format %d\n", format);
523                    width = 0;
524            }
525  #ifdef SNDRV_LITTLE_ENDIAN  #ifdef SNDRV_LITTLE_ENDIAN
526          endian = snd_pcm_format_big_endian(format);          endian = snd_pcm_format_big_endian(format);
527  #else  #else

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26