mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-23 02:56:30 +01:00
Corrected IEC958 control name
This commit is contained in:
parent
4200ac00a4
commit
65dde04e4e
1 changed files with 1 additions and 1 deletions
|
@ -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_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_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_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);
|
snd_ctl_elem_value_set_iec958(ctl, &spdif);
|
||||||
ctl_card = snd_pcm_info_get_card(info);
|
ctl_card = snd_pcm_info_get_card(info);
|
||||||
if (ctl_card < 0) {
|
if (ctl_card < 0) {
|
||||||
|
|
Loading…
Reference in a new issue