From: Paul Davis <paul@linuxaudiosystems.com>
To: alsa-devel@lists.sourceforge.net
Subject: patch for hammerfall driver
Date: Sun, 2 Feb 2003 16:37:46 -0500 [thread overview]
Message-ID: <200302022137.h12LbkD30723@linuxaudiosystems.com> (raw)
i don't know how we ended up with such incorrect values for the
period/buffer size limits, but this corrects them. this previously
prevented applications from requesting a period size of 8192
frames. an identical patch is needed for the hdsp driver. i'll post
one tomorrow if jaroslav or takashi don't want to just hand-apply this
one. let me know.
--p
Index: rme9652.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/rme9652/rme9652.c,v
retrieving revision 1.22
diff -u -u -r1.22 rme9652.c
--- rme9652.c 14 Jul 2002 21:01:18 -0000 1.22
+++ rme9652.c 2 Feb 2003 21:31:49 -0000
@@ -2279,9 +2279,9 @@
rate_max: 96000,
channels_min: 10,
channels_max: 26,
- buffer_bytes_max: 1024*1024,
- period_bytes_min: 1,
- period_bytes_max: 1024*1024,
+ buffer_bytes_max: RME9652_CHANNEL_BUFFER_BYTES * 26,
+ period_bytes_min: (64 * sizeof(int)) * 10,
+ period_bytes_max: (8192 * sizeof(int)) * 26,
periods_min: 2,
periods_max: 2,
fifo_size: 0,
@@ -2302,9 +2302,9 @@
rate_max: 96000,
channels_min: 10,
channels_max: 26,
- buffer_bytes_max: 1024*1024,
- period_bytes_min: 1,
- period_bytes_max: 1024*1024,
+ buffer_bytes_max: RME9652_CHANNEL_BUFFER_BYTES *26,
+ period_bytes_min: (64 * sizeof(int)) * 10,
+ period_bytes_max: (8192 * sizeof(int)) * 26,
periods_min: 2,
periods_max: 2,
fifo_size: 0,
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
next reply other threads:[~2003-02-02 21:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-02 21:37 Paul Davis [this message]
2003-02-03 9:57 ` patch for hammerfall driver Takashi Iwai
[not found] ` <3E3E6079.2050905@monmouth.com>
2003-02-03 12:40 ` Takashi Iwai
2003-02-03 14:49 ` Paul Davis
2003-02-04 11:10 ` 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=200302022137.h12LbkD30723@linuxaudiosystems.com \
--to=paul@linuxaudiosystems.com \
--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