From: Carlos Munoz <carlos@kenati.com>
To: Giuliano Pochini <pochini@shiny.it>
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: buffer_bytes not multiple of period_bytes
Date: Thu, 20 Apr 2006 10:50:43 -0700 [thread overview]
Message-ID: <4447C9F3.6040008@kenati.com> (raw)
In-Reply-To: <XFMail.20060420091724.pochini@shiny.it>
Giuliano Pochini wrote:
>On 20-Apr-2006 Carlos Munoz wrote:
>
>
>>Hi all,
>>
>>I just noticed that alsa doesn't allocate a buffer size that is a
>>multiple of the period size.
>>
>>
>
>It's not required. If it is not a multiple, then the IRQ happens
>in different points of the ring buffer each round. On some cards
>this is hard or impossible to do. In those cases you can add this
>constraint:
>
>if ((err = snd_pcm_hw_constraint_integer(runtime, SNDRV_PCM_HW_PARAM_PERIODS)) < 0)
> return err;
>
>
>
>
Hi Giuliano,
Yes, that solved the problem.
Thanks,
Carlos
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
prev parent reply other threads:[~2006-04-20 17:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-20 1:54 buffer_bytes not multiple of period_bytes Carlos Munoz
2006-04-20 7:13 ` Jaroslav Kysela
2006-04-20 7:17 ` Giuliano Pochini
2006-04-20 17:50 ` Carlos Munoz [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=4447C9F3.6040008@kenati.com \
--to=carlos@kenati.com \
--cc=alsa-devel@lists.sourceforge.net \
--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.