SoundSeekFile(3)

πŸ’– SoundSeekFile β€” the manual page, but make it cute πŸ’–

okay bestie, gather round, because we're talking about SoundSeekFile from the Library Functions Manual β€” yes it's a <pink>3</pink> page, that means it's a C library function, iykyk πŸŽ€


✨ NAME ✨

SoundSeekFile β€” seek to a position in an audio file. that's it. that's the whole vibe. she scoots. πŸ¦‹


🌸 SYNOPSIS 🌸

#include <audio/audiolib.h>

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

look at her. so simple. so iconic. πŸ‘‘


πŸ“ ARGUMENTS πŸ“

  • n β€” the offset, in bytes, relative to the beginning of the audio. like, from the start start. the very top of the file. πŸ“
  • sound β€” the audio file description. she's the one holding the vibes.

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea, bestie: SoundSeekFile sets the position of the next read to a specific offset. basically you're telling the file "hey, when we read next, start from here." it's giving bookmark energy. it's giving "hold my place." πŸ”–βœ¨

⚠️ but listen β€” the way this can only be used on files that are open for reading. not writing. reading only. no cap. don't come for me when it doesn't work on your write-mode file, because I told you. 😭

πŸ‘€ SEE ALSO πŸ‘€

  • SoundTellFile β€” the little sibling that tells you where you are. they're a duo. a package deal. 🫢
  • audiolib β€” Network Audio System C Language Interface. the whole friend group, fr fr. 🌈

πŸŽ€ sign-off πŸŽ€

and that's the page!! this one's from version 1.9.4 of the Network Audio System, and it lives under the SoundSeekFile(3) label so you can find her again later. mwah. πŸ’‹ go seek responsibly, bestie πŸ’–βœ¨

πŸ“¦ where this page comes from