All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] GUS PCM fixes
@ 2002-05-10  1:20 Ville Syrjälä
  2002-05-10  8:07 ` Jaroslav Kysela
  0 siblings, 1 reply; 3+ messages in thread
From: Ville Syrjälä @ 2002-05-10  1:20 UTC (permalink / raw)
  To: alsa-devel; +Cc: perex

Here's a fix for gus pcm rate limits and interwave pcm name.

Index: alsa-kernel/isa/gus/gus_pcm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/gus/gus_pcm.c,v
retrieving revision 1.8
diff -u -r1.8 gus_pcm.c
--- alsa-kernel/isa/gus/gus_pcm.c	18 Feb 2002 13:21:15 -0000
1.8
+++ alsa-kernel/isa/gus/gus_pcm.c	10 May 2002 01:13:43 -0000
@@ -38,7 +38,7 @@
 
 /* maximum rate */
 
-#define SNDRV_GF1_PCM_RATE		48000
+#define SNDRV_GF1_PCM_RATE		44100
 
 #define SNDRV_GF1_PCM_PFLG_NONE		0
 #define SNDRV_GF1_PCM_PFLG_ACTIVE	(1<<0)
@@ -624,7 +624,7 @@
 				 SNDRV_PCM_FMTBIT_S16_LE |
SNDRV_PCM_FMTBIT_U16_LE),
 	rates:			SNDRV_PCM_RATE_CONTINUOUS |
SNDRV_PCM_RATE_8000_44100,
 	rate_min:		5510,
-	rate_max:		48000,
+	rate_max:		44100,
 	channels_min:		1,
 	channels_max:		2,
 	buffer_bytes_max:	(128*1024),
Index: alsa-kernel/isa/gus/interwave.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/isa/gus/interwave.c,v
retrieving revision 1.11
diff -u -r1.11 interwave.c
--- alsa-kernel/isa/gus/interwave.c	18 Mar 2002 14:27:50 -0000
1.11
+++ alsa-kernel/isa/gus/interwave.c	10 May 2002 01:13:44 -0000
@@ -805,7 +805,7 @@
 		return err;
 	}
 	sprintf(pcm->name + strlen(pcm->name), " rev %c", gus->revision +
'A');
-	strcat(pcm->name, " (chip)");
+	strcat(pcm->name, " (codec)");
 	if ((err = snd_cs4231_timer(cs4231, 2, NULL)) < 0) {
 		snd_card_free(card);
 		return err;

-- 
Ville Syrjälä
syrjala@sci.fi
http://www.sci.fi/~syrjala/

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: bandwidth@sourceforge.net

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-05-10 15:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-10  1:20 [PATCH] GUS PCM fixes Ville Syrjälä
2002-05-10  8:07 ` Jaroslav Kysela
2002-05-10 15:43   ` Ville Syrjälä

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.