From: Timur Tabi <timur@freescale.com>
To: Eliot Blennerhassett <linux@audioscience.com>
Cc: alsa-devel@alsa-project.org
Subject: Re: How can I make sure the period size is a multiple of 16?
Date: Thu, 06 Sep 2007 12:07:11 -0500 [thread overview]
Message-ID: <46E033BF.1010104@freescale.com> (raw)
In-Reply-To: <200709051229.54852.linux@audioscience.com>
Eliot Blennerhassett wrote:
> You need to add some constraints to your driver, in the open callback.
> E.g.
> snd_pcm_hw_constraint_step(runtime, 0, SNDRV_PCM_HW_PARAM_PERIOD_BYTES, 16);
Thanks. snd_pcm_hw_constraint_step() is not documented anywhere, and the
comments in the source code don't provide any clues, either. Even the "ALSA
Driver API" document just lists the function, but doesn't actually tell you
what it does.
--
Timur Tabi
Linux Kernel Developer @ Freescale
next prev parent reply other threads:[~2007-09-06 17:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-04 22:50 How can I make sure the period size is a multiple of 16? Timur Tabi
2007-09-05 0:29 ` Eliot Blennerhassett
2007-09-05 9:08 ` Clemens Ladisch
2007-09-05 9:55 ` Trent Piepho
2007-09-05 12:58 ` Takashi Iwai
2007-09-06 17:07 ` Timur Tabi [this message]
2007-09-06 17:14 ` Trent Piepho
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=46E033BF.1010104@freescale.com \
--to=timur@freescale.com \
--cc=alsa-devel@alsa-project.org \
--cc=linux@audioscience.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.