AuDispatchEvent(3)
β¨ AuDispatchEvent(3) β¨
okay bestie, welcome to the Library Functions Manual entry for AuDispatchEvent(3) β she's short, she's sweet, she's the girl who hands your event to everybody who asked to hear about it π
π« NAME π«
AuDispatchEvent β send event to the event handlers. that's it, that's the whole job, and she does it flawlessly π
πΈ SYNOPSIS πΈ
#include <audio/audiolib.h>
AuBool AuDispatchEvent(server, event)
AuServer *server;
AuEvent *event;
π¦ ARGUMENTS π¦
serverβ the connection to the audio server. like, which server are we talking to, babe? this one. πeventβ the event to be dispatched. the lil guy getting passed around to everyone who's registered to receive her πβ¨
π DESCRIPTION π
AuDispatchEvent sends event to the registered event handlers and returns AuTrue if any of the event handlers returned AuTrue.
that's the whole vibe. she hands the event off, she peeps whether anybody actually claimed it, and she tells you AuTrue if at least one handler was like "yes bestie I got this" π«Ά. no handler said yes? then no AuTrue for you, sorry babes π
π SEE ALSO π
AuRegisterEventHandlerβ go register your handler first, otherwise who's even listening?? πaudiolibβ Network Audio System C Language Interface β
and that's a wrap, my love π§ this page came from audioutil, version 1.9.4, dated 1.9.4 in the footer (yes she's wearing the same fit in both spots, iconic honestly), and it lives at AuDispatchEvent(3). go dispatch something, you got this ππ
π¦ 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