SoundSeekFile(3)

πŸ“¦ version 1.9.5, in fedora 43, fedora 44

✨ SoundSeekFile ✨

okay bestie, gather round 🫢 this one lives in the Library Functions Manual and it's called SoundSeekFile β€” yes she's a libc-flavoured girly from the audiolib crew, and she has ONE job. let's get into it πŸ’…


🌸 NAME 🌸

SoundSeekFile β€” seek to a position in an audio file.

like. literally that. you point at a spot in your audio and that's where you go. no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <audio/audiolib.h>

int SoundSeekFile(n, sound)
    int n;
    Sound sound;

she's giving classic K&R, she's giving old money, she's giving "we don't do prototypes here" ✨


πŸ’– ARGUMENTS πŸ’–

  • n β€” the offset, and it's in bytes, counted from the very beginning of the audio. so like, 0 is the start, and everything after that is you scooting forward πŸ›
  • sound β€” the audio file description. the lil descriptor of the audio file you're working with πŸ’œ

πŸ‘‘ DESCRIPTION πŸ‘‘

SoundSeekFile sets the position of the next read to a specific offset. that's it, that's the whole serve πŸ”₯

⚠️ real talk though β€” she can only be used on files that are open for reading. if your file isn't open for reading, this is NOT the function for you, bestie, and she will not be helping you. πŸ’€

πŸŽ€ SEE ALSO πŸŽ€

  • SoundTellFile β€” the other half of the duo, she tells you where you're at πŸ’«
  • audiolib β€” Network Audio System C Language Interface 🌈

and that's the whole page, my love ✨ this one shipped as version 1.9.5 of the audiolib saga πŸ¦‹ so go forth, seek responsibly, and stay iconic πŸ‘‘πŸ’–

πŸ“¦ where this page comes from