AuRequeueEvent(3)

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

πŸ’– AuRequeueEvent(3) πŸ’–

okay bestie, so this one lives in the Library Functions Manual and it's called AuRequeueEvent β€” yes, the whole page is literally about putting an event back on the queue. it's giving "undo but for queues" and honestly? obsessed. 🫢


🌸 NAME 🌸

AuRequeueEvent β€” put an event back on the queue πŸ’…


✨ SYNOPSIS ✨

#include <audio/audiolib.h>

void AuRequeueEvent(server, event, skip)
    AuServer *server;
    AuEvent *event;
    int skip;

like, look at her. three args, no return value, absolute queen behavior. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • server β€” the connection to the audio server, aka your lil link to the audio bestie. this is how she knows where to do the thing. πŸ”Œ
  • event β€” the actual event you want to put back on the queue. the star of the show, the main character, the one getting requeued. ⭐
  • skip β€” the drama parameter. this tells you how far from the front of the queue the event gets placed. yes, you get to choose her seat in the line. 🎟️

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea, AuRequeueEvent puts the specified event onto the event queue. and not just "somewhere" β€” she can be placed at any position in the queue. the skip argument is what decides how far from the front of the queue the event lands. like a lil seating chart but for events. πŸ“

here's the breakdown, no cap:

  • if skip is less than or equal to zero, the event gets placed at the head of the queue. front row seats, periodt. πŸ‘‘
  • if skip is greater than zero and greater than or equal to the number of events already in the queue, the event is placed at the end of the queue. back of the line, bestie, it's fine. 😭
  • otherwise, the event is placed at the specified offset in the queue. exactly where you asked, precise icon behavior. πŸ’…

🌈 SEE ALSO 🌈

  • AuNextEvent
  • AuEventsQueued
  • AuScanEvents
  • AuScanForTypedEvent

and also:

  • audiolib β€” Network Audio System C Language Interface 🌸

and that's the whole vibe, bestie β€” this page was serving audiolib event handling, version 1.9.5 πŸ§šπŸ’œ go forth and requeue responsibly, mwah πŸŽ€βœ¨

πŸ“¦ where this page comes from