From: Jaroslav Kysela Date: Mon, 10 May 1999 12:29:59 +0000 (+0000) Subject: Small fixes - Ville Syrjala X-Git-Tag: v1.0.3~482 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=56c35134f884c903248d02b1db91b77f9d0e7983;p=alsa-utils.git Small fixes - Ville Syrjala --- diff --git a/amixer/amixer.c b/amixer/amixer.c index 79b9228..e8d0f6e 100644 --- a/amixer/amixer.c +++ b/amixer/amixer.c @@ -281,9 +281,9 @@ static const char *speaker_position(int position) case SND_MIXER_VOICE_CENTER: return "Center"; case SND_MIXER_VOICE_REAR_LEFT: - return "Read-Left"; + return "Rear-Left"; case SND_MIXER_VOICE_REAR_RIGHT: - return "Read-Right"; + return "Rear-Right"; default: sprintf(str, "Speaker%i", position); return str; @@ -832,7 +832,7 @@ static int parse_eid(const char *str, snd_mixer_eid_t *eid) str++; if (!isdigit(*str)) return 1; - eid->type = atoi(str); + eid->index = atoi(str); while (isdigit(*str)) str++; if (*str != ',')