From: Paul Davis <paul@linuxaudiosystems.com>
To: Giuliano Pochini <pochini@shiny.it>
Cc: Arve Knudsen <aknuds-1@broadpark.no>,
alsa-devel@lists.sourceforge.net,
Mark Knecht <mknecht@controlnet.com>
Subject: Re: Can't set 88.2/96kHz samplerate with Hammerfall
Date: Fri, 05 Dec 2003 09:30:15 -0500 [thread overview]
Message-ID: <200312051430.hB5EUFfj025740@oud.linuxaudiosystems.com> (raw)
In-Reply-To: Your message of "Fri, 05 Dec 2003 14:57:25 +0100." <XFMail.20031205145725.pochini@shiny.it>
>
>> Actually, I'm not completely opposed to the idea. But I am totally
>> clueless when it comes to writing device drivers, and would have no
>> idea where to start.
>
>Start here: http://www.alsa-project.org/documentation.php3#Driver
>
>You don't have to start writing the driver from scratch. You only
>have to fix the current driver so you can also select 96KHz from
>the PCM interface. The API is not difficult to learn.
there's almost no API work to do. the problem is really simple and
already solved in a closely related driver.
when you change between an SS (44.1/48) and DS rate (88.2/96), it
changes the channel count. this would be a bad thing if the PCM device
is open, because it alters all the addresses of the channel buffers
etc. etc. so the driver prevents you from doing this if the PCM device
is open. this creates a paradox, because you've already got the device
open.
the hdsp driver takes a different approach to this, even though it
faces an identical problem. its a better design, one based on our
experience with the digi9652 driver and its shortcomings. i'd love to
go in and fix the digi9652, but short of some compelling reason for me
to do so, with the work on ardour+jack at the level it is right now, i
just don't have time.
>> Do you know if RME were forthcoming with specs?
>
>I asked for infos one year ago, but they just said no.
they don't want to get involved with lots of people being sent
specs. the driver itself is the best source of documentation - its
more accurate than the information they sent me :)
--p
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
next prev parent reply other threads:[~2003-12-05 14:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-04 12:47 via82xx 1.0.0rc1 experience Tim Goetze
2003-12-04 12:19 ` Takashi Iwai
2003-12-04 14:04 ` Tim Goetze
2003-12-04 14:32 ` Can't set 88.2/96kHz samplerate with Hammerfall Arve Knudsen
2003-12-04 14:41 ` Mark Knecht
2003-12-05 1:14 ` Arve Knudsen
2003-12-04 17:43 ` Mark Knecht
2003-12-05 11:50 ` Arve Knudsen
2003-12-05 12:46 ` Paul Davis
2003-12-05 13:57 ` Giuliano Pochini
2003-12-05 14:30 ` Paul Davis [this message]
2003-12-04 22:25 ` Paul Davis
2003-12-05 12:54 ` Arve Knudsen
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=200312051430.hB5EUFfj025740@oud.linuxaudiosystems.com \
--to=paul@linuxaudiosystems.com \
--cc=aknuds-1@broadpark.no \
--cc=alsa-devel@lists.sourceforge.net \
--cc=mknecht@controlnet.com \
--cc=pochini@shiny.it \
/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 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.