From: Stas Sergeev <stsp@aknet.ru>
To: Lee Revell <rlrevell@joe-job.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: nforce ac97 plays too fast
Date: Sun, 30 Sep 2007 14:12:07 +0400 [thread overview]
Message-ID: <46FF7677.8070304@aknet.ru> (raw)
In-Reply-To: <75b66ecd0709291851g47007518n48035588b5ffecef@mail.gmail.com>
Hello.
Lee Revell wrote:
> What ALSA tutorial are you looking at?
This one:
http://equalarea.com/paul/alsa-audio.html
But now I noticed that it passes the rate
as an integer, not as a pointer, so it might
be somehow outdated...
Nevertheless, libao doesn't check, which
is a problem.
> Direction is just a hint.
> http://www.alsa-project.org/alsa-doc/alsa-lib/group___p_c_m___h_w___params.html#ga3602c3c8912acf66c4db29f96608021
It says:
---
target/chosen exact value is <,=,> val following dir (-1,0,1)
---
Cannot parse, what does this mean?
Does this mean that dir is only set by
the call, and its initial value does not
matter? But it doesn't seem to be the
case either. No matter what value I set
the dir to, the rate is being set to 48000,
and the dir is set to 0.
Is this really an expected result?
If the initial value of dir is not counted
and the new value is always 0, then why
this parameter is needed at all?
> For example:
Yes, they seem to check the rate. But then
I don't understand what does this "dir" stand
for... And I guess the libao developers had
the same question. :)
prev parent reply other threads:[~2007-09-30 10:12 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-29 7:52 nforce ac97 plays too fast Stas Sergeev
2007-09-30 1:51 ` Lee Revell
2007-09-30 10:12 ` Stas Sergeev [this message]
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=46FF7677.8070304@aknet.ru \
--to=stsp@aknet.ru \
--cc=alsa-devel@alsa-project.org \
--cc=rlrevell@joe-job.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 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.