alsa-lib: Don't call the simple mixer interface "legacy"
PATCH 1/1 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(-)
include/mixer.h +2 -2
@@ -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 {
Signature · 8 lines
1.6.0.1 Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net ICQ# 11060553 http://0pointer.net/lennart/ GnuPG 0x1A015CC4
Quoted 4 lines · Lennart Poettering
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 <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, Red Hat, Inc.