1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../css/manpage.css" type="text/css" /> 7 <title>SequenceUserprocCallback</title> 8 </head> 9 <body> 10 <h1><CODE><a href="../../nw/Overview.html">nw</a>::<a href="../../nw/snd/Overview.html">snd</a>::SequenceUserprocCallback</CODE> Type</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nw/snd/snd_SequenceSoundPlayer.h> 14typedef void(* nw::snd::SequenceUserprocCallback)(u16 procId, SequenceUserprocCallbackParam *param, void *arg);</pre> 15 </div> 16 <h2>Arguments</h2> 17 <div class="section"> 18 <table class="arguments"> 19 <thead> 20 <tr> 21 <td width="15" /> 22 <th>Name</th> 23 <td>Description</td> 24 </tr> 25 </thead> 26 <tr> 27 <td>in</td> 28 <th>procId</th> 29 <td>The procedure ID specified by sequence data.</td> 30 </tr> 31 <tr> 32 <td>in</td> 33 <th>param</th> 34 <td>A parameter that can be used inside the callback.</td> 35 </tr> 36 <tr> 37 <td>in</td> 38 <th>arg</th> 39 <td>The user argument</td> 40 </tr> </table> 41 </div> 42 <h2>Description</h2> 43 <div class="section"> 44 <p>The callback of a user procedure that can be used by sequence sounds.</p><p>This callback is invoked by the <span>userproc</span> command in the sequence data. It is invoked from the sound thread during the frame in which the <span>userproc</span> command was processed.</p><p>The <span>procId</span> argument is passed the value that was specified as a parameter to the sequence data's <span>userproc</span> command.</p><p>The <span>param</span> argument is a parameter that can be used within the callback. The value set as data can be accessed. Overwrite this value to apply it to sound data.</p><p>For details on the <span>userproc</span> command, see the Sequence Data Manual.</p></div> 45 <h2>See Also</h2> 46 <div class="section"> 47 <p class="reference"><a href="../../nw/snd/SoundArchivePlayer/SetSequenceUserprocCallback.html">SoundArchivePlayer::SetSequenceUserprocCallback</a>, <a href="../../nw/snd/SequenceUserprocCallbackParam/Overview.html">SequenceUserprocCallbackParam</a><br /> </p> 48 </div> 49 <hr><p>CONFIDENTIAL</p></body> 50</html> 51