Example #1
0
File: simple.go Project: kaey/pulse
// Close closes connection to server.
func (conn *Conn) Close() {
	C.pa_simple_free(conn.simple)
}
Example #2
0
File: simple.go Project: shazow/mog
// Stream.Free closes the stream and frees the associated memory.
// The stream becomes invalid after this has been called.
// This should usually be deferred immediately after obtaining a stream.
func (s *Stream) Free() {
	C.pa_simple_free(s.simple)
}