/usr/share/doc/libjuce/apiref/classPositionableAudioSource.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 | <!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: PositionableAudioSource 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="#pro-methods">Protected Member Functions</a> |
<a href="classPositionableAudioSource-members.html">List of all members</a> </div>
<div class="headertitle">
<div class="title">PositionableAudioSource Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div> </div>
</div><!--header-->
<div class="contents">
<p>A type of <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a> which can be repositioned.
<a href="classPositionableAudioSource.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 PositionableAudioSource:</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="classPositionableAudioSource.png" usemap="#PositionableAudioSource_map" alt=""/>
<map id="PositionableAudioSource_map" name="PositionableAudioSource_map">
<area href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. " alt="AudioSource" shape="rect" coords="176,0,342,24"/>
<area href="classAudioFormatReaderSource.html" title="A type of AudioSource that will read from an AudioFormatReader. " alt="AudioFormatReaderSource" shape="rect" coords="0,112,166,136"/>
<area href="classAudioTransportSource.html" title="An AudioSource that takes a PositionableAudioSource and allows it to be played, stopped, started, etc. " alt="AudioTransportSource" shape="rect" coords="176,112,342,136"/>
<area href="classBufferingAudioSource.html" title="An AudioSource which takes another source as input, and buffers it using a thread. " alt="BufferingAudioSource" shape="rect" coords="352,112,518,136"/>
</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:aa81c6f032ae672549050b0985a665cf5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPositionableAudioSource.html#aa81c6f032ae672549050b0985a665cf5">~PositionableAudioSource</a> ()</td></tr>
<tr class="memdesc:aa81c6f032ae672549050b0985a665cf5"><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <a href="#aa81c6f032ae672549050b0985a665cf5">More...</a><br /></td></tr>
<tr class="separator:aa81c6f032ae672549050b0985a665cf5"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a1d8360d66e08d9491eb1b27c37a330ed"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPositionableAudioSource.html#a1d8360d66e08d9491eb1b27c37a330ed">setNextReadPosition</a> (<a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> newPosition)=0</td></tr>
<tr class="memdesc:a1d8360d66e08d9491eb1b27c37a330ed"><td class="mdescLeft"> </td><td class="mdescRight">Tells the stream to move to a new position. <a href="#a1d8360d66e08d9491eb1b27c37a330ed">More...</a><br /></td></tr>
<tr class="separator:a1d8360d66e08d9491eb1b27c37a330ed"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a93fffbfa30a0470c246f6dd2ae8597c6"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPositionableAudioSource.html#a93fffbfa30a0470c246f6dd2ae8597c6">getNextReadPosition</a> () const =0</td></tr>
<tr class="memdesc:a93fffbfa30a0470c246f6dd2ae8597c6"><td class="mdescLeft"> </td><td class="mdescRight">Returns the position from which the next block will be returned. <a href="#a93fffbfa30a0470c246f6dd2ae8597c6">More...</a><br /></td></tr>
<tr class="separator:a93fffbfa30a0470c246f6dd2ae8597c6"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:aa32269d1013b829bb7585e65ce80f08c"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPositionableAudioSource.html#aa32269d1013b829bb7585e65ce80f08c">getTotalLength</a> () const =0</td></tr>
<tr class="memdesc:aa32269d1013b829bb7585e65ce80f08c"><td class="mdescLeft"> </td><td class="mdescRight">Returns the total length of the stream (in samples). <a href="#aa32269d1013b829bb7585e65ce80f08c">More...</a><br /></td></tr>
<tr class="separator:aa32269d1013b829bb7585e65ce80f08c"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a4e59a6b4cfcfb6e8afeea42c25379849"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classPositionableAudioSource.html#a4e59a6b4cfcfb6e8afeea42c25379849">isLooping</a> () const =0</td></tr>
<tr class="memdesc:a4e59a6b4cfcfb6e8afeea42c25379849"><td class="mdescLeft"> </td><td class="mdescRight">Returns true if this source is actually playing in a loop. <a href="#a4e59a6b4cfcfb6e8afeea42c25379849">More...</a><br /></td></tr>
<tr class="separator:a4e59a6b4cfcfb6e8afeea42c25379849"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a8fba6ce7ef75cfc66c3176a37cda3ba9"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classPositionableAudioSource.html#a8fba6ce7ef75cfc66c3176a37cda3ba9">setLooping</a> (bool shouldLoop)</td></tr>
<tr class="memdesc:a8fba6ce7ef75cfc66c3176a37cda3ba9"><td class="mdescLeft"> </td><td class="mdescRight">Tells the source whether you'd like it to play in a loop. <a href="#a8fba6ce7ef75cfc66c3176a37cda3ba9">More...</a><br /></td></tr>
<tr class="separator:a8fba6ce7ef75cfc66c3176a37cda3ba9"><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>
<tr class="memitem:a653279dbd167f70e318fd280681dbddf inherit pub_methods_classAudioSource"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSource.html#a653279dbd167f70e318fd280681dbddf">prepareToPlay</a> (int samplesPerBlockExpected, double sampleRate)=0</td></tr>
<tr class="memdesc:a653279dbd167f70e318fd280681dbddf inherit pub_methods_classAudioSource"><td class="mdescLeft"> </td><td class="mdescRight">Tells the source to prepare for playing. <a href="classAudioSource.html#a653279dbd167f70e318fd280681dbddf">More...</a><br /></td></tr>
<tr class="separator:a653279dbd167f70e318fd280681dbddf inherit pub_methods_classAudioSource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a7823bf0f1c43333eed41664c7994f290 inherit pub_methods_classAudioSource"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSource.html#a7823bf0f1c43333eed41664c7994f290">releaseResources</a> ()=0</td></tr>
<tr class="memdesc:a7823bf0f1c43333eed41664c7994f290 inherit pub_methods_classAudioSource"><td class="mdescLeft"> </td><td class="mdescRight">Allows the source to release anything it no longer needs after playback has stopped. <a href="classAudioSource.html#a7823bf0f1c43333eed41664c7994f290">More...</a><br /></td></tr>
<tr class="separator:a7823bf0f1c43333eed41664c7994f290 inherit pub_methods_classAudioSource"><td class="memSeparator" colspan="2"> </td></tr>
<tr class="memitem:a36fc2484ead8fb8dc03be57d09dd5735 inherit pub_methods_classAudioSource"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioSource.html#a36fc2484ead8fb8dc03be57d09dd5735">getNextAudioBlock</a> (const <a class="el" href="structAudioSourceChannelInfo.html">AudioSourceChannelInfo</a> &bufferToFill)=0</td></tr>
<tr class="memdesc:a36fc2484ead8fb8dc03be57d09dd5735 inherit pub_methods_classAudioSource"><td class="mdescLeft"> </td><td class="mdescRight">Called repeatedly to fetch subsequent blocks of audio data. <a href="classAudioSource.html#a36fc2484ead8fb8dc03be57d09dd5735">More...</a><br /></td></tr>
<tr class="separator:a36fc2484ead8fb8dc03be57d09dd5735 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="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr class="memitem:a53821ed920c27c8e81a6695041dd1dca"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classPositionableAudioSource.html#a53821ed920c27c8e81a6695041dd1dca">PositionableAudioSource</a> () noexcept</td></tr>
<tr class="memdesc:a53821ed920c27c8e81a6695041dd1dca"><td class="mdescLeft"> </td><td class="mdescRight">Creates the <a class="el" href="classPositionableAudioSource.html" title="A type of AudioSource which can be repositioned. ">PositionableAudioSource</a>. <a href="#a53821ed920c27c8e81a6695041dd1dca">More...</a><br /></td></tr>
<tr class="separator:a53821ed920c27c8e81a6695041dd1dca"><td class="memSeparator" colspan="2"> </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>A type of <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a> which can be repositioned. </p>
<p>The basic <a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a> just streams continuously with no idea of a current time or length, so the <a class="el" href="classPositionableAudioSource.html" title="A type of AudioSource which can be repositioned. ">PositionableAudioSource</a> is used for a finite stream that has a current read position.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioSource.html" title="Base class for objects that can produce a continuous stream of audio. ">AudioSource</a>, <a class="el" href="classAudioTransportSource.html" title="An AudioSource that takes a PositionableAudioSource and allows it to be played, stopped, started, etc. ">AudioTransportSource</a> </dd></dl>
</div><h2 class="groupheader">Constructor & Destructor Documentation</h2>
<a id="a53821ed920c27c8e81a6695041dd1dca"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a53821ed920c27c8e81a6695041dd1dca">§ </a></span>PositionableAudioSource()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">PositionableAudioSource::PositionableAudioSource </td>
<td>(</td>
<td class="paramname"></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">noexcept</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Creates the <a class="el" href="classPositionableAudioSource.html" title="A type of AudioSource which can be repositioned. ">PositionableAudioSource</a>. </p>
</div>
</div>
<a id="aa81c6f032ae672549050b0985a665cf5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa81c6f032ae672549050b0985a665cf5">§ </a></span>~PositionableAudioSource()</h2>
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">PositionableAudioSource::~PositionableAudioSource </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="a1d8360d66e08d9491eb1b27c37a330ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1d8360d66e08d9491eb1b27c37a330ed">§ </a></span>setNextReadPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PositionableAudioSource::setNextReadPosition </td>
<td>(</td>
<td class="paramtype"><a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> </td>
<td class="paramname"><em>newPosition</em></td><td>)</td>
<td></td>
</tr>
</table>
</td>
<td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Tells the stream to move to a new position. </p>
<p>Calling this indicates that the next call to <a class="el" href="classAudioSource.html#a36fc2484ead8fb8dc03be57d09dd5735" title="Called repeatedly to fetch subsequent blocks of audio data. ">AudioSource::getNextAudioBlock()</a> should return samples from this position.</p>
<p>Note that this may be called on a different thread to <a class="el" href="classAudioSource.html#a36fc2484ead8fb8dc03be57d09dd5735" title="Called repeatedly to fetch subsequent blocks of audio data. ">getNextAudioBlock()</a>, so the subclass should make sure it's synchronised. </p>
<p>Implemented in <a class="el" href="classAudioTransportSource.html#afa89d10f6220f74c23027cfd805c6771">AudioTransportSource</a>, <a class="el" href="classBufferingAudioSource.html#aaa1d23f64abd488771fea3e6cab68ce2">BufferingAudioSource</a>, and <a class="el" href="classAudioFormatReaderSource.html#a08ce78b0db1845da34f4048b6f1c568e">AudioFormatReaderSource</a>.</p>
<p>Referenced by <a class="el" href="classAudioFormatReaderSource.html#a8cf967923624f7b75acafa3c397873da">AudioFormatReaderSource::getAudioFormatReader()</a>, and <a class="el" href="classAudioTransportSource.html#a723be769b44f4334b947e3568e2b2d4a">AudioTransportSource::getGain()</a>.</p>
</div>
</div>
<a id="a93fffbfa30a0470c246f6dd2ae8597c6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a93fffbfa30a0470c246f6dd2ae8597c6">§ </a></span>getNextReadPosition()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> PositionableAudioSource::getNextReadPosition </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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the position from which the next block will be returned. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPositionableAudioSource.html#a1d8360d66e08d9491eb1b27c37a330ed" title="Tells the stream to move to a new position. ">setNextReadPosition</a> </dd></dl>
<p>Implemented in <a class="el" href="classAudioTransportSource.html#a57baa00fcb68e24671d2e9aa402123bd">AudioTransportSource</a>, <a class="el" href="classBufferingAudioSource.html#aa0d8d7021519e011877656c1725accea">BufferingAudioSource</a>, and <a class="el" href="classAudioFormatReaderSource.html#acd5239a04ecd311c280fab04871a64cc">AudioFormatReaderSource</a>.</p>
<p>Referenced by <a class="el" href="classAudioFormatReaderSource.html#a8cf967923624f7b75acafa3c397873da">AudioFormatReaderSource::getAudioFormatReader()</a>, and <a class="el" href="classAudioTransportSource.html#a723be769b44f4334b947e3568e2b2d4a">AudioTransportSource::getGain()</a>.</p>
</div>
</div>
<a id="aa32269d1013b829bb7585e65ce80f08c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa32269d1013b829bb7585e65ce80f08c">§ </a></span>getTotalLength()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> PositionableAudioSource::getTotalLength </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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns the total length of the stream (in samples). </p>
<p>Implemented in <a class="el" href="classAudioTransportSource.html#a2c41a833a4473d4ed29b53418dad5240">AudioTransportSource</a>, <a class="el" href="classBufferingAudioSource.html#aa9c0838f1c7c8cd5a9f93f72681b3bd8">BufferingAudioSource</a>, and <a class="el" href="classAudioFormatReaderSource.html#a51e078a6f53a1abb7de4e08899144fbf">AudioFormatReaderSource</a>.</p>
<p>Referenced by <a class="el" href="classAudioFormatReaderSource.html#a8cf967923624f7b75acafa3c397873da">AudioFormatReaderSource::getAudioFormatReader()</a>, <a class="el" href="classAudioTransportSource.html#a723be769b44f4334b947e3568e2b2d4a">AudioTransportSource::getGain()</a>, and <a class="el" href="classBufferingAudioSource.html#aa9c0838f1c7c8cd5a9f93f72681b3bd8">BufferingAudioSource::getTotalLength()</a>.</p>
</div>
</div>
<a id="a4e59a6b4cfcfb6e8afeea42c25379849"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e59a6b4cfcfb6e8afeea42c25379849">§ </a></span>isLooping()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual bool PositionableAudioSource::isLooping </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">pure virtual</span></span> </td>
</tr>
</table>
</div><div class="memdoc">
<p>Returns true if this source is actually playing in a loop. </p>
<p>Implemented in <a class="el" href="classAudioTransportSource.html#a610d354af3a8fcb975bfea23bbb97018">AudioTransportSource</a>, <a class="el" href="classBufferingAudioSource.html#ad5db3f567c5b68306f23fb3fed5367c0">BufferingAudioSource</a>, and <a class="el" href="classAudioFormatReaderSource.html#a63d3bcb837d97574acfac92c5e14d4cb">AudioFormatReaderSource</a>.</p>
<p>Referenced by <a class="el" href="classAudioTransportSource.html#a723be769b44f4334b947e3568e2b2d4a">AudioTransportSource::getGain()</a>, and <a class="el" href="classBufferingAudioSource.html#ad5db3f567c5b68306f23fb3fed5367c0">BufferingAudioSource::isLooping()</a>.</p>
</div>
</div>
<a id="a8fba6ce7ef75cfc66c3176a37cda3ba9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8fba6ce7ef75cfc66c3176a37cda3ba9">§ </a></span>setLooping()</h2>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
<tr>
<td class="mlabels-left">
<table class="memname">
<tr>
<td class="memname">virtual void PositionableAudioSource::setLooping </td>
<td>(</td>
<td class="paramtype">bool </td>
<td class="paramname"><em>shouldLoop</em></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>Tells the source whether you'd like it to play in a loop. </p>
<p>Reimplemented in <a class="el" href="classAudioFormatReaderSource.html#a15d8af211ce8cfcbc0c4aaac143b303e">AudioFormatReaderSource</a>.</p>
<p>References <a class="el" href="juce__MathsFunctions_8h.html#a07a40f89c351c7e7a7f98a62beaa1e4a">ignoreUnused()</a>.</p>
</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="juce__PositionableAudioSource_8h.html">juce_PositionableAudioSource.h</a></li>
</ul>
</div><!-- contents -->
<hr class="footer"/>
<address class="footer"><small>All content © ROLI Ltd.</small></address><br/>
</body>
</html>
|