From: Takashi Iwai <tiwai@suse.de>
To: Mark Knecht <markknecht@gmail.com>
Cc: Giuliano Pochini <pochini@shiny.it>,
Patrick Shirkey <pshirkey@boosthardware.com>,
alsa-devel@lists.sourceforge.net
Subject: Re: Maintaining sound card at a specific frequency
Date: Tue, 18 Jan 2005 18:08:50 +0100 [thread overview]
Message-ID: <s5h651uwtp9.wl@alsa2.suse.de> (raw)
In-Reply-To: <5bdc1c8b05011809013ebf438e@mail.gmail.com>
At Tue, 18 Jan 2005 09:01:21 -0800,
Mark Knecht wrote:
>
> On Tue, 18 Jan 2005 17:48:30 +0100, Takashi Iwai <tiwai@suse.de> wrote:
> > At Tue, 18 Jan 2005 16:50:36 +0100 (CET),
> > Giuliano Pochini wrote:
> > >
> > >
> > > On 17-Jan-2005 Patrick Shirkey wrote:
> > >
> > > >> I guess I'm wondering if there isn't some .asoundrc magic that could
> > > >> be done in my Linux account on this machine that would tell all
> > > >> applications (other than Jack for now) to use some virtual device that
> > > >> handles all frequencies. If that virtual device was the default and
> > > >> the resampling (for Mozilla/games/whatever) was done in software and
> > > >> the sound cards frequency was never changed then I think things would
> > > >> work much better.
> > > >>
> > > >
> > > > I think you can use default as the device name in .asoundrc and it
> > > > will be used as the default device for all apps.
> > >
> > > IMHO we should think on a good solution for this problem. Some
> > > cards have many channels/voices but the sample rate is common
> > > for all of them. Currently the only clean way to manage it is
> > > a control that locks the sample rate at a given frequency, but
> > > it isn't a nice solution because it requires explicit user
> > > intervention. In the echoaudio driver I implemented a kludge
> > > that automatically locks the sample frequency in order to avoid
> > > unwanted rate changes.
> >
> > You can add a control to lock the sample rate (e.g. ICE1712).
> >
> >
> > Takashi
> >
>
> That could be a good solution if it would also set the initial
> frequency of the card.
The system clock of HDSP can be set via control API. So, it works
like:
amixer cset iface=PCM,name="Sample Clock Source" "Internal 48.0 kHz"
If this works like you want, only the locking is missing...
Takashi
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
next prev parent reply other threads:[~2005-01-18 17:08 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-16 21:05 Maintaining sound card at a specific frequency Mark Knecht
2005-01-17 5:14 ` Patrick Shirkey
2005-01-18 15:50 ` Giuliano Pochini
2005-01-18 16:48 ` Takashi Iwai
2005-01-18 17:01 ` Mark Knecht
2005-01-18 17:08 ` Takashi Iwai [this message]
2005-01-18 17:12 ` Mark Knecht
2005-01-18 17:15 ` Takashi Iwai
2005-01-18 17:43 ` Mark Knecht
2005-01-18 17:48 ` Takashi Iwai
2005-01-18 18:04 ` Mark Knecht
2005-01-18 17:31 ` Giuliano Pochini
2005-01-18 17:40 ` Takashi Iwai
2005-01-19 10:07 ` Giuliano Pochini
2005-01-18 17:45 ` Mark Knecht
2005-01-18 19:51 ` Takashi Iwai
2005-01-18 21:22 ` Mark Knecht
2005-01-18 21:30 ` Lee Revell
2005-01-18 23:16 ` Mark Knecht
2005-01-19 19:59 ` Mark Knecht
2005-01-19 9:07 ` Clemens Ladisch
2005-01-19 10:14 ` Takashi Iwai
2005-01-19 19:49 ` Mark Knecht
2005-01-19 21:09 ` Russ Pridemore
2005-01-19 23:08 ` Mark Knecht
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=s5h651uwtp9.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=markknecht@gmail.com \
--cc=pochini@shiny.it \
--cc=pshirkey@boosthardware.com \
/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