[HN Gopher] SDL_sound 2.0
___________________________________________________________________
SDL_sound 2.0
Author : ingve
Score : 86 points
Date : 2022-03-26 10:16 UTC (12 hours ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| pabs3 wrote:
| Hmm, embedded code copies.
| junon wrote:
| Otherwise known as "vendoring". What's the problem?
| junon wrote:
| 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.
| thatjoeoverthr wrote:
| 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.
| Zardoz84 wrote:
| Sim City 3000 was ported to Linux ?
| myko wrote:
| 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
| ArtWomb wrote:
| Just visited Ballantyne, NC. I can see why boatloads are
| migrating down there ;)
| thatjoeoverthr wrote:
| Loki had ported Sim City 3000 Unlimited Edition to Linux and
| I've got it here.
| glouwbug wrote:
| Loki was awesome. I think one of their interns wrote one of
| the most prominent books on SDL to date. It was terrible
| learning the kid died from a cancerous mole shortly after.
| His blog ends on a sad note: http://overcode.yak.net/3
| thatjoeoverthr wrote:
| I had that book and talked to him once on IRC. I remember
| learning of his death. Very sad.
| pjmlp wrote:
| 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).
| euske wrote:
| 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 wrote:
| 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 wrote:
| 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.
| mkl95 wrote:
| I love SDL. It is what free software should be about.
___________________________________________________________________
(page generated 2022-03-26 23:02 UTC)