read a preset
This commit is contained in:
parent
c709e012bf
commit
b9257adf5f
3
main.go
3
main.go
|
@ -42,6 +42,9 @@ func main() {
|
||||||
|
|
||||||
C.projectm_set_window_size(handle, 800, 600)
|
C.projectm_set_window_size(handle, 800, 600)
|
||||||
|
|
||||||
|
preset := C.CString("/usr/share/projectM/presets/presets_projectM/Unchained - ReAwoke.milk")
|
||||||
|
C.projectm_load_preset_file(handle, preset, false)
|
||||||
|
|
||||||
reader := bufio.NewReader(os.Stdin)
|
reader := bufio.NewReader(os.Stdin)
|
||||||
|
|
||||||
running := true
|
running := true
|
||||||
|
|
Loading…
Reference in New Issue