AuInputTrack(3)

✨ AuInputTrack ✨

okay bestie, welcome to the AuInputTrack page from the Library Functions Manual πŸ’– this is a lil struct from the Network Audio System C Language Interface (that's audiolib, the iconic one), and it's genuinely not that deep β€” it's like, two whole fields. we love a minimalist queen. πŸ‘‘


πŸŽ€ NAME πŸŽ€

AuInputTrack β€” it's the input track structure, periodt. that's the whole vibe.


πŸ¦‹ Structures πŸ¦‹

first things first, you gotta pull in the header:

#include <audio/audiolib.h>

then here's the actual struct, look at her:

typedef struct _AuInputTrack
{
      unsigned char element_num;
      unsigned char track;
}AuInputTrack;

two unsigned chars, zero drama. slay. πŸ’…


🌸 Members 🌸

  • element_num β€” this one says which element is supplying the audio data for this track. it's an index, so it's like "hey, element number whatever, you're up." ✨
  • track β€” and this is just... the track number. yeah. it do be like that sometimes. 🫢

πŸ’œ Description πŸ’œ

so here's the tea: AuInputTrack gets used by bundle elements to define what tracks from what elements to access. it's basically the little permission slip that says "this element, this track, go get the audio." no cap.

and listen β€” if you're gonna actually use this thing, use AuMakeInputTrack to initialize an AuInputTrack structure. don't just be out here raw-dogging an uninitialized struct, that's not the move bestie 😭 initialize it. 🧚

also, for the record: this whole thing is the audiolib β€” Network Audio System C Language Interface. iykyk. ⭐


🌈 okay that's the whole page, there's genuinely nothing else hiding in here. tiny page, big energy. go forth and track your inputs, queen. πŸ‘‘

and that's a wrap on audiolib - input track, version 1.9.4, page AuInputTrack(3) β€” mwah, see u in the next man page πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from