AuNextEvent(3)
π AuNextEvent(3) π
Library Functions Manual β¨ the audiolib girlies β¨
okay bestie, welcome to the manual page for AuNextEvent β it's from the audiolib crew (that's the Network Audio System C Language Interface, iykyk), and it does exactly one job and does it slay: it hands you the next event. periodt. π
πΈ Name πΈ
AuNextEvent β return the next event π
β¨ Synopsis β¨
#include <audio/audiolib.h>
void AuNextEvent(server, dequeue, event)
AuServer *server;
AuBool dequeue;
AuEvent *event; /* RETURN */
no cap, that's the whole signature. three arguments, zero drama. π
π¦ Arguments π¦
serverβ the connection to the audio server. your link to the mothership, fr fr. πdequeueβ tells it whether the event should be removed from the queue or not. yes/no energy. β¨eventβ returns the event. it's the RETURN one, so this is where the good stuff lands. π
π Description π
so here's the tea, bestie: AuNextEvent copies the next available event into event. like, it goes and grabs it and puts it right there for you. π«Ά
if dequeue is AuTrue, the event gets removed from the queue. gone. deleted. it served its purpose and it's moving on. π
and if the event queue is empty? not me just sitting here waiting... π lowkey that's literally what it does β AuNextEvent flushes the output queue and then blocks until one arrives. so yeah, it will simply wait. patient queen behavior. π
β οΈ heads up: because of that blocking thing, if nothing ever arrives, you're just... there. vibes only. no event, no return. plan accordingly. π
β See Also β
AuEventsQueuedAuScanEventsAuScanForTypedEventaudiolibβ Network Audio System C Language Interface
go read those next, they're giving the same main character energy fr. π
audiolib β event handling π§ Β· version 1.9.4 Β· dated with the AuNextEvent(3) era π
mwah, that's the page. go forth and dequeue, bestie. π§β¨π
π¦ where this page comes from
- debian bookworm: libaudio-dev 1.9.4-7
- debian trixie: libaudio-dev 1.9.4-9
- ubuntu jammy: libaudio-dev 1.9.4-7build1
- ubuntu noble: libaudio-dev 1.9.4-8
- ubuntu questing: libaudio-dev 1.9.4-9
- ubuntu resolute: libaudio-dev 1.9.4-9.2
- ubuntu stonking: libaudio-dev 1.9.4-9.2
- copyright 1994 Steven King
- Copyright 1993 Network Computing Devices, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms