mirror of
https://github.com/vsariola/sointu.git
synced 2025-06-04 01:28:45 -04:00
One should call bridge.Init() once during the initialization of the program to load the static sample table. On linux, bridge.Init() does nothing.
13 lines
295 B
Go
13 lines
295 B
Go
// +build windows
|
|
|
|
package bridge
|
|
|
|
// #cgo CFLAGS: -I"${SRCDIR}/../../include/sointu"
|
|
// #cgo LDFLAGS: "${SRCDIR}/../../build/libsointu.a"
|
|
// #include <sointu.h>
|
|
import "C"
|
|
|
|
func Init() {
|
|
C.su_load_gmdls() // GM.DLS is an windows specific sound bank so samples work currently only on windows
|
|
}
|