AuSoundPla...usFromFile(3)
π AuSoundPla...usFromFile(3) π
okay bestie, welcome to the Library Functions Manual section for this one β yes the page name is literally truncated with ... in the middle, that's just how it is, we don't ask questions, we just vibe π¦
β¨ NAME β¨
AuSoundPlaySynchronousFromFile β play a file. that's it. that's the whole job. and she does it synchronously, meaning she stays with you the whole time, no ghosting π
πΈ SYNOPSIS πΈ
#include <audio/audiolib.h>
#include <audio/soundlib.h>
AuBool AuSoundPlaySynchronousFromFile(server, filename, volume)
AuServer *server;
char *filename;
int volume;
like look at her. two includes, one function, three args. main character energy fr fr π
π ARGUMENTS π
serverβ the connection to the audio server. your lil hotline to the sound department πfilenameβ the name of the audio data file. the actual file you wanna hear, name and all π΅volumeβ the volume level. turn it up, turn it down, you're in control β¨
π DESCRIPTION π
so AuSoundPlaySynchronousFromFile plays filename and hands back AuTrue when it's done β or AuFalse if there was an error π
that's the whole thing. it plays the file, and because it's the synchronous girlie, it doesn't come back until the playing is finished. no cap, she's committed π«Ά
π¦ SEE ALSO π¦
AuSoundPlayAuSoundPlayFromBucketAuSoundPlayFromDataAuSoundPlayFromFile
and also, for the full lore: audiolib β Network Audio System C Language Interface π
ngl if you're here you probably want one of the friends above too, so go peek at them, they're all in the same little soundlib clique π
and that's the page!! written up in soundlib, version 1.9.5 β mwah, slay, go play some audio, ily, bye π β¨π
π¦ where this page comes from
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-11.fc41 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 43: nas-devel 1.9.5-14.fc43 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- fedora 44: nas-devel 1.9.5-15.fc44 Β· MIT
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms