From 65dde04e4efa13a955199dcba94a58997eb0ec20 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Tue, 27 Feb 2001 12:27:04 +0000 Subject: [PATCH] Corrected IEC958 control name --- aplay/aplay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aplay/aplay.c b/aplay/aplay.c index 5eaacd3..b73bce6 100644 --- a/aplay/aplay.c +++ b/aplay/aplay.c @@ -456,7 +456,7 @@ int main(int argc, char *argv[]) snd_ctl_elem_value_set_interface(ctl, SND_CTL_ELEM_IFACE_PCM); snd_ctl_elem_value_set_device(ctl, snd_pcm_info_get_device(info)); snd_ctl_elem_value_set_subdevice(ctl, snd_pcm_info_get_subdevice(info)); - snd_ctl_elem_value_set_name(ctl, "IEC958 (S/PDIF) Stream"); + snd_ctl_elem_value_set_name(ctl, SND_CTL_NAME_IEC958("",PLAYBACK,PCM_STREAM)); snd_ctl_elem_value_set_iec958(ctl, &spdif); ctl_card = snd_pcm_info_get_card(info); if (ctl_card < 0) {