aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/core
diff options
context:
space:
mode:
authorAndrew Gabbasov <andrew_gabbasov@mentor.com>2019-11-20 11:49:55 -0600
committerTakashi Iwai <tiwai@suse.de>2019-11-20 19:38:30 +0100
commitc6ae99605633cade7dc61a2b35b04dda90302dad (patch)
tree5d479dbe2e3e9af61cccbdbb4eb7ffc1f073d842 /sound/core
parentALSA: aloop: Support selection of snd_timer instead of jiffies (diff)
downloadwireguard-linux-c6ae99605633cade7dc61a2b35b04dda90302dad.tar.xz
wireguard-linux-c6ae99605633cade7dc61a2b35b04dda90302dad.zip
ALSA: aloop: Support runtime change of snd_timer via info interface
Show and change sound card timer source with read-write info file in proc filesystem. Initial string can still be set as module parameter. The timer source string value can be changed at any time, but it is latched by PCM substream open callback (the first one for a particular cable). At this point it is actually used, that is the string is parsed, and the timer is looked up and opened. The timer source is set for a loopback card (the same as initial setting by module parameter), but every cable uses the value, current at the moment of open. Setting the value to empty string switches the timer to jiffies. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Link: https://lore.kernel.org/r/20191120174955.6410-8-andrew_gabbasov@mentor.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
0 files changed, 0 insertions, 0 deletions