Carp/core/SDL_mixer.carp
2018-03-23 09:55:32 +01:00

20 lines
421 B
Plaintext

(system-include "SDL2/SDL_mixer.h")
(add-lib "-lSDL2_mixer")
(Project.config "cflag" "-Wno-incompatible-pointer-types-discards-qualifiers")
(register-type Mix_Chunk)
(register-type Mix_Music)
(defmodule Mixer
(register default-format
Int
"MIX_DEFAULT_FORMAT")
;; freq format channels chunksize
(register open-audio
(Fn [Int Int Int Int] ())
"Mix_OpenAudio")
)