SoundReadFile(3)
π SoundReadFile(3) β Library Functions Manual π
okay so bestie, welcome to the SoundReadFile(3) page from the Library Functions Manual. Itβs giving βlet me pull audio data out of a fileβ and honestly? iconic. not me being obsessed with a function that just reads bytes, but here we are π«Ά
β¨ Name β¨
SoundReadFile β read audio data from an audio file. π
πΈ Synopsis πΈ
#include <audio/audiolib.h>
int SoundReadFile(buffer, num_bytes, sound)
char *buffer;
int num_bytes;
Sound sound;
π Arguments π
bufferβ Specifies where the data should be read into. Like, itβs the lil container getting filled up, no cap π«Άnum_bytesβ Specifies the length of the data to read. How many bytes are we grabbing? that many, bestie β¨soundβ Specifies the audio file description. Itβs the whole vibe of the audio file youβre reading from π
π¦ Description π¦
SoundReadFile reads num_bytes into buffer from the audio file described by sound. Thatβs it, thatβs the tea. fr fr, itβs literally doing exactly what it says on the tin π
π See Also π
SoundOpenFileForReading.audiolib- Network Audio System C Language Interface
mwah π thatβs the whole page. Itβs from version 1.9.4, and the footer is all like SoundReadFile(3) β periodt. no date in sight, just vibes and a manual page name. go read some audio, bestie ππΈ
π¦ where this page comes from
- debian bookworm: libaudio-dev 1.9.4-7
- debian trixie: libaudio-dev 1.9.4-9
- ubuntu jammy: libaudio-dev 1.9.4-7build1
- ubuntu noble: libaudio-dev 1.9.4-8
- ubuntu questing: libaudio-dev 1.9.4-9
- ubuntu resolute: libaudio-dev 1.9.4-9.2
- ubuntu stonking: libaudio-dev 1.9.4-9.2
- 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