示例#1
0
文件: simple.go 项目: kaey/pulse
// Close closes connection to server.
func (conn *Conn) Close() {
	C.pa_simple_free(conn.simple)
}
示例#2
0
文件: simple.go 项目: 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)
}