alsactl: fix the copy-n-paste typo (SND_RAWMIDI_STREAM_*)

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2023-08-30 10:57:31 +02:00
parent 7e9bebad0b
commit 8ed9d7607f

View file

@ -236,9 +236,9 @@ int general_card_info(int cardno)
first = true; first = true;
if (err >= 0) if (err >= 0)
err = rawmidi_device_list(ctl, SND_PCM_STREAM_PLAYBACK, &first); err = rawmidi_device_list(ctl, SND_RAWMIDI_STREAM_INPUT, &first);
if (err >= 0) if (err >= 0)
err = rawmidi_device_list(ctl, SND_PCM_STREAM_CAPTURE, &first); err = rawmidi_device_list(ctl, SND_RAWMIDI_STREAM_OUTPUT, &first);
if (err >= 0) if (err >= 0)
err = hwdep_device_list(ctl); err = hwdep_device_list(ctl);