Re: nforce ac97 plays too fast

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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. :)

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux