[alsa-devel] [PATCH] alsa-lib: Don't call the simple mixer interface "legacy"
The simpler mixer interface is not legacy, so the header file shouldn't claim otherwise.
Fixes bug 3569
Lennart
--- include/mixer.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/mixer.h b/include/mixer.h index 59deb9f..df92164 100644 --- a/include/mixer.h +++ b/include/mixer.h @@ -88,7 +88,7 @@ typedef int (*snd_mixer_event_t)(snd_mixer_class_t *class_, unsigned int mask,
/** Mixer element type */ typedef enum _snd_mixer_elem_type { - /* Simple (legacy) mixer elements */ + /* Simple mixer elements */ SND_MIXER_ELEM_SIMPLE, SND_MIXER_ELEM_LAST = SND_MIXER_ELEM_SIMPLE } snd_mixer_elem_type_t; @@ -166,7 +166,7 @@ int snd_mixer_class_set_compare(snd_mixer_class_t *class_, snd_mixer_compare_t c * { */
-/* Simple (legacy) mixer elements API */ +/* Simple mixer elements API */
/** Mixer simple element channel identifier */ typedef enum _snd_mixer_selem_channel_id {
On Sun, 31 Aug 2008, Lennart Poettering wrote:
The simpler mixer interface is not legacy, so the header file shouldn't claim otherwise.
Fixes bug 3569
Thanks for patches. All three are in ALSA's alsa-lib git repo now.
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.
participants (2)
-
Jaroslav Kysela
-
Lennart Poettering