AuDispatchEvent(3)

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

πŸ’– AuDispatchEvent(3) πŸ’–

okay bestie, welcome to the Library Functions Manual page for AuDispatchEvent(3) β€” yes she's a whole manual page, and yes she's iconic πŸ’…


✨ Name ✨

AuDispatchEvent β€” send event to the event handlers. that's it, that's the job 🫢


✨ Synopsis ✨

#include <audio/audiolib.h>

AuBool AuDispatchEvent(server, event)
    AuServer *server;
    AuEvent *event;

no cap, that's the whole signature. look at her. gorgeous 🌸


✨ Arguments ✨

  • server β€” Specifies the connection to the audio server. like, which server are we even talking to, bestie? that one. πŸ’–
  • event β€” Specifies the event to be dispatched. the little guy getting sent out into the world πŸ¦‹

✨ Description ✨

so here's the vibe: AuDispatchEvent sends event to the registered event handlers. all of them. like she's handing out flyers at a party πŸŽ€

and then β€” and this is the important part β€” she returns AuTrue if any of the event handlers returned AuTrue. any. even just one. one single handler saying yes is enough, periodt πŸ‘‘

if nobody returned AuTrue? then she doesn't return AuTrue. it's giving logic, and honestly? we love that for her πŸ’œ


✨ See Also ✨

  • AuRegisterEventHandler β€” the girlies who actually receive the events 🫢
  • audiolib β€” Network Audio System C Language Interface 🌈

and that's the page!! mwah πŸ’‹ this lil cutie came to you from audioutil, version 1.9.5 β€” stay hydrated, read your man pages, and I'll see you in the next one πŸ§šβœ¨πŸ‘‘

πŸ“¦ where this page comes from