SDL_sound
SDL_sound copied to clipboard
An abstract soundfile decoder.
Hello, Trying to build SDL_sound with Cmake produces the following output: ``` Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19043. CMake Warning (dev) at C:/Users/Fagota/Downloads/SDL2-2.0.22/SDL2Config.cmake:30 (get_target_property): Policy CMP0045 is...
hi, this is really minor, is more a question really. Currently a warning is being generated in CMake versions 3 and above. Most CMake projects I see use the version...
Hey, I understand we can pass a soundfont path through an environment variable or SDL_setenv, but is it possible to pass a stream so I could find a soundfont inside...
I put in a quick hack, but here are the details on proper support. https://docs.microsoft.com/en-us/windows/win32/api/mmreg/ns-mmreg-waveformatextensible SDL_LoadWAV already has this--at least enough for reasonable use--and I'm aiming for something similar here.
Right now it looks like this: ```c SNDDECLSPEC Sound_Sample * SDLCALL Sound_NewSample(SDL_RWops *rw, const char *ext, Sound_AudioInfo *desired, Uint32 bufferSize); ``` ...but that `desired` argument isn't modified (the desired and...
This is now activated via the `--window` argument, rather than by defining `ENABLE_EVENTS`.
If you understand how to do that, I would appreciate if you could add that support, I'm developing a Xbox game using SDL_Sound. I'll try my best at compiling it...
SDL_sound currently supports Vorbis files -- but Xiph (maintainers of Vorbis) have deprecated Vorbis in favor of Opus back in 2013. It would be nice to have Opus support in...
@icculus: The release tarball extracts as `SDL_sound-2.0.1` and not as `SDL2_sound-2.0.1`: is this an oversight?
We need to let decoders signal that they own a given sound file. For example, the .WAV decoder might hit this legitimate failure case (if given a 24-bit audio file,...