> One thing that (I dont think) has been touched on is wether plugins should > be able to tell if some of its inputs are left unconnected, and wether the > plugin should get a buffer of 0.0's on that input, or NULL (or > requivalent). For XAP - we worked out the following rule: Every audio-port is connected unless it is disabled. The plugin may disallow disabled ports, in which case the host must connect it to a zero-fill (or silent if we do silent buffers :). /* we aren't connecting this port */ if (plug->disable_port && plug->disable_port(port_idx) < 0) { /* connect to the zero-filled buffer */ } ---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission. Archive: //www.freelists.org/archives/gmpi Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe