]> git.alsa-project.org Git - alsa-utils.git/commit
Fix wrong direction check in aplay/arecord --list-pcms
authorPeter Stokes <linux@dadeos.co.uk>
Mon, 12 Jan 2009 11:29:41 +0000 (12:29 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Jan 2009 11:29:41 +0000 (12:29 +0100)
commit9a47cf7b35f9840379f6ebdcf429128ddc572049
tree2402313bc58364734e14aa63f806243777152942
parent2e3915d15891209c684d190069591683921c4911
Fix wrong direction check in aplay/arecord --list-pcms

I have just discovered a minor logic inversion bug in
aplay/arecord --list-pcms functionality.

Basically, executing "aplay --list-pcms" lists all devices capable of
capture and executing "arecord --list-pcms" lists all devices capable
of playback.

Signed-off-by: Peter Stokes <linux@dadeos.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
aplay/aplay.c