[alsa-devel] Dummy module and sample rates

Uli Franke uli.franke at weiss.ch
Wed Sep 23 13:43:37 CEST 2015


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 at 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 at 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)


More information about the Alsa-devel mailing list