From: Jaroslav Kysela Date: Mon, 19 Jan 2004 19:51:59 +0000 (+0000) Subject: Remove not needed functions after open phase. X-Git-Tag: v1.0.3~47 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=6c3f250896072a5aad369fda9cb482f02b83afbf;p=alsa-lib.git Remove not needed functions after open phase. --- diff --git a/src/conf/cards/aliases.alisp b/src/conf/cards/aliases.alisp index cff78f7a..1661caa3 100644 --- a/src/conf/cards/aliases.alisp +++ b/src/conf/cards/aliases.alisp @@ -23,3 +23,7 @@ (setq r (if (null r) cardname r)) (unsetq r) ) + +(defun snd_card_alias_unset () + (unsetq snd_card_aliases_array snd_card_alias) +) diff --git a/src/conf/sndo-mixer.alisp b/src/conf/sndo-mixer.alisp index adf7c977..e60a3c4d 100644 --- a/src/conf/sndo-mixer.alisp +++ b/src/conf/sndo-mixer.alisp @@ -108,6 +108,7 @@ (defun sndo_mixer_close nil (sndo_mixer_close1 (nth 1 hctls) "c") (sndo_mixer_close1 (nth 0 hctls) "p") + (snd_card_alias_unset) (unsetq hctls) ) diff --git a/src/ordinary_mixer/ordinary_mixer.c b/src/ordinary_mixer/ordinary_mixer.c index d5d3c266..4f09d1ca 100644 --- a/src/ordinary_mixer/ordinary_mixer.c +++ b/src/ordinary_mixer/ordinary_mixer.c @@ -3,7 +3,7 @@ * \ingroup Mixer_ordinary * \brief Ordinary mixer interface * \author Jaroslav Kysela - * \date 2003 + * \date 2003,2004 * * Ordinary mixer interface is a high level abtraction for soundcard's * mixing.