blob: a2839ab0a12b467f435e136e36c670edf88f2572 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
================================================================
aconnect - control subscriptions
ver.0.1.3
Copyright (C) 1999-2000 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 -l together with -i or -o shows subscribers for each port.
Ports are connected exclusively when the option -e is specified.
For modifying time-stamp with a queue, use -r or -t option followed by
a queue index which updates the time-stamp. Former uses real-time queue,
while the latter uses tick queue. The queue must be used (not necessarily
owned) by the receiver client.
|