1
<!-- manual page source format generated by PolyglotMan v3.0.7, -->
2
<!-- available via anonymous ftp from ftp.cs.berkeley.edu:/ucb/people/phelps/tcltk/rman.tar.Z -->
6
<TITLE>man page(1)</TITLE>
9
<A HREF="#toc">Table of Contents</A><P>
11
<H2><A NAME="sect0" HREF="#toc0">Name</A></H2>
14
<B>AuMakeSendNotifyAction</B> - initialize an action
16
<H2><A NAME="sect1" HREF="#toc1"><B>Synopsis</B></A></H2>
19
#include <audio/audiolib.h>
21
<B>AuMakeSendNotifyAction</B>(<I>action</I>, <I>trigger</I><B>_</B><I>state</I>, <I>trig</I><B>_</B>g<I>er</I><B>_</B><I>prev</I><B>_</B><I>state</I>,
22
<I>trigger</I><B>_</B><I>reason</I>)<BR>
24
<B>AuElementAction</B> <I>action</I>; /* <B>RETURN</B> */
25
unsigned char <I>trigger</I><B>_</B><I>state</I>;<BR>
27
unsigned char <I>trigger</I><B>_</B><I>prev</I><B>_</B><I>state</I>;<BR>
29
unsigned char <I>trigger</I><B>_</B><I>reason</I>;
31
<H2><A NAME="sect2" HREF="#toc2"><B>Arguments</B></A></H2>
36
<DT><I>action</I> </DT></DT>
37
<DD> Returns the initialized action.
41
<I>trigger</I><B>_</B><I>state</I><BR>
43
Specifies the state that triggers the action.
44
This must be one of thses constants: <B>AuStateStop</B>,
45
<B>AuStateStart</B>, or <B>AuStatePause</B>.
47
<I>trigger</I><B>_</B><I>prev</I><B>_</B><I>state</I><BR>
49
Specifies the previous state for the trigger.
50
This must be one of thses constants: <B>AuStateStop</B>,
51
<B>AuStateStart</B>, <B>AuStatePause</B>, or <B>AuStateAny</B>.
53
<I>trigger</I><B>_</B><I>reason</I><BR>
55
Specifies the reason for the action. This must
56
be one of these constants: <B>AuReasonUser</B>, <B>AuReasonUnderrun</B>,
60
<DT><B>AuReasonOverrun</B>, </DT></DT>
61
<DD> <B>AuReasonEOF</B>,
62
<B>AuReasonWatermark</B>, <B>AuReasonHardware</B>, or <B>AuReasonAny</B>.
66
<H2><A NAME="sect3" HREF="#toc3"><B>Description</B></A></H2>
69
<B>AuMakeSendNotifyAction</B> sets the <I>action</I> field of <I>action</I> to
70
<B>AuElementActionSendNotify</B> and initializes the other fields
71
with the remaining arguments.
73
<B>AuMakeSendNotifyAction</B> is implemented as a macro.
75
<H2><A NAME="sect4" HREF="#toc4"><B>See</B> <B>Also</B></A></H2>
78
<B>AuMakeChangeStateAction</B>, <B>AuMakeNoopAction</B>.
80
audiolib - <B>Network</B> <B>Audio</B> <B>System</B> C Language Interface
84
<A NAME="toc"><B>Table of Contents</B></A><P>
86
<LI><A NAME="toc0" HREF="#sect0">Name</A></LI>
87
<LI><A NAME="toc1" HREF="#sect1">Synopsis</A></LI>
88
<LI><A NAME="toc2" HREF="#sect2">Arguments</A></LI>
89
<LI><A NAME="toc3" HREF="#sect3">Description</A></LI>
90
<LI><A NAME="toc4" HREF="#sect4">See Also</A></LI>