i can't go to hell - i'm all out of vacation days. i watch space rocks and yell at computers for my day job. probably too old for any of this

 

i think i might be burned out on internet social. it's hard to keep doing it. it's hard to even maintain the amount of attention i'm already giving it

 

i am the cause of most of my own problems

 

furthermore, capitalism must be destroyed

 

birdsona: ?????

 

🌎 Ontario, Canada


webbed site
egrets.ca/
You must log in to comment.

in reply to @icculus's post:

How does the automatic switching to a new default device work if they don't have the same amount of channels?
Like if you have a 5.1 speaker set connected to your soundcard as default device (and output sound on that with SDL3) and then plug in headphones and make them the default device (possibly the OS even switches automatically)

So one of the major upgrades for SDL3 is that SDL_AudioStreams no longer have their input and output formats locked at creation time, and they now convert data on output instead of input, so moving to a new device is just a matter of telling the audio stream to spit out data in a different format and carrying on. If the application was feeding the stream 5.1 data, it will continue to do so like nothing happened and the stream will convert it to stereo on the fly. If it was feeding stereo data originally to the 5.1 device, the stream will stop converting and just pass it through as-is.

Pinned Tags