Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Uli Franke <uli.franke@weiss.ch>
To: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: Dummy module and sample rates
Date: Wed, 23 Sep 2015 13:43:37 +0200	[thread overview]
Message-ID: <56029069.60700@weiss.ch> (raw)

Hi Clemens,

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. Did I miss anything?

Regards
Uli

____
uli@ankerklause:~/.../dlna/wdmr$ modinfo snd-dummy
filename:
/lib/modules/3.16.0-46-generic/kernel/sound/drivers/snd-dummy.ko
license:        GPL
description:    Dummy soundcard (/dev/null)
author:         Jaroslav Kysela <perex@perex.cz>
srcversion:     BB2C5716F580F3D7D0F53D1
depends:        snd-pcm,snd
intree:         Y
vermagic:       3.16.0-46-generic SMP mod_unload modversions 686
signer:         Magrathea: Glacier signing key
sig_key:        6C:3B:5C:5E:34:A0:6D:7D:5F:7D:A3:D0:50:98:75:D9:6C:6D:E6:C4
sig_hashalgo:   sha512
parm:           index:Index value for dummy soundcard. (array of int)
parm:           id:ID string for dummy soundcard. (array of charp)
parm:           enable:Enable this dummy soundcard. (array of bool)
parm:           model:Soundcard model. (array of charp)
parm:           pcm_devs:PCM devices # (0-4) for dummy driver. (array of
int)
parm:           pcm_substreams:PCM substreams # (1-128) for dummy
driver. (array of int)
parm:           fake_buffer:Fake buffer allocations. (bool)
parm:           hrtimer:Use hrtimer as the timer source. (bool)

             reply	other threads:[~2015-09-23 11:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-23 11:43 Uli Franke [this message]
2015-09-24  7:02 ` Dummy module and sample rates Clemens Ladisch
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=56029069.60700@weiss.ch \
    --to=uli.franke@weiss.ch \
    --cc=alsa-devel@alsa-project.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