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>AuxCallback</title> 8 </head> 9 <body> 10<h1><CODE>nn::snd::CTR::AuxCallback</CODE> Type</h1> 11<h2>Syntax</h2> 12 <div class="section"> 13 <pre class="definition"> 14typedef void(* nn::snd::CTR::AuxCallback)(AuxBusData *data, s32 sampleLength, uptr userData);</pre> 15 </div> 16<h2>Description</h2> 17 <div class="section"> 18<p>Typedef for the <CODE>Aux</CODE> callback function pointer.</p><p> 19You can register the <CODE>Aux</CODE> callback function with the <CODE>nn::snd::CTR::RegisterAuxCallback</CODE> function. Once registered, it is called every sound frame. 20 </p><p> 21Using the <CODE>Aux</CODE> callback function, you can process sound effects and so on. This processing is handled by the CPU. It is not processed by the DSP. 22 </p></div> 23<h2>Revision History</h2> 24 <div class="section"> 25 <dl class="history"> 26 <dt>2010/09/02</dt> 27<dd>Added a note about processing the callback function. 28 </dd> 29 <dt>2010/06/14</dt> 30<dd>Initial version.<br /> 31 </dd> 32 </dl> 33 </div> 34 <hr><p>CONFIDENTIAL</p></body> 35</html> 36