Closed VitoVan closed 3 months ago
The current allowed audio formats:
https://github.com/lispgames/cl-sdl2-mixer/blob/fdcc7ee7935dd01fd338e22690451db2cf126156/src/general.lisp#L24-L34
:u8, :s8, :u16lsb, :s16lsb, :u16msb, :s16msb, :u16, :s16, :u16sys, :s16sys
But today SDL_AudioSpec has been updated:
https://wiki.libsdl.org/SDL2/SDL_AudioSpec
With more audio formats supported:
If this can be done in a way that is backward-compatible with SDL2 versions that do not provide the new audio formats, then yes, please submit a pull request.
Oh, you did already, reviewing #10.
The current allowed audio formats:
https://github.com/lispgames/cl-sdl2-mixer/blob/fdcc7ee7935dd01fd338e22690451db2cf126156/src/general.lisp#L24-L34
:u8, :s8, :u16lsb, :s16lsb, :u16msb, :s16msb, :u16, :s16, :u16sys, :s16sys
But today SDL_AudioSpec has been updated:
https://wiki.libsdl.org/SDL2/SDL_AudioSpec
With more audio formats supported: