mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-08 13:30:03 -05:00
Added aconnect example..
This commit is contained in:
parent
b38a572356
commit
a234679700
3 changed files with 259 additions and 1 deletions
47
test/README.aconnect
Normal file
47
test/README.aconnect
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
================================================================
|
||||
aconnect - control subscriptions
|
||||
ver.0.1
|
||||
Copyright (C) 1999 Takashi Iwai
|
||||
================================================================
|
||||
|
||||
aconnect is a utility to control subscriptions of two ports as the
|
||||
third "manager" client.
|
||||
|
||||
For example, the following connects two ports, from 64:0 to 65:0.
|
||||
|
||||
% aconnect 64:0 65:0
|
||||
|
||||
To disconnect the existing subscription, use -d option.
|
||||
|
||||
% aconnect -d 64:0 65:0
|
||||
|
||||
To see which port is available as input port, run the following
|
||||
command:
|
||||
|
||||
% aconnect -i
|
||||
client 0: 'System' [group=system] [type=kernel]
|
||||
0 'Timer ' [group=system]
|
||||
1 'Announce ' [group=system]
|
||||
client 64: '0: MIDI Synth' [group=] [type=kernel]
|
||||
0 'card 0: synth-midi: 0' [group=device]
|
||||
|
||||
Similary, to see the output ports, use -o flag.
|
||||
|
||||
% aconnect -o
|
||||
client 64: '0: MIDI Synth' [group=] [type=kernel]
|
||||
0 'card 0: synth-midi: 0' [group=device]
|
||||
client 65: 'AWE Wave Table Synth : 0' [group=device] [type=kernel]
|
||||
0 'Emu8000 port 0 ' [group=device]
|
||||
1 'Emu8000 port 1 ' [group=device]
|
||||
2 'Emu8000 port 2 ' [group=device]
|
||||
3 'Emu8000 port 3 ' [group=device]
|
||||
|
||||
Some ports may have permission for its own group.
|
||||
In such a case, change the group of aconnect to the appropriate one by
|
||||
using -g option.
|
||||
|
||||
The option -D specifies the sequencer device file (as default,
|
||||
/dev/snd/seq). Usually, you don't have to change it.
|
||||
The option -q specifies the queue number. The argument must be a
|
||||
valid queue number, usually from 0 to 7.
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue