mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 22:56:31 +01:00
Small fixes - Ville Syrjala <villes@syrjala.pp.sci.fi>
This commit is contained in:
parent
61e8186420
commit
56c35134f8
1 changed files with 3 additions and 3 deletions
|
@ -281,9 +281,9 @@ static const char *speaker_position(int position)
|
||||||
case SND_MIXER_VOICE_CENTER:
|
case SND_MIXER_VOICE_CENTER:
|
||||||
return "Center";
|
return "Center";
|
||||||
case SND_MIXER_VOICE_REAR_LEFT:
|
case SND_MIXER_VOICE_REAR_LEFT:
|
||||||
return "Read-Left";
|
return "Rear-Left";
|
||||||
case SND_MIXER_VOICE_REAR_RIGHT:
|
case SND_MIXER_VOICE_REAR_RIGHT:
|
||||||
return "Read-Right";
|
return "Rear-Right";
|
||||||
default:
|
default:
|
||||||
sprintf(str, "Speaker%i", position);
|
sprintf(str, "Speaker%i", position);
|
||||||
return str;
|
return str;
|
||||||
|
@ -832,7 +832,7 @@ static int parse_eid(const char *str, snd_mixer_eid_t *eid)
|
||||||
str++;
|
str++;
|
||||||
if (!isdigit(*str))
|
if (!isdigit(*str))
|
||||||
return 1;
|
return 1;
|
||||||
eid->type = atoi(str);
|
eid->index = atoi(str);
|
||||||
while (isdigit(*str))
|
while (isdigit(*str))
|
||||||
str++;
|
str++;
|
||||||
if (*str != ',')
|
if (*str != ',')
|
||||||
|
|
Loading…
Reference in a new issue