From: "Ville Syrjälä" <syrjala@sci.fi>
To: alsa-devel@lists.sourceforge.net
Cc: perex@suse.cz
Subject: [PATCH] GUS PCM fixes
Date: Fri, 10 May 2002 04:20:42 +0300 [thread overview]
Message-ID: <20020510042042.A8147@sci.fi> (raw)
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
next reply other threads:[~2002-05-10 1:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-10 1:20 Ville Syrjälä [this message]
2002-05-10 8:07 ` [PATCH] GUS PCM fixes Jaroslav Kysela
2002-05-10 15:43 ` Ville Syrjälä
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020510042042.A8147@sci.fi \
--to=syrjala@sci.fi \
--cc=alsa-devel@lists.sourceforge.net \
--cc=perex@suse.cz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox