From: Clemens Ladisch <clemens@ladisch.de>
To: Uli Franke <uli.franke@weiss.ch>,
"alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Re: Dummy module and sample rates
Date: Thu, 24 Sep 2015 09:02:11 +0200 [thread overview]
Message-ID: <56039FF3.3030203@ladisch.de> (raw)
In-Reply-To: <56029069.60700@weiss.ch>
Uli Franke wrote:
> I fiddled around with the Dummy module and it seems to be the thing
> we're looking for. I observed a rather strange behavior though:
>
> I set the hw params sample rate to 44k1 without error, but a subsequent
> call of snd_pcm_start returns EPIPE. When setting hw params sample rate
> to 4k this does not happen.
In theory, this error code is returned if you didn't write any samples
into the buffer before starting.
An underrun is possible too, but should be reported later AFAIK.
Could you check if a larger buffer size helps?
Regards,
Clemens
next prev parent reply other threads:[~2015-09-24 7:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-23 11:43 Dummy module and sample rates Uli Franke
2015-09-24 7:02 ` Clemens Ladisch [this message]
2015-09-24 10:49 ` Uli Franke
2015-09-24 18:40 ` Clemens Ladisch
2015-10-10 7:59 ` Raymond Yau
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=56039FF3.3030203@ladisch.de \
--to=clemens@ladisch.de \
--cc=alsa-devel@alsa-project.org \
--cc=uli.franke@weiss.ch \
/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.