/usr/share/doc/libjuce/apiref/classReverbAudioSource.html is in libjuce-doc 4.3.0~repack-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.12"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>JUCE: ReverbAudioSource Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">JUCE
</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.12 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
</div><!-- top -->
<div class="header">
<div class="summary">
<a href="#pub-methods">Public Member Functions</a> |
<a href="classReverbAudioSource-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">ReverbAudioSource Class Reference</div> </div>
</div><!--header-->
<div class="contents">
<p>An <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a> that uses the <a class="el" href="classReverb.html" title="Performs a simple reverb effect on a stream of audio data. ">Reverb</a> class to apply a reverb to another <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a>.
<a href="classReverbAudioSource.html#details">More...</a></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
<img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for ReverbAudioSource:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center">
<img src="classReverbAudioSource.png" usemap="#ReverbAudioSource_map" alt=""/>
<map id="ReverbAudioSource_map" name="ReverbAudioSource_map">
<area href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. " alt="AudioSource" shape="rect" coords="0,0,127,24"/>
</map>
</div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9bb3f69c71cf6dd49eab94c4f46de919"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#a9bb3f69c71cf6dd49eab94c4f46de919">ReverbAudioSource</a> (<a class="el" href="classAudioSource.html">AudioSource</a> *inputSource, bool deleteInputWhenDeleted)</td></tr>
<tr class="memdesc:a9bb3f69c71cf6dd49eab94c4f46de919"><td class="mdescLeft"> </td><td class="mdescRight">Creates a <a class="el" href="classReverbAudioSource.html" title="An AudioSource that uses the Reverb class to apply a reverb to another AudioSource. ">ReverbAudioSource</a> to process a given input source. <a href="#a9bb3f69c71cf6dd49eab94c4f46de919">More...</a><br /></td></tr>
<tr class="separator:a9bb3f69c71cf6dd49eab94c4f46de919"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5e5fddcb5f353b566376f26318fa78ab"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#a5e5fddcb5f353b566376f26318fa78ab">~ReverbAudioSource</a> ()</td></tr>
<tr class="memdesc:a5e5fddcb5f353b566376f26318fa78ab"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#a5e5fddcb5f353b566376f26318fa78ab">More...</a><br /></td></tr>
<tr class="separator:a5e5fddcb5f353b566376f26318fa78ab"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:afda75efd33835198182fb38fb49cf967"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structReverb_1_1Parameters.html">Reverb::Parameters</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#afda75efd33835198182fb38fb49cf967">getParameters</a> () const noexcept</td></tr>
<tr class="memdesc:afda75efd33835198182fb38fb49cf967"><td class="mdescLeft"> </td><td class="mdescRight">Returns the parameters from the reverb. <a href="#afda75efd33835198182fb38fb49cf967">More...</a><br /></td></tr>
<tr class="separator:afda75efd33835198182fb38fb49cf967"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:abb05d4c6980825f841fabbc56d167d9b"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#abb05d4c6980825f841fabbc56d167d9b">setParameters</a> (const <a class="el" href="structReverb_1_1Parameters.html">Reverb::Parameters</a> &newParams)</td></tr>
<tr class="memdesc:abb05d4c6980825f841fabbc56d167d9b"><td class="mdescLeft"> </td><td class="mdescRight">Changes the reverb's parameters. <a href="#abb05d4c6980825f841fabbc56d167d9b">More...</a><br /></td></tr>
<tr class="separator:abb05d4c6980825f841fabbc56d167d9b"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8b6f060d4f6ab72e7c9a4ddcdbf6ccd1"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#a8b6f060d4f6ab72e7c9a4ddcdbf6ccd1">setBypassed</a> (bool <a class="el" href="classReverbAudioSource.html#a930435b2b93f74d00203b6794c41ac8e">isBypassed</a>) noexcept</td></tr>
<tr class="separator:a8b6f060d4f6ab72e7c9a4ddcdbf6ccd1"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a930435b2b93f74d00203b6794c41ac8e"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#a930435b2b93f74d00203b6794c41ac8e">isBypassed</a> () const noexcept</td></tr>
<tr class="separator:a930435b2b93f74d00203b6794c41ac8e"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:af8077a5e348be506347807afb25afee6"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#af8077a5e348be506347807afb25afee6">prepareToPlay</a> (int samplesPerBlockExpected, double sampleRate) override</td></tr>
<tr class="memdesc:af8077a5e348be506347807afb25afee6"><td class="mdescLeft"> </td><td class="mdescRight">Tells the source to prepare for playing. <a href="#af8077a5e348be506347807afb25afee6">More...</a><br /></td></tr>
<tr class="separator:af8077a5e348be506347807afb25afee6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a5150be0ceba566e4f8c4cf0f2bfebe74"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#a5150be0ceba566e4f8c4cf0f2bfebe74">releaseResources</a> () override</td></tr>
<tr class="memdesc:a5150be0ceba566e4f8c4cf0f2bfebe74"><td class="mdescLeft"> </td><td class="mdescRight">Allows the source to release anything it no longer needs after playback has stopped. <a href="#a5150be0ceba566e4f8c4cf0f2bfebe74">More...</a><br /></td></tr>
<tr class="separator:a5150be0ceba566e4f8c4cf0f2bfebe74"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a05fd8b39aa2dbf21095376ffd346dda0"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classReverbAudioSource.html#a05fd8b39aa2dbf21095376ffd346dda0">getNextAudioBlock</a> (const <a class="el" href="structAudioSourceChannelInfo.html">AudioSourceChannelInfo</a> &) override</td></tr>
<tr class="memdesc:a05fd8b39aa2dbf21095376ffd346dda0"><td class="mdescLeft"> </td><td class="mdescRight">Called repeatedly to fetch subsequent blocks of audio data. <a href="#a05fd8b39aa2dbf21095376ffd346dda0">More...</a><br /></td></tr>
<tr class="separator:a05fd8b39aa2dbf21095376ffd346dda0"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="inherit_header pub_methods_classAudioSource"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classAudioSource')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classAudioSource.html">AudioSource</a></td></tr>
<tr class="memitem:a38b04f6bf7ea63b6cf465213c164623b inherit pub_methods_classAudioSource"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSource.html#a38b04f6bf7ea63b6cf465213c164623b">~AudioSource</a> ()</td></tr>
<tr class="memdesc:a38b04f6bf7ea63b6cf465213c164623b inherit pub_methods_classAudioSource"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="classAudioSource.html#a38b04f6bf7ea63b6cf465213c164623b">More...</a><br /></td></tr>
<tr class="separator:a38b04f6bf7ea63b6cf465213c164623b inherit pub_methods_classAudioSource"><td class="memSeparator" colspan="2"> </td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pro_methods_classAudioSource"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classAudioSource')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classAudioSource.html">AudioSource</a></td></tr>
<tr class="memitem:a5b8ec7dc3b76d7f219d8f77d5ccfbcef inherit pro_methods_classAudioSource"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSource.html#a5b8ec7dc3b76d7f219d8f77d5ccfbcef">AudioSource</a> () noexcept</td></tr>
<tr class="memdesc:a5b8ec7dc3b76d7f219d8f77d5ccfbcef inherit pro_methods_classAudioSource"><td class="mdescLeft"> </td><td class="mdescRight">Creates an <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a>. <a href="classAudioSource.html#a5b8ec7dc3b76d7f219d8f77d5ccfbcef">More...</a><br /></td></tr>
<tr class="separator:a5b8ec7dc3b76d7f219d8f77d5ccfbcef inherit pro_methods_classAudioSource"><td class="memSeparator" colspan="2"> </td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>An <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a> that uses the <a class="el" href="classReverb.html" title="Performs a simple reverb effect on a stream of audio data. ">Reverb</a> class to apply a reverb to another <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a>. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classReverb.html" title="Performs a simple reverb effect on a stream of audio data. ">Reverb</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a9bb3f69c71cf6dd49eab94c4f46de919"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9bb3f69c71cf6dd49eab94c4f46de919">§ </a></span>ReverbAudioSource()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ReverbAudioSource::ReverbAudioSource </td>
<td>(</td>
<td class="paramtype"><a class="el" href="classAudioSource.html">AudioSource</a> * </td>
<td class="paramname"><em>inputSource</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">bool </td>
<td class="paramname"><em>deleteInputWhenDeleted</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates a <a class="el" href="classReverbAudioSource.html" title="An AudioSource that uses the Reverb class to apply a reverb to another AudioSource. ">ReverbAudioSource</a> to process a given input source. </p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">inputSource</td><td>the input source to read from - this must not be null </td></tr>
<tr><td class="paramname">deleteInputWhenDeleted</td><td>if true, the input source will be deleted when this object is deleted </td></tr>
</table>
</dd>
</dl>
</div>
</div>
<a id="a5e5fddcb5f353b566376f26318fa78ab"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e5fddcb5f353b566376f26318fa78ab">§ </a></span>~ReverbAudioSource()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">ReverbAudioSource::~ReverbAudioSource </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Destructor. </p>
</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="afda75efd33835198182fb38fb49cf967"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afda75efd33835198182fb38fb49cf967">§ </a></span>getParameters()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">const <a class="el" href="structReverb_1_1Parameters.html">Reverb::Parameters</a>& ReverbAudioSource::getParameters </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the parameters from the reverb. </p>
</div>
</div>
<a id="abb05d4c6980825f841fabbc56d167d9b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb05d4c6980825f841fabbc56d167d9b">§ </a></span>setParameters()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void ReverbAudioSource::setParameters </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structReverb_1_1Parameters.html">Reverb::Parameters</a> & </td>
<td class="paramname"><em>newParams</em></td><td>)</td>
<td></td>
</tr>
</table>
</div><div class="memdoc">
<p>Changes the reverb's parameters. </p>
</div>
</div>
<a id="a8b6f060d4f6ab72e7c9a4ddcdbf6ccd1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8b6f060d4f6ab72e7c9a4ddcdbf6ccd1">§ </a></span>setBypassed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ReverbAudioSource::setBypassed </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>isBypassed</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
</div>
</div>
<a id="a930435b2b93f74d00203b6794c41ac8e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a930435b2b93f74d00203b6794c41ac8e">§ </a></span>isBypassed()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">bool ReverbAudioSource::isBypassed </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td> const</td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>References <a class="el" href="classAudioSource.html#a36fc2484ead8fb8dc03be57d09dd5735">AudioSource::getNextAudioBlock()</a>, <a class="el" href="juce__PlatformDefs_8h.html#a851b02724a8158a7f746c66b5758b3dd">JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR</a>, <a class="el" href="classAudioSource.html#a653279dbd167f70e318fd280681dbddf">AudioSource::prepareToPlay()</a>, and <a class="el" href="classAudioSource.html#a7823bf0f1c43333eed41664c7994f290">AudioSource::releaseResources()</a>.</p>
</div>
</div>
<a id="af8077a5e348be506347807afb25afee6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8077a5e348be506347807afb25afee6">§ </a></span>prepareToPlay()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ReverbAudioSource::prepareToPlay </td>
<td>(</td>
<td class="paramtype">int </td>
<td class="paramname"><em>samplesPerBlockExpected</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">double </td>
<td class="paramname"><em>sampleRate</em> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Tells the source to prepare for playing. </p>
<p>An <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a> has two states: prepared and unprepared.</p>
<p>The <a class="el" href="classReverbAudioSource.html#af8077a5e348be506347807afb25afee6" title="Tells the source to prepare for playing. ">prepareToPlay()</a> method is guaranteed to be called at least once on an 'unpreprared' source to put it into a 'prepared' state before any calls will be made to <a class="el" href="classReverbAudioSource.html#a05fd8b39aa2dbf21095376ffd346dda0" title="Called repeatedly to fetch subsequent blocks of audio data. ">getNextAudioBlock()</a>. This callback allows the source to initialise any resources it might need when playing.</p>
<p>Once playback has finished, the <a class="el" href="classReverbAudioSource.html#a5150be0ceba566e4f8c4cf0f2bfebe74" title="Allows the source to release anything it no longer needs after playback has stopped. ">releaseResources()</a> method is called to put the stream back into an 'unprepared' state.</p>
<p>Note that this method could be called more than once in succession without a matching call to <a class="el" href="classReverbAudioSource.html#a5150be0ceba566e4f8c4cf0f2bfebe74" title="Allows the source to release anything it no longer needs after playback has stopped. ">releaseResources()</a>, so make sure your code is robust and can handle that kind of situation.</p>
<dl class="params"><dt>Parameters</dt><dd>
<table class="params">
<tr><td class="paramname">samplesPerBlockExpected</td><td>the number of samples that the source will be expected to supply each time its <a class="el" href="classReverbAudioSource.html#a05fd8b39aa2dbf21095376ffd346dda0" title="Called repeatedly to fetch subsequent blocks of audio data. ">getNextAudioBlock()</a> method is called. This number may vary slightly, because it will be dependent on audio hardware callbacks, and these aren't guaranteed to always use a constant block size, so the source should be able to cope with small variations. </td></tr>
<tr><td class="paramname">sampleRate</td><td>the sample rate that the output will be used at - this is needed by sources such as tone generators. </td></tr>
</table>
</dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classReverbAudioSource.html#a5150be0ceba566e4f8c4cf0f2bfebe74" title="Allows the source to release anything it no longer needs after playback has stopped. ">releaseResources</a>, <a class="el" href="classReverbAudioSource.html#a05fd8b39aa2dbf21095376ffd346dda0" title="Called repeatedly to fetch subsequent blocks of audio data. ">getNextAudioBlock</a> </dd></dl>
<p>Implements <a class="el" href="classAudioSource.html#a653279dbd167f70e318fd280681dbddf">AudioSource</a>.</p>
</div>
</div>
<a id="a5150be0ceba566e4f8c4cf0f2bfebe74"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5150be0ceba566e4f8c4cf0f2bfebe74">§ </a></span>releaseResources()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ReverbAudioSource::releaseResources </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Allows the source to release anything it no longer needs after playback has stopped. </p>
<p>This will be called when the source is no longer going to have its <a class="el" href="classReverbAudioSource.html#a05fd8b39aa2dbf21095376ffd346dda0" title="Called repeatedly to fetch subsequent blocks of audio data. ">getNextAudioBlock()</a> method called, so it should release any spare memory, etc. that it might have allocated during the <a class="el" href="classReverbAudioSource.html#af8077a5e348be506347807afb25afee6" title="Tells the source to prepare for playing. ">prepareToPlay()</a> call.</p>
<p>Note that there's no guarantee that <a class="el" href="classReverbAudioSource.html#af8077a5e348be506347807afb25afee6" title="Tells the source to prepare for playing. ">prepareToPlay()</a> will actually have been called before <a class="el" href="classReverbAudioSource.html#a5150be0ceba566e4f8c4cf0f2bfebe74" title="Allows the source to release anything it no longer needs after playback has stopped. ">releaseResources()</a>, and it may be called more than once in succession, so make sure your code is robust and doesn't make any assumptions about when it will be called.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classReverbAudioSource.html#af8077a5e348be506347807afb25afee6" title="Tells the source to prepare for playing. ">prepareToPlay</a>, <a class="el" href="classReverbAudioSource.html#a05fd8b39aa2dbf21095376ffd346dda0" title="Called repeatedly to fetch subsequent blocks of audio data. ">getNextAudioBlock</a> </dd></dl>
<p>Implements <a class="el" href="classAudioSource.html#a7823bf0f1c43333eed41664c7994f290">AudioSource</a>.</p>
</div>
</div>
<a id="a05fd8b39aa2dbf21095376ffd346dda0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05fd8b39aa2dbf21095376ffd346dda0">§ </a></span>getNextAudioBlock()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">void ReverbAudioSource::getNextAudioBlock </td>
<td>(</td>
<td class="paramtype">const <a class="el" href="structAudioSourceChannelInfo.html">AudioSourceChannelInfo</a> & </td>
<td class="paramname"><em>bufferToFill</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Called repeatedly to fetch subsequent blocks of audio data. </p>
<p>After calling the <a class="el" href="classReverbAudioSource.html#af8077a5e348be506347807afb25afee6" title="Tells the source to prepare for playing. ">prepareToPlay()</a> method, this callback will be made each time the audio playback hardware (or whatever other destination the audio data is going to) needs another block of data.</p>
<p>It will generally be called on a high-priority system thread, or possibly even an interrupt, so be careful not to do too much work here, as that will cause audio glitches!</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="structAudioSourceChannelInfo.html" title="Used by AudioSource::getNextAudioBlock(). ">AudioSourceChannelInfo</a>, <a class="el" href="classReverbAudioSource.html#af8077a5e348be506347807afb25afee6" title="Tells the source to prepare for playing. ">prepareToPlay</a>, <a class="el" href="classReverbAudioSource.html#a5150be0ceba566e4f8c4cf0f2bfebe74" title="Allows the source to release anything it no longer needs after playback has stopped. ">releaseResources</a> </dd></dl>
<p>Implements <a class="el" href="classAudioSource.html#a36fc2484ead8fb8dc03be57d09dd5735">AudioSource</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__ReverbAudioSource_8h.html">juce_ReverbAudioSource.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|