]> git.alsa-project.org Git - alsa-utils.git/commitdiff
alsactl: fix the copy-n-paste typo (SND_RAWMIDI_STREAM_*)
authorJaroslav Kysela <perex@perex.cz>
Wed, 30 Aug 2023 08:57:31 +0000 (10:57 +0200)
committerJaroslav Kysela <perex@perex.cz>
Wed, 30 Aug 2023 08:57:31 +0000 (10:57 +0200)
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
alsactl/info.c

index 3e4b9486d720c92587b386aba1ce6e06961bba0c..1d648d8703817677aa2f2c8ec4b869582f970df5 100644 (file)
@@ -236,9 +236,9 @@ int general_card_info(int cardno)
 
        first = true;
        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)
-               err = rawmidi_device_list(ctl, SND_PCM_STREAM_CAPTURE, &first);
+               err = rawmidi_device_list(ctl, SND_RAWMIDI_STREAM_OUTPUT, &first);
 
        if (err >= 0)
                err = hwdep_device_list(ctl);