This file is indexed.

/usr/share/doc/libjuce/apiref/classAudioThumbnailBase.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
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
<!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: AudioThumbnailBase 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="classAudioThumbnailBase-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">AudioThumbnailBase Class Reference<span class="mlabels"><span class="mlabel">abstract</span></span></div>  </div>
</div><!--header-->
<div class="contents">

<p>Provides a base for classes that can store and draw scaled views of an audio waveform.  
 <a href="classAudioThumbnailBase.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 AudioThumbnailBase:</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="classAudioThumbnailBase.png" usemap="#AudioThumbnailBase_map" alt=""/>
  <map id="AudioThumbnailBase_map" name="AudioThumbnailBase_map">
<area href="classChangeBroadcaster.html" title="Holds a list of ChangeListeners, and sends messages to them when instructed. " alt="ChangeBroadcaster" shape="rect" coords="0,0,345,24"/>
<area href="classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver.html" alt="AudioFormatWriter::ThreadedWriter::IncomingDataReceiver" shape="rect" coords="355,0,700,24"/>
<area href="classAudioThumbnail.html" title="Makes it easy to quickly draw scaled views of the waveform shape of an audio file. " alt="AudioThumbnail" shape="rect" coords="177,112,522,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:af7b4ebde2996de4bed6e1cf048b11467"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#af7b4ebde2996de4bed6e1cf048b11467">AudioThumbnailBase</a> ()</td></tr>
<tr class="separator:af7b4ebde2996de4bed6e1cf048b11467"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2ef25f2c29e6363e346c2cb819e7a5b6"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a2ef25f2c29e6363e346c2cb819e7a5b6">~AudioThumbnailBase</a> ()</td></tr>
<tr class="separator:a2ef25f2c29e6363e346c2cb819e7a5b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a53a5be624c9de79a672777d3697cfd48"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a53a5be624c9de79a672777d3697cfd48">clear</a> ()=0</td></tr>
<tr class="memdesc:a53a5be624c9de79a672777d3697cfd48"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears and resets the thumbnail.  <a href="#a53a5be624c9de79a672777d3697cfd48">More...</a><br /></td></tr>
<tr class="separator:a53a5be624c9de79a672777d3697cfd48"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8fd77ac3757e9eca141ab1cbc4e7d269"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a8fd77ac3757e9eca141ab1cbc4e7d269">setSource</a> (<a class="el" href="classInputSource.html">InputSource</a> *newSource)=0</td></tr>
<tr class="memdesc:a8fd77ac3757e9eca141ab1cbc4e7d269"><td class="mdescLeft">&#160;</td><td class="mdescRight">Specifies the file or stream that contains the audio file.  <a href="#a8fd77ac3757e9eca141ab1cbc4e7d269">More...</a><br /></td></tr>
<tr class="separator:a8fd77ac3757e9eca141ab1cbc4e7d269"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6960274ea876808fd2e6df6f0761e9c"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#ad6960274ea876808fd2e6df6f0761e9c">setReader</a> (<a class="el" href="classAudioFormatReader.html">AudioFormatReader</a> *newReader, <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> hashCode)=0</td></tr>
<tr class="memdesc:ad6960274ea876808fd2e6df6f0761e9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gives the thumbnail an <a class="el" href="classAudioFormatReader.html" title="Reads samples from an audio file stream. ">AudioFormatReader</a> to use directly.  <a href="#ad6960274ea876808fd2e6df6f0761e9c">More...</a><br /></td></tr>
<tr class="separator:ad6960274ea876808fd2e6df6f0761e9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84319e0027a1d0b98a38b51c00fa2d5c"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a84319e0027a1d0b98a38b51c00fa2d5c">loadFrom</a> (<a class="el" href="classInputStream.html">InputStream</a> &amp;input)=0</td></tr>
<tr class="memdesc:a84319e0027a1d0b98a38b51c00fa2d5c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reloads the low res thumbnail data from an input stream.  <a href="#a84319e0027a1d0b98a38b51c00fa2d5c">More...</a><br /></td></tr>
<tr class="separator:a84319e0027a1d0b98a38b51c00fa2d5c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cb4b72aa47359c671f89fc25eae0a72"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a9cb4b72aa47359c671f89fc25eae0a72">saveTo</a> (<a class="el" href="classOutputStream.html">OutputStream</a> &amp;output) const =0</td></tr>
<tr class="memdesc:a9cb4b72aa47359c671f89fc25eae0a72"><td class="mdescLeft">&#160;</td><td class="mdescRight">Saves the low res thumbnail data to an output stream.  <a href="#a9cb4b72aa47359c671f89fc25eae0a72">More...</a><br /></td></tr>
<tr class="separator:a9cb4b72aa47359c671f89fc25eae0a72"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6677b1ec042a69aa14ceec756d292671"><td class="memItemLeft" align="right" valign="top">virtual int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a6677b1ec042a69aa14ceec756d292671">getNumChannels</a> () const noexcept=0</td></tr>
<tr class="memdesc:a6677b1ec042a69aa14ceec756d292671"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of channels in the file.  <a href="#a6677b1ec042a69aa14ceec756d292671">More...</a><br /></td></tr>
<tr class="separator:a6677b1ec042a69aa14ceec756d292671"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa668e0939708049e4ee3b203860037c9"><td class="memItemLeft" align="right" valign="top">virtual double&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#aa668e0939708049e4ee3b203860037c9">getTotalLength</a> () const noexcept=0</td></tr>
<tr class="memdesc:aa668e0939708049e4ee3b203860037c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the length of the audio file, in seconds.  <a href="#aa668e0939708049e4ee3b203860037c9">More...</a><br /></td></tr>
<tr class="separator:aa668e0939708049e4ee3b203860037c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7e4df6d6c5e96943f3f6ca184235a57"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#ab7e4df6d6c5e96943f3f6ca184235a57">drawChannel</a> (<a class="el" href="classGraphics.html">Graphics</a> &amp;g, const <a class="el" href="classRectangle.html">Rectangle</a>&lt; int &gt; &amp;area, double startTimeSeconds, double endTimeSeconds, int channelNum, float verticalZoomFactor)=0</td></tr>
<tr class="memdesc:ab7e4df6d6c5e96943f3f6ca184235a57"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the waveform for a channel.  <a href="#ab7e4df6d6c5e96943f3f6ca184235a57">More...</a><br /></td></tr>
<tr class="separator:ab7e4df6d6c5e96943f3f6ca184235a57"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7779a08868bbb6581acb904f200c7877"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a7779a08868bbb6581acb904f200c7877">drawChannels</a> (<a class="el" href="classGraphics.html">Graphics</a> &amp;g, const <a class="el" href="classRectangle.html">Rectangle</a>&lt; int &gt; &amp;area, double startTimeSeconds, double endTimeSeconds, float verticalZoomFactor)=0</td></tr>
<tr class="memdesc:a7779a08868bbb6581acb904f200c7877"><td class="mdescLeft">&#160;</td><td class="mdescRight">Draws the waveforms for all channels in the thumbnail.  <a href="#a7779a08868bbb6581acb904f200c7877">More...</a><br /></td></tr>
<tr class="separator:a7779a08868bbb6581acb904f200c7877"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aacffa9ccff66765ea16fad7aca98323e"><td class="memItemLeft" align="right" valign="top">virtual bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#aacffa9ccff66765ea16fad7aca98323e">isFullyLoaded</a> () const noexcept=0</td></tr>
<tr class="memdesc:aacffa9ccff66765ea16fad7aca98323e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the low res preview is fully generated.  <a href="#aacffa9ccff66765ea16fad7aca98323e">More...</a><br /></td></tr>
<tr class="separator:aacffa9ccff66765ea16fad7aca98323e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad04c3c2c5a003df0296faab4f017081f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#ad04c3c2c5a003df0296faab4f017081f">getNumSamplesFinished</a> () const noexcept=0</td></tr>
<tr class="memdesc:ad04c3c2c5a003df0296faab4f017081f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of samples that have been set in the thumbnail.  <a href="#ad04c3c2c5a003df0296faab4f017081f">More...</a><br /></td></tr>
<tr class="separator:ad04c3c2c5a003df0296faab4f017081f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8efca4beb3d0f32b65be53be933a8e81"><td class="memItemLeft" align="right" valign="top">virtual float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a8efca4beb3d0f32b65be53be933a8e81">getApproximatePeak</a> () const =0</td></tr>
<tr class="memdesc:a8efca4beb3d0f32b65be53be933a8e81"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the highest level in the thumbnail.  <a href="#a8efca4beb3d0f32b65be53be933a8e81">More...</a><br /></td></tr>
<tr class="separator:a8efca4beb3d0f32b65be53be933a8e81"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab3abc860ff8e4fda8234b54cbec3d137"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#ab3abc860ff8e4fda8234b54cbec3d137">getApproximateMinMax</a> (double startTime, double endTime, int channelIndex, float &amp;minValue, float &amp;maxValue) const noexcept=0</td></tr>
<tr class="memdesc:ab3abc860ff8e4fda8234b54cbec3d137"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the approximate min and max levels from a section of the thumbnail.  <a href="#ab3abc860ff8e4fda8234b54cbec3d137">More...</a><br /></td></tr>
<tr class="separator:ab3abc860ff8e4fda8234b54cbec3d137"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a16ffaf872861903fdf2e97fcfe958f"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioThumbnailBase.html#a9a16ffaf872861903fdf2e97fcfe958f">getHashCode</a> () const =0</td></tr>
<tr class="memdesc:a9a16ffaf872861903fdf2e97fcfe958f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the hash code that was set by <a class="el" href="classAudioThumbnailBase.html#a8fd77ac3757e9eca141ab1cbc4e7d269" title="Specifies the file or stream that contains the audio file. ">setSource()</a> or <a class="el" href="classAudioThumbnailBase.html#ad6960274ea876808fd2e6df6f0761e9c" title="Gives the thumbnail an AudioFormatReader to use directly. ">setReader()</a>.  <a href="#a9a16ffaf872861903fdf2e97fcfe958f">More...</a><br /></td></tr>
<tr class="separator:a9a16ffaf872861903fdf2e97fcfe958f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classChangeBroadcaster"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classChangeBroadcaster')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classChangeBroadcaster.html">ChangeBroadcaster</a></td></tr>
<tr class="memitem:a1c8ccfa186a47d58a05e7f1f1576c038 inherit pub_methods_classChangeBroadcaster"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChangeBroadcaster.html#a1c8ccfa186a47d58a05e7f1f1576c038">ChangeBroadcaster</a> () noexcept</td></tr>
<tr class="memdesc:a1c8ccfa186a47d58a05e7f1f1576c038 inherit pub_methods_classChangeBroadcaster"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an <a class="el" href="classChangeBroadcaster.html" title="Holds a list of ChangeListeners, and sends messages to them when instructed. ">ChangeBroadcaster</a>.  <a href="classChangeBroadcaster.html#a1c8ccfa186a47d58a05e7f1f1576c038">More...</a><br /></td></tr>
<tr class="separator:a1c8ccfa186a47d58a05e7f1f1576c038 inherit pub_methods_classChangeBroadcaster"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b2f8465cc6c09c0583c8bdf56319742 inherit pub_methods_classChangeBroadcaster"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChangeBroadcaster.html#a3b2f8465cc6c09c0583c8bdf56319742">~ChangeBroadcaster</a> ()</td></tr>
<tr class="memdesc:a3b2f8465cc6c09c0583c8bdf56319742 inherit pub_methods_classChangeBroadcaster"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="classChangeBroadcaster.html#a3b2f8465cc6c09c0583c8bdf56319742">More...</a><br /></td></tr>
<tr class="separator:a3b2f8465cc6c09c0583c8bdf56319742 inherit pub_methods_classChangeBroadcaster"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad68416fe79a94cd5c99519bdea6c2a06 inherit pub_methods_classChangeBroadcaster"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChangeBroadcaster.html#ad68416fe79a94cd5c99519bdea6c2a06">addChangeListener</a> (<a class="el" href="classChangeListener.html">ChangeListener</a> *listener)</td></tr>
<tr class="memdesc:ad68416fe79a94cd5c99519bdea6c2a06 inherit pub_methods_classChangeBroadcaster"><td class="mdescLeft">&#160;</td><td class="mdescRight">Registers a listener to receive change callbacks from this broadcaster.  <a href="classChangeBroadcaster.html#ad68416fe79a94cd5c99519bdea6c2a06">More...</a><br /></td></tr>
<tr class="separator:ad68416fe79a94cd5c99519bdea6c2a06 inherit pub_methods_classChangeBroadcaster"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae558a26c795278549a63e342bd5f1650 inherit pub_methods_classChangeBroadcaster"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChangeBroadcaster.html#ae558a26c795278549a63e342bd5f1650">removeChangeListener</a> (<a class="el" href="classChangeListener.html">ChangeListener</a> *listener)</td></tr>
<tr class="memdesc:ae558a26c795278549a63e342bd5f1650 inherit pub_methods_classChangeBroadcaster"><td class="mdescLeft">&#160;</td><td class="mdescRight">Unregisters a listener from the list.  <a href="classChangeBroadcaster.html#ae558a26c795278549a63e342bd5f1650">More...</a><br /></td></tr>
<tr class="separator:ae558a26c795278549a63e342bd5f1650 inherit pub_methods_classChangeBroadcaster"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6b9c150078318d419debc82e6f22ce58 inherit pub_methods_classChangeBroadcaster"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChangeBroadcaster.html#a6b9c150078318d419debc82e6f22ce58">removeAllChangeListeners</a> ()</td></tr>
<tr class="memdesc:a6b9c150078318d419debc82e6f22ce58 inherit pub_methods_classChangeBroadcaster"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes all listeners from the list.  <a href="classChangeBroadcaster.html#a6b9c150078318d419debc82e6f22ce58">More...</a><br /></td></tr>
<tr class="separator:a6b9c150078318d419debc82e6f22ce58 inherit pub_methods_classChangeBroadcaster"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10f01d1c0a7fde85355321985a682cbd inherit pub_methods_classChangeBroadcaster"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChangeBroadcaster.html#a10f01d1c0a7fde85355321985a682cbd">sendChangeMessage</a> ()</td></tr>
<tr class="memdesc:a10f01d1c0a7fde85355321985a682cbd inherit pub_methods_classChangeBroadcaster"><td class="mdescLeft">&#160;</td><td class="mdescRight">Causes an asynchronous change message to be sent to all the registered listeners.  <a href="classChangeBroadcaster.html#a10f01d1c0a7fde85355321985a682cbd">More...</a><br /></td></tr>
<tr class="separator:a10f01d1c0a7fde85355321985a682cbd inherit pub_methods_classChangeBroadcaster"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5d16cd01b9af4bacb1716530af17f77b inherit pub_methods_classChangeBroadcaster"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChangeBroadcaster.html#a5d16cd01b9af4bacb1716530af17f77b">sendSynchronousChangeMessage</a> ()</td></tr>
<tr class="memdesc:a5d16cd01b9af4bacb1716530af17f77b inherit pub_methods_classChangeBroadcaster"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sends a synchronous change message to all the registered listeners.  <a href="classChangeBroadcaster.html#a5d16cd01b9af4bacb1716530af17f77b">More...</a><br /></td></tr>
<tr class="separator:a5d16cd01b9af4bacb1716530af17f77b inherit pub_methods_classChangeBroadcaster"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a78f62ecd57a016f8ba7a6ce55454947d inherit pub_methods_classChangeBroadcaster"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classChangeBroadcaster.html#a78f62ecd57a016f8ba7a6ce55454947d">dispatchPendingMessages</a> ()</td></tr>
<tr class="memdesc:a78f62ecd57a016f8ba7a6ce55454947d inherit pub_methods_classChangeBroadcaster"><td class="mdescLeft">&#160;</td><td class="mdescRight">If a change message has been sent but not yet dispatched, this will call <a class="el" href="classChangeBroadcaster.html#a5d16cd01b9af4bacb1716530af17f77b" title="Sends a synchronous change message to all the registered listeners. ">sendSynchronousChangeMessage()</a> to make the callback immediately.  <a href="classChangeBroadcaster.html#a78f62ecd57a016f8ba7a6ce55454947d">More...</a><br /></td></tr>
<tr class="separator:a78f62ecd57a016f8ba7a6ce55454947d inherit pub_methods_classChangeBroadcaster"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver.html">AudioFormatWriter::ThreadedWriter::IncomingDataReceiver</a></td></tr>
<tr class="memitem:a27d5ea6fc6910944fc7351e058af4450 inherit pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver.html#a27d5ea6fc6910944fc7351e058af4450">IncomingDataReceiver</a> ()</td></tr>
<tr class="separator:a27d5ea6fc6910944fc7351e058af4450 inherit pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0728c19886518197e280cc5318197295 inherit pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver.html#a0728c19886518197e280cc5318197295">~IncomingDataReceiver</a> ()</td></tr>
<tr class="separator:a0728c19886518197e280cc5318197295 inherit pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a48e39e836142669e489b04389123536a inherit pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver.html#a48e39e836142669e489b04389123536a">reset</a> (int <a class="el" href="classAudioFormatWriter.html#af33e6836e6dbbcd774ac166453c5446c">numChannels</a>, double <a class="el" href="classAudioFormatWriter.html#aafefbda90e2a58cb057e89e995decfd2">sampleRate</a>, <a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> totalSamplesInSource)=0</td></tr>
<tr class="separator:a48e39e836142669e489b04389123536a inherit pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa4fbc037fadc84e796c5840fdf920063 inherit pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver.html#aa4fbc037fadc84e796c5840fdf920063">addBlock</a> (<a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a> sampleNumberInSource, const <a class="el" href="juce__AudioSampleBuffer_8h.html#a97a2916214efbd76c6b870f9c48efba0">AudioSampleBuffer</a> &amp;newData, int startOffsetInBuffer, int numSamples)=0</td></tr>
<tr class="separator:aa4fbc037fadc84e796c5840fdf920063 inherit pub_methods_classAudioFormatWriter_1_1ThreadedWriter_1_1IncomingDataReceiver"><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>Provides a base for classes that can store and draw scaled views of an audio waveform. </p>
<p>Typically, you'll want to use the derived class <a class="el" href="classAudioThumbnail.html" title="Makes it easy to quickly draw scaled views of the waveform shape of an audio file. ">AudioThumbnail</a>, which provides a concrete implementation.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioThumbnail.html" title="Makes it easy to quickly draw scaled views of the waveform shape of an audio file. ">AudioThumbnail</a>, <a class="el" href="classAudioThumbnailCache.html" title="An instance of this class is used to manage multiple AudioThumbnail objects. ">AudioThumbnailCache</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="af7b4ebde2996de4bed6e1cf048b11467"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7b4ebde2996de4bed6e1cf048b11467">&sect;&nbsp;</a></span>AudioThumbnailBase()</h2>

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

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual AudioThumbnailBase::~AudioThumbnailBase </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>References <a class="el" href="classAudioFormatWriter.html#a436de23247a535b447ed8ddf6100c496">AudioFormatWriter::getNumChannels()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void AudioThumbnailBase::clear </td>
          <td>(</td>
          <td class="paramname"></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>Clears and resets the thumbnail. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a3b5a0fab0c544023b734b545ae15e22a">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool AudioThumbnailBase::setSource </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classInputSource.html">InputSource</a> *&#160;</td>
          <td class="paramname"><em>newSource</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>Specifies the file or stream that contains the audio file. </p>
<p>For a file, just call </p><div class="fragment"><div class="line"><a class="code" href="classAudioThumbnailBase.html#a8fd77ac3757e9eca141ab1cbc4e7d269">setSource</a> (<span class="keyword">new</span> <a class="code" href="classFileInputSource.html">FileInputSource</a> (file))</div></div><!-- fragment --><p>You can pass a nullptr in here to clear the thumbnail. The source that is passed in will be deleted by this object when it is no longer needed. </p><dl class="section return"><dt>Returns</dt><dd>true if the source could be opened as a valid audio file, false if this failed for some reason. </dd></dl>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a1c10b38a794d96b2d26acbbc15946319">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void AudioThumbnailBase::setReader </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAudioFormatReader.html">AudioFormatReader</a> *&#160;</td>
          <td class="paramname"><em>newReader</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="juce__MathsFunctions_8h.html#aecfc3c54bd29ad5964e1c1c3ccbf89df">int64</a>&#160;</td>
          <td class="paramname"><em>hashCode</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Gives the thumbnail an <a class="el" href="classAudioFormatReader.html" title="Reads samples from an audio file stream. ">AudioFormatReader</a> to use directly. </p>
<p>This will start parsing the audio in a background thread (unless the hash code can be looked-up successfully in the thumbnail cache). Note that the reader object will be held by the thumbnail and deleted later when no longer needed. The thumbnail will actually keep hold of this reader until you clear the thumbnail or change the input source, so the file will be held open for all this time. If you don't want the thumbnail to keep a file handle open continuously, you should use the <a class="el" href="classAudioThumbnailBase.html#a8fd77ac3757e9eca141ab1cbc4e7d269" title="Specifies the file or stream that contains the audio file. ">setSource()</a> method instead, which will only open the file when it needs to. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a67fb7eb4571c0442789b34139dfb47f9">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool AudioThumbnailBase::loadFrom </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classInputStream.html">InputStream</a> &amp;&#160;</td>
          <td class="paramname"><em>input</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>Reloads the low res thumbnail data from an input stream. </p>
<p>This is not an audio file stream! It takes a stream of thumbnail data that would previously have been created by the <a class="el" href="classAudioThumbnailBase.html#a9cb4b72aa47359c671f89fc25eae0a72" title="Saves the low res thumbnail data to an output stream. ">saveTo()</a> method. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioThumbnailBase.html#a9cb4b72aa47359c671f89fc25eae0a72" title="Saves the low res thumbnail data to an output stream. ">saveTo</a> </dd></dl>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#aa0f585f827cda690c98264045be8d1b7">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void AudioThumbnailBase::saveTo </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classOutputStream.html">OutputStream</a> &amp;&#160;</td>
          <td class="paramname"><em>output</em></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>Saves the low res thumbnail data to an output stream. </p>
<p>The data that is written can later be reloaded using <a class="el" href="classAudioThumbnailBase.html#a84319e0027a1d0b98a38b51c00fa2d5c" title="Reloads the low res thumbnail data from an input stream. ">loadFrom()</a>. </p><dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioThumbnailBase.html#a84319e0027a1d0b98a38b51c00fa2d5c" title="Reloads the low res thumbnail data from an input stream. ">loadFrom</a> </dd></dl>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#ac3535275e40a4414ef1081fcecbf814e">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual int AudioThumbnailBase::getNumChannels </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 class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of channels in the file. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a77ca661abaa7f1321c0cb2737578cd70">AudioThumbnail</a>.</p>

</div>
</div>
<a id="aa668e0939708049e4ee3b203860037c9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa668e0939708049e4ee3b203860037c9">&sect;&nbsp;</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 double AudioThumbnailBase::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 class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the length of the audio file, in seconds. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a76892e0159356999dfe317fa1c5e044b">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void AudioThumbnailBase::drawChannel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGraphics.html">Graphics</a> &amp;&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>area</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>startTimeSeconds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>endTimeSeconds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channelNum</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>verticalZoomFactor</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Draws the waveform for a channel. </p>
<p>The waveform will be drawn within the specified rectangle, where startTime and endTime specify the times within the audio file that should be positioned at the left and right edges of the rectangle.</p>
<p>The waveform will be scaled vertically so that a full-volume sample will fill the rectangle vertically, but you can also specify an extra vertical scale factor with the verticalZoomFactor parameter. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#ab9b136a4b025b6a0f283cef57c61b893">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void AudioThumbnailBase::drawChannels </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGraphics.html">Graphics</a> &amp;&#160;</td>
          <td class="paramname"><em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classRectangle.html">Rectangle</a>&lt; int &gt; &amp;&#160;</td>
          <td class="paramname"><em>area</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>startTimeSeconds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>endTimeSeconds</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float&#160;</td>
          <td class="paramname"><em>verticalZoomFactor</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">pure virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Draws the waveforms for all channels in the thumbnail. </p>
<p>This will call <a class="el" href="classAudioThumbnailBase.html#ab7e4df6d6c5e96943f3f6ca184235a57" title="Draws the waveform for a channel. ">drawChannel()</a> to render each of the thumbnail's channels, stacked above each other within the specified area.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioThumbnailBase.html#ab7e4df6d6c5e96943f3f6ca184235a57" title="Draws the waveform for a channel. ">drawChannel</a> </dd></dl>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a8fc354b03e88e66771ef3b9647fdd9fa">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual bool AudioThumbnailBase::isFullyLoaded </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 class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns true if the low res preview is fully generated. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a37850d03f49e57a15487d493505fbe2c">AudioThumbnail</a>.</p>

</div>
</div>
<a id="ad04c3c2c5a003df0296faab4f017081f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad04c3c2c5a003df0296faab4f017081f">&sect;&nbsp;</a></span>getNumSamplesFinished()</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> AudioThumbnailBase::getNumSamplesFinished </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 class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of samples that have been set in the thumbnail. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a8992480a29946f7c629bc250a208e8ea">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual float AudioThumbnailBase::getApproximatePeak </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 highest level in the thumbnail. </p>
<p>Note that because the thumb only stores low-resolution data, this isn't an accurate representation of the highest value, it's only a rough approximation. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a53a867a5d46790deb5135a24cfcf85c6">AudioThumbnail</a>.</p>

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

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void AudioThumbnailBase::getApproximateMinMax </td>
          <td>(</td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>startTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">double&#160;</td>
          <td class="paramname"><em>endTime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channelIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>minValue</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">float &amp;&#160;</td>
          <td class="paramname"><em>maxValue</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">pure virtual</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Reads the approximate min and max levels from a section of the thumbnail. </p>
<p>The lowest and highest samples are returned in minValue and maxValue, but obviously because the thumb only stores low-resolution data, these numbers will only be a rough approximation of the true values. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a84a4d6ab047f3880691ba8f70f747b3f">AudioThumbnail</a>.</p>

</div>
</div>
<a id="a9a16ffaf872861903fdf2e97fcfe958f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a16ffaf872861903fdf2e97fcfe958f">&sect;&nbsp;</a></span>getHashCode()</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> AudioThumbnailBase::getHashCode </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 hash code that was set by <a class="el" href="classAudioThumbnailBase.html#a8fd77ac3757e9eca141ab1cbc4e7d269" title="Specifies the file or stream that contains the audio file. ">setSource()</a> or <a class="el" href="classAudioThumbnailBase.html#ad6960274ea876808fd2e6df6f0761e9c" title="Gives the thumbnail an AudioFormatReader to use directly. ">setReader()</a>. </p>

<p>Implemented in <a class="el" href="classAudioThumbnail.html#a943ab9611f881a53106c002effe280a4">AudioThumbnail</a>.</p>

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