SoundTellFile(3)

okay bestie, meet SoundTellFile(3) from the Library Functions Manual πŸ’– it's short, it's sweet, and it's here to tell you where you're at in an audio file. no cap. 🎧✨


✨ NAME ✨

SoundTellFile β€” return the position of an audio file. πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

#include <audio/audiolib.h>

int SoundTellFile(sound)
    Sound sound;

🫢 ARGUMENTS 🫢

  • sound β€” specifies the audio file description. it's the lil descriptor for the audio file you're working with, periodt πŸ’…

πŸ’– DESCRIPTION πŸ’–

SoundTellFile returns the offset (in bytes) of the next byte to be read, relative to the beginning of the audio. it's giving "where am i in this file??" energy, but make it bytes. πŸ”₯

it can only be used on files open for reading. like, that's the vibe check. don't try it on anything else, bestie. 😭

🌈 SEE ALSO 🌈

  • SoundSeekFile.
  • audiolib - Network Audio System C Language Interface

mwah πŸ’‹ this one's from version 1.9.4, and it's SoundTellFile(3) β€” catch u later, bestie πŸ¦‹βœ¨

πŸ“¦ where this page comes from