@@ -71,7 +71,7 @@ The list of entry names for each host is defined in host/entry_{host}.go
71
71
under the function host.Names().
72
72
73
73
74
- # Supporting concepts Devices, Inputs, Outputs, Duplex, Packets
74
+ # Supporting concepts Devices, Inputs, Outputs, Duplex, Packets, Cbs
75
75
To implement an Entry Point, ZikiChombo provides some support code in
76
76
[ libsio] ( http://godoc.org/zikichombo.org/sio/libsio ) . The only required part
77
77
of this code to reference is libsio/Dev to implement an Entry.
@@ -80,6 +80,13 @@ Other parts of this code, libsio.{Input,Output,Duplex,Packet,DuplexPacket}
80
80
provide interfaces for synchronising with the host via Go channels and
81
81
implementations to adapt these structures to sound.{Source,Sink,Duplex}.
82
82
83
+ There is also a libsio.Cb, which is a mechanism for interfacing
84
+ the blocking calls in sound.{Source,Sink,Duplex} to lower level
85
+ callback interfaces in C. Cb is tuned for the case the lower level
86
+ C API runs the callback in a different thread, possibly with a different
87
+ scheduling priority. see [ gddo] ( http://godoc.org/zikichombo.org/sio/libsio#Cb )
88
+ for details.
89
+
83
90
## Import directions
84
91
Package zikichombo.org/sio imports the package implementing entry points
85
92
for registration side effects
0 commit comments