Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Krzysztof Helt" <krzysztof.h1@wp.pl>
To: alsa-devel <alsa-devel@lists.sourceforge.net>
Subject: SB16 ISA max frequency bump to 48kHz
Date: Fri, 10 Nov 2006 07:47:28 +0100	[thread overview]
Message-ID: <455420809a154@wp.pl> (raw)

[-- Attachment #1: Type: text/plain, Size: 419 bytes --]

Hello,

This patch  bumps maximum frequency for ISA SB16 to 48kHz. I
tested it on three cards: SB16 non-pnp, SB16 pnp and SB AWE64
(all ISA boards).

Regards,
Krzysztof Helt

----------------------------------------------------
Champions On Ice - Olimpijscy mistrzowie tańca na lodzie!
Zobacz spektakularne widowisko - Kliknij:
http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fd33.html&sid=927

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: sb.diff --]
[-- Type: text/x-patch; name="sb.diff", Size: 1156 bytes --]

diff -urp linux-2.6.18.old/sound/isa/sb/sb16_main.c linux-2.6.18/sound/isa/sb/sb16_main.c
--- linux-2.6.18.old/sound/isa/sb/sb16_main.c	2006-11-09 19:31:19.000000000 +0100
+++ linux-2.6.18/sound/isa/sb/sb16_main.c	2006-11-09 19:34:56.000000000 +0100
@@ -478,9 +478,9 @@ static struct snd_pcm_hardware snd_sb16_
 	.info =			(SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_INTERLEAVED |
 				 SNDRV_PCM_INFO_MMAP_VALID),
 	.formats =		0,
-	.rates =		SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_44100,
+	.rates =		SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000,
 	.rate_min =		4000,
-	.rate_max =		44100,
+	.rate_max =		48000,
 	.channels_min =		1,
 	.channels_max =		2,
 	.buffer_bytes_max =	(128*1024),
@@ -496,9 +496,9 @@ static struct snd_pcm_hardware snd_sb16_
 	.info =			(SNDRV_PCM_INFO_MMAP | SNDRV_PCM_INFO_INTERLEAVED |
 				 SNDRV_PCM_INFO_MMAP_VALID),
 	.formats =		0,
-	.rates =		SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_44100,
+	.rates =		SNDRV_PCM_RATE_CONTINUOUS | SNDRV_PCM_RATE_8000_48000,
 	.rate_min =		4000,
-	.rate_max =		44100,
+	.rate_max =		48000,
 	.channels_min =		1,
 	.channels_max =		2,
 	.buffer_bytes_max =	(128*1024),

[-- Attachment #3: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

[-- Attachment #4: Type: text/plain, Size: 161 bytes --]

_______________________________________________
Alsa-devel mailing list
Alsa-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-devel

             reply	other threads:[~2006-11-10  6:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10  6:47 Krzysztof Helt [this message]
2006-11-10 11:39 ` SB16 ISA max frequency bump to 48kHz Takashi Iwai
2006-11-10 15:09   ` Rene Herman
2006-11-11  3:53     ` Rene Herman
2006-11-11 14:34       ` Krzysztof Helt
2006-11-13  9:53         ` Takashi Iwai

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=455420809a154@wp.pl \
    --to=krzysztof.h1@wp.pl \
    --cc=alsa-devel@lists.sourceforge.net \
    /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