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>UpdateBuffer</title> 8 </head> 9 <body> 10 <h1><CODE>nw::snd::FxBase::UpdateBuffer</CODE> Member Function</h1> 11 <h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition">#include <nw/snd/snd_FxBase.h> 14 15virtual void UpdateBuffer( 16 int numChannels, 17 nn::snd::AuxBusData * data, 18 <span>s32</span> sampleLength, 19 <a href="../../../nw/snd/SampleFormat.html">SampleFormat</a> format, 20 <span>f32</span> sampleRate, 21 <a href="../../../nw/snd/OutputMode.html">OutputMode</a> mode 22) = 0; 23</pre> 24 </div> 25 <h2>Arguments</h2> 26 <div class="section"> 27 <table class="arguments"> 28 <thead> 29 <tr> 30 <td width="15" /> 31 <th>Name</th> 32 <td>Description</td> 33 </tr> 34 </thead> 35 <tr> 36 <td>in</td> 37 <th>numChannels</th> 38 <td>Number of channels per buffer.</td> 39 </tr> 40 <tr> 41 <td>inout</td> 42 <th>data</th> 43 <td>Waveform data for effect processing.</td> 44 </tr> 45 <tr> 46 <td>in</td> 47 <th>sampleLength</th> 48 <td>The sample length per channel.</td> 49 </tr> 50 <tr> 51 <td>in</td> 52 <th>format</th> 53 <td>Sample format for data.</td> 54 </tr> 55 <tr> 56 <td>in</td> 57 <th>sampleRate</th> 58 <td>Sample rate for data.</td> 59 </tr> 60 <tr> 61 <td>in</td> 62 <th>mode</th> 63 <td>The output mode</td> 64 </tr> </table> 65 </div> 66 <h2>Return Values</h2> 67 <div class="section"> 68 None. 69 </div> 70 <h2>Description</h2> 71 <div class="section"> 72 <p>Performs effect processing.</p><p>This function is called when it becomes necessary to update the AUX bus buffer used to receive an effect. Effect processing must be performed for this function using a class that has inherited <a href="../../../nw/snd/FxBase/Overview.html">FxBase</a>.</p></div> 73 <h2>See Also</h2> 74 <div class="section"> 75 <p class="reference"><a href="../../../nw/snd/SampleFormat.html">SampleFormat</a><br /><a href="../../../nw/snd/OutputMode.html">OutputMode</a><br /> </p> 76 </div> 77 <h2>Revision History</h2> 78 <div class="section"> 79 <dl class="history"> 80 <dt>2010/06/17</dt> 81 <dd>Initial version.<br /> 82 </dd> 83 </dl> 84 </div> 85 <hr><p>CONFIDENTIAL</p></body> 86</html>