SDL_CDStop(3)
β¨ SDL_CDStop β¨
okay bestie, welcome to the SDL API Reference π this lil page is literally all about SDL_CDStop β the function that makes a CD-ROM stop. that's it. that's the whole vibe. π
πΈ NAME πΈ
SDL_CDStop β stops a CDROM π
no cap, that's the entire job description. she's a one-trick pony and she ATE. π
π¦ SYNOPSIS π¦
#include "SDL.h"
int SDL_CDStop(SDL_CD *cdrom);
so you gotta pull in SDL.h first, then you call her with a pointer to your SDL_CD and she does the thing. periodt. β¨
π DESCRIPTION π
Stops play on the given cdrom. π΅β‘οΈβΉοΈ
that's it. that's the function. you hand her the cdrom you want silenced and she silences it. the way that she just... stops the play. iconic behaviour honestly. π«Ά
π RETURN VALUE π
0β slay, it worked, success π-1β nope, error, something went wrong π
so like, check the return value, bestie. don't just call her and walk away. π
π SEE ALSO π
SDL_CDPlayπΈ
if you wanna start the music instead of stopping it, that's your girl. iykyk. π₯
and that's the whole page!! π§ go forth and stop some CDs, you absolute main character. π β¨
this gem is from the SDL crew, dated Tue 11 Sep 2001, 22:59, and she lives in the SDL_CDStop(3) section of the manual. mwah. πππ¦
π¦ where this page comes from
- debian bookworm: libsdl1.2-dev 1.2.15+dfsg2-8 Β· LGPL-2.1-or-later
- nixos 26.05: SDL_sixel 0-unstable-2016-02-06
- nixpkgs unstable: SDL_sixel 0-unstable-2016-02-06
- ubuntu jammy: libsdl1.2-dev 1.2.15+dfsg2-6 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms