Mercurial > hg > xemacs-beta
diff src/linuxplay.c @ 209:41ff10fd062f r20-4b3
Import from CVS: tag r20-4b3
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:04:58 +0200 |
parents | 850242ba4a81 |
children | 52952cbfc5b5 |
line wrap: on
line diff
--- a/src/linuxplay.c Mon Aug 13 10:03:54 2007 +0200 +++ b/src/linuxplay.c Mon Aug 13 10:04:58 2007 +0200 @@ -825,6 +825,8 @@ fmt != the_fmt) { perror("SNDCTL_DSP_SETFMT"); return(0); } } + else if (fmt == AFMT_MU_LAW && the_fmt == AFMT_U8 ) { + /* the kernel will convert for us */ } else { perror("SNDCTL_DSP_SETFMT"); return(0); } }