#if 0 snd_printk("get_format: 0x%x (mode=0x%x)\n", format, mode); #endif 
static unsigned char snd_cs4231_get_format(cs4231_t *chip, int format, int channels){	unsigned char rformat;	rformat = CS4231_LINEAR_8;	switch (format) {	case SNDRV_PCM_FORMAT_MU_LAW:	rformat = CS4231_ULAW_8; break;	case SNDRV_PCM_FORMAT_A_LAW:	rformat = CS4231_ALAW_8; break;	case SNDRV_PCM_FORMAT_S16_LE:	rformat = CS4231_LINEAR_16; break;	case SNDRV_PCM_FORMAT_S16_BE:	rformat = CS4231_LINEAR_16_BIG; break;	case SNDRV_PCM_FORMAT_IMA_ADPCM:	rformat = CS4231_ADPCM_16; break;	}	if (channels > 1)		rformat |= CS4231_STEREO;#if 0	snd_printk("get_format: 0x%x (mode=0x%x)\n", format, mode);#endif	return rformat;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/a131430c200f6bda313bf5d0a8e238c41afdfe0a/cs4231.c/clean/sound/sparc/cs4231.c