12 lines
159 B
Go
12 lines
159 B
Go
|
package go_vorbis
|
||
|
|
||
|
/*
|
||
|
#cgo pkg-config: vorbis
|
||
|
#include <vorbis/codec.h>
|
||
|
*/
|
||
|
import "C"
|
||
|
|
||
|
func Version() string {
|
||
|
return C.GoString(C.vorbis_version_string())
|
||
|
}
|