@@ -24,12 +24,12 @@ type ('a, 'b) io = {
24
24
outputs : 'b
25
25
}
26
26
27
- (* * (attached/unattached, input/output, audio/video ) pad *)
27
+ (* * (attached/unattached, audio/video, input/output ) pad *)
28
28
type ('a, 'b, 'c) pad
29
29
30
30
type ('a,'b) pads =
31
- (('a , 'b , [`Audio ]) pad list ,
32
- ('a , 'b , [`Video ]) pad list ) av
31
+ (('a , [`Audio ], 'b ) pad list ,
32
+ ('a , [`Video ], 'b ) pad list ) av
33
33
34
34
type 'a filter = {
35
35
name : string ;
@@ -74,7 +74,7 @@ val init : unit -> config
74
74
val attach : ?args : args list -> name :string -> [`Unattached ] filter -> config -> [`Attached ] filter
75
75
76
76
(* * Link two filter pads. *)
77
- val link : ([`Attached ], [`Output ], 'a ) pad -> ([`Attached ], [`Input ], 'a ) pad -> unit
77
+ val link : ([`Attached ], 'a , [`Output ]) pad -> ([`Attached ], 'a , [`Input ]) pad -> unit
78
78
79
79
(* * Parse a graph described by a string and attach outputs/inputs to it. *)
80
80
type ('a, 'b, 'c) parse_node = {
@@ -84,8 +84,8 @@ type ('a, 'b, 'c) parse_node = {
84
84
}
85
85
86
86
type ('a, 'b) parse_av =
87
- (('a , 'b , [`Audio ]) parse_node list ,
88
- ('a , 'b , [`Video ]) parse_node list ) av
87
+ (('a , [`Audio ], 'b ) parse_node list ,
88
+ ('a , [`Video ], 'b ) parse_node list ) av
89
89
90
90
type 'a parse_io =
91
91
(('a , [`Input ]) parse_av ,
0 commit comments