Readit News logoReadit News
junon · 4 years ago
I love release notes like this. Tons of work done, care was taken to make sure it works well, made all the right decisions, and it's entirely drop in replaceable with less (zero) dependencies and fuss.

Just picked up an SDL-based game recently, might need to try this out now.

euske · 4 years ago
Not to confuse with SDL_mixer (which is to output sound to audio devices). This is a module for decoding sound files in various formats.
TazeTSchnitzel · 4 years ago
It's interesting that it's moved to single-file libraries for format support, because I think those libraries have effectively replaced it already. Having a single interface supporting multiple formats is a nice thing, though.
jchw · 4 years ago
There are some disadvantages to these single header libraries, though they may very well be a non-issue for SDL_sound. As an example: I believe stb vorbis doesn’t support “gapless” playback that trims padded silence necessitated by lapped MDCT compression, and IIRC it also does not have sample-accurate fast seeking. This would make it challenging to implement loop points in streaming music using stb vorbis; even if you decode the entire stream into memory to get sample accurate seeking, you still need to compensate for the padded silence.

Truly depends on one’s use case and desired trade-offs.

thatjoeoverthr · 4 years ago
The name “Icculus” stirs up memories. When I started coding, I used SDL, and the guys at Loki let me help as a volunteer beta tester. I got to test Mindrover and Descent III. I’ve still got hard copies of some of their ports including Sim City 3000.
pjmlp · 4 years ago
Yes, that was back in the day I still used to subscribe to Linux Format, had an email signature with something M$ on it and still believed on the year of desktop Linux.

Also when Sam still tried to make a living out of selling SDL support without much luck.

Nowadays the only way to get studios to care is to port Windows binaris into Linux, despite Android, even Google is now creating their own flavour of Windows emulation for Stadia (not that will save Stadia anyway).

Zardoz84 · 4 years ago
Sim City 3000 was ported to Linux ?
myko · 4 years ago
I didn't see it in Icculus' resume: https://icculus.org/resume

but it does look like there was a recent project to make it happen: https://github.com/juliogonzalez/sc3u-linux

thatjoeoverthr · 4 years ago
Loki had ported Sim City 3000 Unlimited Edition to Linux and I’ve got it here.
mkl95 · 4 years ago
I love SDL. It is what free software should be about.
pabs3 · 4 years ago
Hmm, embedded code copies.
junon · 4 years ago
Otherwise known as "vendoring". What's the problem?
pabs3 · 4 years ago
The embedded copy is going to get out of date. It is better to depend on dependencies (its in the name) instead of vendoring them.

https://wiki.debian.org/EmbeddedCopies