AuMakeNoopAction(3)
π AuMakeNoopAction β like, the manual page for it π
okay bestie, pull up a chair, we're talking about AuMakeNoopAction from the audiolib crew β that's the Library Functions Manual corner of the world. it's a lil macro that sets up an action for you and honestly? it's giving "does nothing, slays anyway." π
β¨ Name β¨
AuMakeNoopAction β initialize an action π
πΈ Synopsis πΈ
#include <audio/audiolib.h>
AuMakeNoopAction(action, trigger_state, trigger_prev_state,
trigger_reason)
AuElementAction action; /* RETURN */
unsigned char trigger_state;
unsigned char trigger_prev_state;
unsigned char trigger_reason;
π¦ Arguments π¦
actionβ this is the RETURN girlie. after the call, it holds your freshly initialized action. π«Άtrigger_stateβ the state that triggers the action, bestie. it must be one of these constants:AuStateStop,AuStateStart,AuStatePause, orAuStateAny. no custom vibes allowed, it's a closed list, periodt. π₯trigger_prev_stateβ the previous state for the trigger. and yes, it must also be one of these constants:AuStateStop,AuStateStart,AuStatePause, orAuStateAny. same energy, different slot. β¨trigger_reasonβ the reason for the action. this one must be one of these constants:AuReasonUser,AuReasonUnderrun,AuReasonOverrun,AuReasonEOF,AuReasonWatermark,AuReasonHardware, orAuReasonAny. pick from the list or it's a no. π
π Description π
so what does AuMakeNoopAction actually do, you ask? it sets the action field of action to AuElementActionNoop, and then initializes all the other fields using the rest of the arguments you handed it. that's it. that's the whole plot. π
and the plot twist: AuMakeNoopAction is implemented as a macro. so like, it's not a real function out here living its life β it's a macro, iykyk. π§
π See Also π
AuMakeChangeStateActionAuMakeSendNotifyActionaudiolibβ Network Audio System C Language Interface β
and that's the whole page, bestie!! this was the audiolib β action initialization section, version 1.9.4, brought to you by the AuMakeNoopAction(3) girlies. go forth and initialize responsibly. mwah. πππ¦
π¦ 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