AuEvent(3)

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

πŸ’– Name πŸ’–

okay so bestie, gather round, because this is AuEvent from the Library Functions Manual β€” the event union, and it's literally the whole group chat between your app and the audio server πŸ’…


πŸ¦‹ Structures πŸ¦‹

first things first, you gotta pull in the header, no cap:

#include <audio/audiolib.h>

and here's the union itself, character for character, don't you dare touch it:

typedef union _AuEvent
{
    int type;
    AuAnyEvent auany;
    AuElementNotifyEvent auelementnotify;
    AuMonitorNotifyEvent aumonitornotify;
    AuGrabNotifyEvent augrabnotify;
    AuErrorEvent auerror;
}AuEvent;

✨ Members ✨

  • type β€” this one tells you what kind of event you're holding. rn the event types that are defined are: AuEventTypeElementNotify, AuEventTypeGrabNotify, or AuEventTypeMonitorNotify. it's giving "which one of my friends is texting me" energy πŸ‘‘
  • auany β€” the generic event structure, aka the lowkey shared blueprint with all the members that every single event type has in common. the main character that shows up in every storyline 🫢
  • auelementnotify β€” this one gets sent to client applications to let them know about a watermark condition OR a state change. she's a notifier, she's a messenger, she's iconic πŸ’Œ
  • aumonitornotify β€” sent to client applications to notify them of monitor data. data delivery service, no cap πŸ“Š
  • augrabnotify β€” Not Implemented. that's it. that's the whole vibe. she's not coming to the party πŸ˜­πŸ’€
  • auerror β€” sent to client applications to notify them of non-fatal errors encountered while processing requests. she's not fatal, she's just dramatic πŸ™ˆ

🌸 Description 🌸

so like, events are the principal mechanism for the server to communicate with a client application. that's the whole thing. that's the relationship. the server talks, the client listens, and events are the DMs. periodt πŸ’–


πŸ‘‘ See Also πŸ‘‘

  • audiolib β€” Network Audio System C Language Interface

bestie if you made it this far you're officially a Unix girlie, i'm obsessed with you fr fr 🧚✨

and that's a wrap, angel β€” this was audiolib events, version 1.9.5, for AuEvent(3). mwah, go slay some audio code πŸ’…πŸŽ€

πŸ“¦ where this page comes from