Re: [PATCH] alsa-utils: amidi: Fix device list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Wed, 21 Jun 2006 15:27:22 +0200,
Matthias Koenig wrote:
> 
> Hi,
> 
> amidi does not show all devices with the --list-devices option. 
> It assumes that all output ports equals input ports and does not
> show an input only port.
> This patch extends the output of amidi -l by one column which shows
> the input/output direction of each port.
> E.g.
> 
> zebra:amidi # ./amidi -l
> Dir Device    Name
> IO  hw:1,0    MPU-401 MIDI 1-0
> IO  hw:2,0,0  Keystation MIDI 1
> IO  hw:3,0,0  Miditerminal 1
> IO  hw:3,0,1  Miditerminal 2
> IO  hw:3,0,2  Miditerminal 3
> IO  hw:3,0,3  Miditerminal 4
> I   hw:3,0,4  Miditerminal SMPTE

Thanks, the patch looks fine.  I committed to HG repo now.

> The patch still assumes, if input and output are present, both have the
> same name. Maybe it would be better to do two separate lists, but I
> wanted to change the behavior of the tool as little as possible.
> What do you think?

Yes, in theory it's possible, but it must be pretty rase case.
Let's keep as is now.


Takashi

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux