This file is indexed.

/usr/share/doc/libjuce/apiref/classAudioSourcePlayer.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
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
<!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: AudioSourcePlayer 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> &#124;
<a href="classAudioSourcePlayer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">AudioSourcePlayer Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Wrapper class to continuously stream audio from an audio source to an <a class="el" href="classAudioIODevice.html" title="Base class for an audio device with synchronised input and output channels. ">AudioIODevice</a>.  
 <a href="classAudioSourcePlayer.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 AudioSourcePlayer:</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="classAudioSourcePlayer.png" usemap="#AudioSourcePlayer_map" alt=""/>
  <map id="AudioSourcePlayer_map" name="AudioSourcePlayer_map">
<area href="classAudioIODeviceCallback.html" title="One of these is passed to an AudioIODevice object to stream the audio data in and out..." alt="AudioIODeviceCallback" shape="rect" coords="0,0,147,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:a708828c1d38dc7d003f79bd98f577a94"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#a708828c1d38dc7d003f79bd98f577a94">AudioSourcePlayer</a> ()</td></tr>
<tr class="memdesc:a708828c1d38dc7d003f79bd98f577a94"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an empty <a class="el" href="classAudioSourcePlayer.html" title="Wrapper class to continuously stream audio from an audio source to an AudioIODevice. ">AudioSourcePlayer</a>.  <a href="#a708828c1d38dc7d003f79bd98f577a94">More...</a><br /></td></tr>
<tr class="separator:a708828c1d38dc7d003f79bd98f577a94"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7cf30ef2b4616108e95a133fced197bc"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#a7cf30ef2b4616108e95a133fced197bc">~AudioSourcePlayer</a> ()</td></tr>
<tr class="memdesc:a7cf30ef2b4616108e95a133fced197bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#a7cf30ef2b4616108e95a133fced197bc">More...</a><br /></td></tr>
<tr class="separator:a7cf30ef2b4616108e95a133fced197bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27acf0932a719dd1cd6d730af0c232fa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#a27acf0932a719dd1cd6d730af0c232fa">setSource</a> (<a class="el" href="classAudioSource.html">AudioSource</a> *newSource)</td></tr>
<tr class="memdesc:a27acf0932a719dd1cd6d730af0c232fa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the current audio source to play from.  <a href="#a27acf0932a719dd1cd6d730af0c232fa">More...</a><br /></td></tr>
<tr class="separator:a27acf0932a719dd1cd6d730af0c232fa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab70c9acf32f6e0e50467e4b24172464c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAudioSource.html">AudioSource</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#ab70c9acf32f6e0e50467e4b24172464c">getCurrentSource</a> () const noexcept</td></tr>
<tr class="memdesc:ab70c9acf32f6e0e50467e4b24172464c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the source that's playing.  <a href="#ab70c9acf32f6e0e50467e4b24172464c">More...</a><br /></td></tr>
<tr class="separator:ab70c9acf32f6e0e50467e4b24172464c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6750b0c4ed1258abe4c108c80dfeff4d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#a6750b0c4ed1258abe4c108c80dfeff4d">setGain</a> (float newGain) noexcept</td></tr>
<tr class="memdesc:a6750b0c4ed1258abe4c108c80dfeff4d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a gain to apply to the audio data.  <a href="#a6750b0c4ed1258abe4c108c80dfeff4d">More...</a><br /></td></tr>
<tr class="separator:a6750b0c4ed1258abe4c108c80dfeff4d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa705d1a6ee51b4bc1f25bddf8a912d69"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#aa705d1a6ee51b4bc1f25bddf8a912d69">getGain</a> () const noexcept</td></tr>
<tr class="memdesc:aa705d1a6ee51b4bc1f25bddf8a912d69"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the current gain.  <a href="#aa705d1a6ee51b4bc1f25bddf8a912d69">More...</a><br /></td></tr>
<tr class="separator:aa705d1a6ee51b4bc1f25bddf8a912d69"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:affe24f50bfa4d73f8e2d220bec2433ec"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#affe24f50bfa4d73f8e2d220bec2433ec">audioDeviceIOCallback</a> (const float **inputChannelData, int totalNumInputChannels, float **outputChannelData, int totalNumOutputChannels, int numSamples) override</td></tr>
<tr class="memdesc:affe24f50bfa4d73f8e2d220bec2433ec"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implementation of the <a class="el" href="classAudioIODeviceCallback.html" title="One of these is passed to an AudioIODevice object to stream the audio data in and out...">AudioIODeviceCallback</a> method.  <a href="#affe24f50bfa4d73f8e2d220bec2433ec">More...</a><br /></td></tr>
<tr class="separator:affe24f50bfa4d73f8e2d220bec2433ec"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a873c307b234e375b25aa589aba5ebaca"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#a873c307b234e375b25aa589aba5ebaca">audioDeviceAboutToStart</a> (<a class="el" href="classAudioIODevice.html">AudioIODevice</a> *device) override</td></tr>
<tr class="memdesc:a873c307b234e375b25aa589aba5ebaca"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implementation of the <a class="el" href="classAudioIODeviceCallback.html" title="One of these is passed to an AudioIODevice object to stream the audio data in and out...">AudioIODeviceCallback</a> method.  <a href="#a873c307b234e375b25aa589aba5ebaca">More...</a><br /></td></tr>
<tr class="separator:a873c307b234e375b25aa589aba5ebaca"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4858c64b3dc045c9fd400ea72bed1898"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#a4858c64b3dc045c9fd400ea72bed1898">audioDeviceStopped</a> () override</td></tr>
<tr class="memdesc:a4858c64b3dc045c9fd400ea72bed1898"><td class="mdescLeft">&#160;</td><td class="mdescRight">Implementation of the <a class="el" href="classAudioIODeviceCallback.html" title="One of these is passed to an AudioIODevice object to stream the audio data in and out...">AudioIODeviceCallback</a> method.  <a href="#a4858c64b3dc045c9fd400ea72bed1898">More...</a><br /></td></tr>
<tr class="separator:a4858c64b3dc045c9fd400ea72bed1898"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0941ec351494d77bce92df935c98b777"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSourcePlayer.html#a0941ec351494d77bce92df935c98b777">prepareToPlay</a> (double sampleRate, int blockSize)</td></tr>
<tr class="memdesc:a0941ec351494d77bce92df935c98b777"><td class="mdescLeft">&#160;</td><td class="mdescRight">An alternative method for initialising the source without an <a class="el" href="classAudioIODevice.html" title="Base class for an audio device with synchronised input and output channels. ">AudioIODevice</a>.  <a href="#a0941ec351494d77bce92df935c98b777">More...</a><br /></td></tr>
<tr class="separator:a0941ec351494d77bce92df935c98b777"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classAudioIODeviceCallback"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classAudioIODeviceCallback')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classAudioIODeviceCallback.html">AudioIODeviceCallback</a></td></tr>
<tr class="memitem:a922abd58862d1bc04c067683a6a8e59a inherit pub_methods_classAudioIODeviceCallback"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioIODeviceCallback.html#a922abd58862d1bc04c067683a6a8e59a">~AudioIODeviceCallback</a> ()</td></tr>
<tr class="memdesc:a922abd58862d1bc04c067683a6a8e59a inherit pub_methods_classAudioIODeviceCallback"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classAudioIODeviceCallback.html#a922abd58862d1bc04c067683a6a8e59a">More...</a><br /></td></tr>
<tr class="separator:a922abd58862d1bc04c067683a6a8e59a inherit pub_methods_classAudioIODeviceCallback"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7768d640daf7d5d56399ced8188b2b75 inherit pub_methods_classAudioIODeviceCallback"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioIODeviceCallback.html#a7768d640daf7d5d56399ced8188b2b75">audioDeviceError</a> (const <a class="el" href="classString.html">String</a> &amp;errorMessage)</td></tr>
<tr class="memdesc:a7768d640daf7d5d56399ced8188b2b75 inherit pub_methods_classAudioIODeviceCallback"><td class="mdescLeft">&#160;</td><td class="mdescRight">This can be overridden to be told if the device generates an error while operating.  <a href="classAudioIODeviceCallback.html#a7768d640daf7d5d56399ced8188b2b75">More...</a><br /></td></tr>
<tr class="separator:a7768d640daf7d5d56399ced8188b2b75 inherit pub_methods_classAudioIODeviceCallback"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Wrapper class to continuously stream audio from an audio source to an <a class="el" href="classAudioIODevice.html" title="Base class for an audio device with synchronised input and output channels. ">AudioIODevice</a>. </p>
<p>This object acts as an <a class="el" href="classAudioIODeviceCallback.html" title="One of these is passed to an AudioIODevice object to stream the audio data in and out...">AudioIODeviceCallback</a>, so can be attached to an output device, and will stream audio from an <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a>. </p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a708828c1d38dc7d003f79bd98f577a94"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a708828c1d38dc7d003f79bd98f577a94">&sect;&nbsp;</a></span>AudioSourcePlayer()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">AudioSourcePlayer::AudioSourcePlayer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Creates an empty <a class="el" href="classAudioSourcePlayer.html" title="Wrapper class to continuously stream audio from an audio source to an AudioIODevice. ">AudioSourcePlayer</a>. </p>

</div>
</div>
<a id="a7cf30ef2b4616108e95a133fced197bc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7cf30ef2b4616108e95a133fced197bc">&sect;&nbsp;</a></span>~AudioSourcePlayer()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual AudioSourcePlayer::~AudioSourcePlayer </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Destructor. </p>
<p>Make sure this object isn't still being used by an <a class="el" href="classAudioIODevice.html" title="Base class for an audio device with synchronised input and output channels. ">AudioIODevice</a> before deleting it! </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a27acf0932a719dd1cd6d730af0c232fa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a27acf0932a719dd1cd6d730af0c232fa">&sect;&nbsp;</a></span>setSource()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AudioSourcePlayer::setSource </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAudioSource.html">AudioSource</a> *&#160;</td>
          <td class="paramname"><em>newSource</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Changes the current audio source to play from. </p>
<p>If the source passed in is already being used, this method will do nothing. If the source is not null, its <a class="el" href="classAudioSourcePlayer.html#a0941ec351494d77bce92df935c98b777" title="An alternative method for initialising the source without an AudioIODevice. ">prepareToPlay()</a> method will be called before it starts being used for playback.</p>
<p>If there's another source currently playing, its releaseResources() method will be called after it has been swapped for the new one.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">newSource</td><td>the new source to use - this will NOT be deleted by this object when no longer needed, so it's the caller's responsibility to manage it. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ab70c9acf32f6e0e50467e4b24172464c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab70c9acf32f6e0e50467e4b24172464c">&sect;&nbsp;</a></span>getCurrentSource()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAudioSource.html">AudioSource</a>* AudioSourcePlayer::getCurrentSource </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 source that's playing. </p>
<p>May return nullptr if there's no source. </p>

</div>
</div>
<a id="a6750b0c4ed1258abe4c108c80dfeff4d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6750b0c4ed1258abe4c108c80dfeff4d">&sect;&nbsp;</a></span>setGain()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void AudioSourcePlayer::setGain </td>
          <td>(</td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>newGain</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">

<p>Sets a gain to apply to the audio data. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioSourcePlayer.html#aa705d1a6ee51b4bc1f25bddf8a912d69" title="Returns the current gain. ">getGain</a> </dd></dl>

</div>
</div>
<a id="aa705d1a6ee51b4bc1f25bddf8a912d69"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa705d1a6ee51b4bc1f25bddf8a912d69">&sect;&nbsp;</a></span>getGain()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">float AudioSourcePlayer::getGain </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 current gain. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioSourcePlayer.html#a6750b0c4ed1258abe4c108c80dfeff4d" title="Sets a gain to apply to the audio data. ">setGain</a> </dd></dl>

<p>References <a class="el" href="classAudioIODeviceCallback.html#a1bec2ae89543a93e31461991f7404aec">AudioIODeviceCallback::audioDeviceAboutToStart()</a>, <a class="el" href="classAudioIODeviceCallback.html#a9ba147cd10fe995c3016dbf35132f995">AudioIODeviceCallback::audioDeviceIOCallback()</a>, <a class="el" href="classAudioIODeviceCallback.html#a7b3e3c479e4e0b3b19ea992960ef46f5">AudioIODeviceCallback::audioDeviceStopped()</a>, and <a class="el" href="juce__PlatformDefs_8h.html#a851b02724a8158a7f746c66b5758b3dd">JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR</a>.</p>

</div>
</div>
<a id="affe24f50bfa4d73f8e2d220bec2433ec"></a>
<h2 class="memtitle"><span class="permalink"><a href="#affe24f50bfa4d73f8e2d220bec2433ec">&sect;&nbsp;</a></span>audioDeviceIOCallback()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void AudioSourcePlayer::audioDeviceIOCallback </td>
          <td>(</td>
          <td class="paramtype">const float **&#160;</td>
          <td class="paramname"><em>inputChannelData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>totalNumInputChannels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float **&#160;</td>
          <td class="paramname"><em>outputChannelData</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>totalNumOutputChannels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>&#160;</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>Implementation of the <a class="el" href="classAudioIODeviceCallback.html" title="One of these is passed to an AudioIODevice object to stream the audio data in and out...">AudioIODeviceCallback</a> method. </p>

<p>Implements <a class="el" href="classAudioIODeviceCallback.html#a9ba147cd10fe995c3016dbf35132f995">AudioIODeviceCallback</a>.</p>

</div>
</div>
<a id="a873c307b234e375b25aa589aba5ebaca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a873c307b234e375b25aa589aba5ebaca">&sect;&nbsp;</a></span>audioDeviceAboutToStart()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void AudioSourcePlayer::audioDeviceAboutToStart </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAudioIODevice.html">AudioIODevice</a> *&#160;</td>
          <td class="paramname"><em>device</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>Implementation of the <a class="el" href="classAudioIODeviceCallback.html" title="One of these is passed to an AudioIODevice object to stream the audio data in and out...">AudioIODeviceCallback</a> method. </p>

<p>Implements <a class="el" href="classAudioIODeviceCallback.html#a1bec2ae89543a93e31461991f7404aec">AudioIODeviceCallback</a>.</p>

</div>
</div>
<a id="a4858c64b3dc045c9fd400ea72bed1898"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4858c64b3dc045c9fd400ea72bed1898">&sect;&nbsp;</a></span>audioDeviceStopped()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void AudioSourcePlayer::audioDeviceStopped </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>Implementation of the <a class="el" href="classAudioIODeviceCallback.html" title="One of these is passed to an AudioIODevice object to stream the audio data in and out...">AudioIODeviceCallback</a> method. </p>

<p>Implements <a class="el" href="classAudioIODeviceCallback.html#a7b3e3c479e4e0b3b19ea992960ef46f5">AudioIODeviceCallback</a>.</p>

</div>
</div>
<a id="a0941ec351494d77bce92df935c98b777"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0941ec351494d77bce92df935c98b777">&sect;&nbsp;</a></span>prepareToPlay()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void AudioSourcePlayer::prepareToPlay </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>sampleRate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>blockSize</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>An alternative method for initialising the source without an <a class="el" href="classAudioIODevice.html" title="Base class for an audio device with synchronised input and output channels. ">AudioIODevice</a>. </p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__AudioSourcePlayer_8h.html">juce_AudioSourcePlayer.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content &copy ROLI Ltd.</small></address><br/>
</body>
</html>