Exemplo n.º 1
0
Arquivo: simple.go Projeto: kaey/pulse
// Close closes connection to server.
func (conn *Conn) Close() {
	C.pa_simple_free(conn.simple)
}
Exemplo n.º 2
0
Arquivo: simple.go Projeto: 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)
}