aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorTimo Wischer <twischer@de.adit-jv.com>2019-11-20 11:49:54 -0600
committerTakashi Iwai <tiwai@suse.de>2019-11-20 19:38:30 +0100
commit26c53379f98d22d6a3e50bb146651dc7824334d7 (patch)
treea2f4b25734e253be6c23b7adebf650094296e774 /tools
parentALSA: aloop: Move CABLE_VALID_BOTH to the top of file (diff)
downloadlinux-dev-26c53379f98d22d6a3e50bb146651dc7824334d7.tar.xz
linux-dev-26c53379f98d22d6a3e50bb146651dc7824334d7.zip
ALSA: aloop: Support selection of snd_timer instead of jiffies
to do synchronous audio forwarding between hardware sound card and aloop devices. Such an audio route could look like the following: Sound card -> Loopback application -> ALSA loop device -> arecord In this case the loopback device should use the sound timer of the sound card. Without this patch the loopback application has to implement an adaptive sample rate converter to align the different clocks of the different ALSA devices. The used timer can be selected by referring to a sound card, its device and subdevice, when loading the module: $ modprobe snd_aloop enable=1 timer_source=[<card>[.<dev>[.<subdev>]]] <card> is the name (id) of the sound card or a card number. <dev> and <subdev> are device and subdevice numbers (defaults are 0). Empty string as a value of timer_source= parameter enables previous functionality (using jiffies timer). Signed-off-by: Timo Wischer <twischer@de.adit-jv.com> Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Link: https://lore.kernel.org/r/20191120174955.6410-7-andrew_gabbasov@mentor.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions