mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-03-18 05:33:44 -04:00
control: remap - fix an infinite recursive call in the async callback
The function snd_ctl_remap_async will call itself infinitely. Looks like
a typo.
Fixes: a64391a42 ("control: remap plugin - initial version")
Signed-off-by: Chih-Wei Huang <cwhuang@linux.org.tw>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
8253c1c1f9
commit
f4c061f349
1 changed files with 1 additions and 1 deletions
|
|
@ -323,7 +323,7 @@ static int snd_ctl_remap_nonblock(snd_ctl_t *ctl, int nonblock)
|
||||||
static int snd_ctl_remap_async(snd_ctl_t *ctl, int sig, pid_t pid)
|
static int snd_ctl_remap_async(snd_ctl_t *ctl, int sig, pid_t pid)
|
||||||
{
|
{
|
||||||
snd_ctl_remap_t *priv = ctl->private_data;
|
snd_ctl_remap_t *priv = ctl->private_data;
|
||||||
return snd_ctl_remap_async(priv->child, sig, pid);
|
return snd_ctl_async(priv->child, sig, pid);
|
||||||
}
|
}
|
||||||
|
|
||||||
static int snd_ctl_remap_subscribe_events(snd_ctl_t *ctl, int subscribe)
|
static int snd_ctl_remap_subscribe_events(snd_ctl_t *ctl, int subscribe)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue