From: Giuliano Pochini <pochini@shiny.it>
To: Clemens Ladisch <clemens@ladisch.de>
Cc: alsa-devel@lists.sourceforge.net, danny@mailmij.org
Subject: Re: period/buffer bug on pmac ?
Date: Tue, 16 Nov 2004 10:57:54 +0100 (CET) [thread overview]
Message-ID: <XFMail.20041116105754.pochini@shiny.it> (raw)
In-Reply-To: <Pine.HPX.4.33n.0411151745210.1491-100000@studcom.urz.uni-halle.de>
On 15-Nov-2004 Clemens Ladisch wrote:
> danny@mailmij.org wrote:
>> In the process of fixing up the alsa output plugin of bmp a bit I've come
>> upon a weird problem. The mp3s I was playing played to fast, with a
>> audible click each few millisecond. This seemed to only happen when the
>> period size was not a power of 2 (the output plugin used to set
>> period_time). I've now calculated the period_size myself from the rate and
>> set it to the nearest power of 2. Which seems to work fine,
>
> There is no general power-of-2 requirement in ALSA. The pmac driver
> doesn't set a hardware constraint; if the hardware requires power-of-2
> periods, it's a bug in the driver.
There in so such constraint set in the driver indeed. I don't know
that hardware, but it seems (at least on my G4MDD which has a Snapper
chip) that po2 is required.
--
Giuliano.
-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
next prev parent reply other threads:[~2004-11-16 9:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-11 21:17 period/buffer bug on pmac ? danny
2004-11-13 11:35 ` danny
2004-11-15 16:53 ` Clemens Ladisch
2004-11-16 9:57 ` Giuliano Pochini [this message]
2004-11-16 18:37 ` danny
2004-11-17 11:45 ` 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=XFMail.20041116105754.pochini@shiny.it \
--to=pochini@shiny.it \
--cc=alsa-devel@lists.sourceforge.net \
--cc=clemens@ladisch.de \
--cc=danny@mailmij.org \
/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