This file is indexed.

/usr/share/doc/libjuce/apiref/classAudioBuffer.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
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
<!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: AudioBuffer&lt; Type &gt; Class Template 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="classAudioBuffer-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">AudioBuffer&lt; Type &gt; Class Template Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A multi-channel buffer of floating point audio samples.  
 <a href="classAudioBuffer.html#details">More...</a></p>
<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:a4f480180fae64496886e43ea2b15ddc8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a4f480180fae64496886e43ea2b15ddc8">AudioBuffer</a> () noexcept</td></tr>
<tr class="memdesc:a4f480180fae64496886e43ea2b15ddc8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates an empty buffer with 0 channels and 0 length.  <a href="#a4f480180fae64496886e43ea2b15ddc8">More...</a><br /></td></tr>
<tr class="separator:a4f480180fae64496886e43ea2b15ddc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af7058cce920523b97116ee7e228ee350"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#af7058cce920523b97116ee7e228ee350">AudioBuffer</a> (int numChannelsToAllocate, int numSamplesToAllocate) noexcept</td></tr>
<tr class="memdesc:af7058cce920523b97116ee7e228ee350"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a buffer with a specified number of channels and samples.  <a href="#af7058cce920523b97116ee7e228ee350">More...</a><br /></td></tr>
<tr class="separator:af7058cce920523b97116ee7e228ee350"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3e0beee01a96f4fd162ea8347c7a50aa"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a3e0beee01a96f4fd162ea8347c7a50aa">AudioBuffer</a> (Type *const *dataToReferTo, int numChannelsToUse, int numSamples) noexcept</td></tr>
<tr class="memdesc:a3e0beee01a96f4fd162ea8347c7a50aa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a buffer using a pre-allocated block of memory.  <a href="#a3e0beee01a96f4fd162ea8347c7a50aa">More...</a><br /></td></tr>
<tr class="separator:a3e0beee01a96f4fd162ea8347c7a50aa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4d788fe19d1bd23274b85bf4028a0fb8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a4d788fe19d1bd23274b85bf4028a0fb8">AudioBuffer</a> (Type *const *dataToReferTo, int numChannelsToUse, int startSample, int numSamples) noexcept</td></tr>
<tr class="memdesc:a4d788fe19d1bd23274b85bf4028a0fb8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a buffer using a pre-allocated block of memory.  <a href="#a4d788fe19d1bd23274b85bf4028a0fb8">More...</a><br /></td></tr>
<tr class="separator:a4d788fe19d1bd23274b85bf4028a0fb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d9d5b59ccfee79f6aadbaf6ed4ffc28"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a3d9d5b59ccfee79f6aadbaf6ed4ffc28">AudioBuffer</a> (const <a class="el" href="classAudioBuffer.html">AudioBuffer</a> &amp;other) noexcept</td></tr>
<tr class="memdesc:a3d9d5b59ccfee79f6aadbaf6ed4ffc28"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies another buffer.  <a href="#a3d9d5b59ccfee79f6aadbaf6ed4ffc28">More...</a><br /></td></tr>
<tr class="separator:a3d9d5b59ccfee79f6aadbaf6ed4ffc28"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60a3e64901c3e9ddeca5512ad8d82bd7"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAudioBuffer.html">AudioBuffer</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a60a3e64901c3e9ddeca5512ad8d82bd7">operator=</a> (const <a class="el" href="classAudioBuffer.html">AudioBuffer</a> &amp;other) noexcept</td></tr>
<tr class="memdesc:a60a3e64901c3e9ddeca5512ad8d82bd7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies another buffer onto this one.  <a href="#a60a3e64901c3e9ddeca5512ad8d82bd7">More...</a><br /></td></tr>
<tr class="separator:a60a3e64901c3e9ddeca5512ad8d82bd7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa2458169421626445472a0e22f79360"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#afa2458169421626445472a0e22f79360">~AudioBuffer</a> () noexcept</td></tr>
<tr class="memdesc:afa2458169421626445472a0e22f79360"><td class="mdescLeft">&#160;</td><td class="mdescRight">Destructor.  <a href="#afa2458169421626445472a0e22f79360">More...</a><br /></td></tr>
<tr class="separator:afa2458169421626445472a0e22f79360"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3a9ecde91bf5b96871ce3a474c1d831f"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a3a9ecde91bf5b96871ce3a474c1d831f">getNumChannels</a> () const noexcept</td></tr>
<tr class="memdesc:a3a9ecde91bf5b96871ce3a474c1d831f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of channels of audio data that this buffer contains.  <a href="#a3a9ecde91bf5b96871ce3a474c1d831f">More...</a><br /></td></tr>
<tr class="separator:a3a9ecde91bf5b96871ce3a474c1d831f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a74e3eeed9991f6633570b3bbcd723e2b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a74e3eeed9991f6633570b3bbcd723e2b">getNumSamples</a> () const noexcept</td></tr>
<tr class="memdesc:a74e3eeed9991f6633570b3bbcd723e2b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the number of samples allocated in each of the buffer's channels.  <a href="#a74e3eeed9991f6633570b3bbcd723e2b">More...</a><br /></td></tr>
<tr class="separator:a74e3eeed9991f6633570b3bbcd723e2b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa0c5c0ce9fc26315a0c53d3e8d46cfa"><td class="memItemLeft" align="right" valign="top">const Type *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#afa0c5c0ce9fc26315a0c53d3e8d46cfa">getReadPointer</a> (int channelNumber) const noexcept</td></tr>
<tr class="memdesc:afa0c5c0ce9fc26315a0c53d3e8d46cfa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to an array of read-only samples in one of the buffer's channels.  <a href="#afa0c5c0ce9fc26315a0c53d3e8d46cfa">More...</a><br /></td></tr>
<tr class="separator:afa0c5c0ce9fc26315a0c53d3e8d46cfa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac886069987c46e419ab978cd97b8339a"><td class="memItemLeft" align="right" valign="top">const Type *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#ac886069987c46e419ab978cd97b8339a">getReadPointer</a> (int channelNumber, int sampleIndex) const noexcept</td></tr>
<tr class="memdesc:ac886069987c46e419ab978cd97b8339a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a pointer to an array of read-only samples in one of the buffer's channels.  <a href="#ac886069987c46e419ab978cd97b8339a">More...</a><br /></td></tr>
<tr class="separator:ac886069987c46e419ab978cd97b8339a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a909904fa6e89008f43c83d5375c160dc"><td class="memItemLeft" align="right" valign="top">Type *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a909904fa6e89008f43c83d5375c160dc">getWritePointer</a> (int channelNumber) noexcept</td></tr>
<tr class="memdesc:a909904fa6e89008f43c83d5375c160dc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a writeable pointer to one of the buffer's channels.  <a href="#a909904fa6e89008f43c83d5375c160dc">More...</a><br /></td></tr>
<tr class="separator:a909904fa6e89008f43c83d5375c160dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1689185e6baae835a486b4c45f85892d"><td class="memItemLeft" align="right" valign="top">Type *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a1689185e6baae835a486b4c45f85892d">getWritePointer</a> (int channelNumber, int sampleIndex) noexcept</td></tr>
<tr class="memdesc:a1689185e6baae835a486b4c45f85892d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a writeable pointer to one of the buffer's channels.  <a href="#a1689185e6baae835a486b4c45f85892d">More...</a><br /></td></tr>
<tr class="separator:a1689185e6baae835a486b4c45f85892d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9cf2897fe524acc82e95337a033718a3"><td class="memItemLeft" align="right" valign="top">const Type **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a9cf2897fe524acc82e95337a033718a3">getArrayOfReadPointers</a> () const noexcept</td></tr>
<tr class="memdesc:a9cf2897fe524acc82e95337a033718a3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an array of pointers to the channels in the buffer.  <a href="#a9cf2897fe524acc82e95337a033718a3">More...</a><br /></td></tr>
<tr class="separator:a9cf2897fe524acc82e95337a033718a3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6f52c02a21eb14d53e2a6fa46a825f4f"><td class="memItemLeft" align="right" valign="top">Type **&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a6f52c02a21eb14d53e2a6fa46a825f4f">getArrayOfWritePointers</a> () noexcept</td></tr>
<tr class="memdesc:a6f52c02a21eb14d53e2a6fa46a825f4f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns an array of pointers to the channels in the buffer.  <a href="#a6f52c02a21eb14d53e2a6fa46a825f4f">More...</a><br /></td></tr>
<tr class="separator:a6f52c02a21eb14d53e2a6fa46a825f4f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05e3b4cec4a2c446df87de34c2788f7b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a05e3b4cec4a2c446df87de34c2788f7b">setSize</a> (int newNumChannels, int newNumSamples, bool keepExistingContent=false, bool clearExtraSpace=false, bool avoidReallocating=false) noexcept</td></tr>
<tr class="memdesc:a05e3b4cec4a2c446df87de34c2788f7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Changes the buffer's size or number of channels.  <a href="#a05e3b4cec4a2c446df87de34c2788f7b">More...</a><br /></td></tr>
<tr class="separator:a05e3b4cec4a2c446df87de34c2788f7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2daca36339708bc76e01fea7b7b3059"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#ab2daca36339708bc76e01fea7b7b3059">setDataToReferTo</a> (Type **dataToReferTo, const int newNumChannels, const int newNumSamples) noexcept</td></tr>
<tr class="memdesc:ab2daca36339708bc76e01fea7b7b3059"><td class="mdescLeft">&#160;</td><td class="mdescRight">Makes this buffer point to a pre-allocated set of channel data arrays.  <a href="#ab2daca36339708bc76e01fea7b7b3059">More...</a><br /></td></tr>
<tr class="separator:ab2daca36339708bc76e01fea7b7b3059"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a88f19397f068366e13aa53a0b6f92913"><td class="memTemplParams" colspan="2">template&lt;typename OtherType &gt; </td></tr>
<tr class="memitem:a88f19397f068366e13aa53a0b6f92913"><td class="memTemplItemLeft" align="right" valign="top">void&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a88f19397f068366e13aa53a0b6f92913">makeCopyOf</a> (const <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; OtherType &gt; &amp;other, bool avoidReallocating=false)</td></tr>
<tr class="memdesc:a88f19397f068366e13aa53a0b6f92913"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resizes this buffer to match the given one, and copies all of its content across.  <a href="#a88f19397f068366e13aa53a0b6f92913">More...</a><br /></td></tr>
<tr class="separator:a88f19397f068366e13aa53a0b6f92913"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7dcadc4a02b048ae99166b5b306e552a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a7dcadc4a02b048ae99166b5b306e552a">clear</a> () noexcept</td></tr>
<tr class="memdesc:a7dcadc4a02b048ae99166b5b306e552a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears all the samples in all channels.  <a href="#a7dcadc4a02b048ae99166b5b306e552a">More...</a><br /></td></tr>
<tr class="separator:a7dcadc4a02b048ae99166b5b306e552a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a97d34c7bc5dfd19fa9450d112972422b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a97d34c7bc5dfd19fa9450d112972422b">clear</a> (int startSample, int numSamples) noexcept</td></tr>
<tr class="memdesc:a97d34c7bc5dfd19fa9450d112972422b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears a specified region of all the channels.  <a href="#a97d34c7bc5dfd19fa9450d112972422b">More...</a><br /></td></tr>
<tr class="separator:a97d34c7bc5dfd19fa9450d112972422b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3c0cc34d68718a0f24bcea846cf92f61"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a3c0cc34d68718a0f24bcea846cf92f61">clear</a> (int channel, int startSample, int numSamples) noexcept</td></tr>
<tr class="memdesc:a3c0cc34d68718a0f24bcea846cf92f61"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears a specified region of just one channel.  <a href="#a3c0cc34d68718a0f24bcea846cf92f61">More...</a><br /></td></tr>
<tr class="separator:a3c0cc34d68718a0f24bcea846cf92f61"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acc922971fe78c785110e46d30c210d9c"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#acc922971fe78c785110e46d30c210d9c">hasBeenCleared</a> () const noexcept</td></tr>
<tr class="memdesc:acc922971fe78c785110e46d30c210d9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns true if the buffer has been entirely cleared.  <a href="#acc922971fe78c785110e46d30c210d9c">More...</a><br /></td></tr>
<tr class="separator:acc922971fe78c785110e46d30c210d9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa9b351b6e3cba941cf7c44860851991"><td class="memItemLeft" align="right" valign="top">Type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#afa9b351b6e3cba941cf7c44860851991">getSample</a> (int channel, int sampleIndex) const noexcept</td></tr>
<tr class="memdesc:afa9b351b6e3cba941cf7c44860851991"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a sample from the buffer.  <a href="#afa9b351b6e3cba941cf7c44860851991">More...</a><br /></td></tr>
<tr class="separator:afa9b351b6e3cba941cf7c44860851991"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8aba905085e81fefb8ef4c8589c9e7d8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a8aba905085e81fefb8ef4c8589c9e7d8">setSample</a> (int destChannel, int destSample, Type newValue) noexcept</td></tr>
<tr class="memdesc:a8aba905085e81fefb8ef4c8589c9e7d8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a sample in the buffer.  <a href="#a8aba905085e81fefb8ef4c8589c9e7d8">More...</a><br /></td></tr>
<tr class="separator:a8aba905085e81fefb8ef4c8589c9e7d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab46e9ad400252255daa1086b354454b8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#ab46e9ad400252255daa1086b354454b8">addSample</a> (int destChannel, int destSample, Type valueToAdd) noexcept</td></tr>
<tr class="memdesc:ab46e9ad400252255daa1086b354454b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a value to a sample in the buffer.  <a href="#ab46e9ad400252255daa1086b354454b8">More...</a><br /></td></tr>
<tr class="separator:ab46e9ad400252255daa1086b354454b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ffc61d339e455d4bddc7cf055a63ee3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a9ffc61d339e455d4bddc7cf055a63ee3">applyGain</a> (int channel, int startSample, int numSamples, Type gain) noexcept</td></tr>
<tr class="memdesc:a9ffc61d339e455d4bddc7cf055a63ee3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a gain multiple to a region of one channel.  <a href="#a9ffc61d339e455d4bddc7cf055a63ee3">More...</a><br /></td></tr>
<tr class="separator:a9ffc61d339e455d4bddc7cf055a63ee3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25c9a05ff546379ba7bed697e616bfb3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a25c9a05ff546379ba7bed697e616bfb3">applyGain</a> (int startSample, int numSamples, Type gain) noexcept</td></tr>
<tr class="memdesc:a25c9a05ff546379ba7bed697e616bfb3"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a gain multiple to a region of all the channels.  <a href="#a25c9a05ff546379ba7bed697e616bfb3">More...</a><br /></td></tr>
<tr class="separator:a25c9a05ff546379ba7bed697e616bfb3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0c4794d6dbfd6d0c20d041fffc9939af"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a0c4794d6dbfd6d0c20d041fffc9939af">applyGain</a> (Type gain) noexcept</td></tr>
<tr class="memdesc:a0c4794d6dbfd6d0c20d041fffc9939af"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a gain multiple to all the audio data.  <a href="#a0c4794d6dbfd6d0c20d041fffc9939af">More...</a><br /></td></tr>
<tr class="separator:a0c4794d6dbfd6d0c20d041fffc9939af"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab0542e5b626b36087f0054e795695682"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#ab0542e5b626b36087f0054e795695682">applyGainRamp</a> (int channel, int startSample, int numSamples, Type startGain, Type endGain) noexcept</td></tr>
<tr class="memdesc:ab0542e5b626b36087f0054e795695682"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a range of gains to a region of a channel.  <a href="#ab0542e5b626b36087f0054e795695682">More...</a><br /></td></tr>
<tr class="separator:ab0542e5b626b36087f0054e795695682"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af5cde88e72248367626419733fc58fc2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#af5cde88e72248367626419733fc58fc2">applyGainRamp</a> (int startSample, int numSamples, Type startGain, Type endGain) noexcept</td></tr>
<tr class="memdesc:af5cde88e72248367626419733fc58fc2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Applies a range of gains to a region of all channels.  <a href="#af5cde88e72248367626419733fc58fc2">More...</a><br /></td></tr>
<tr class="separator:af5cde88e72248367626419733fc58fc2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a20c20b1e68b0e18f958dd9bcb5690a84"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a20c20b1e68b0e18f958dd9bcb5690a84">addFrom</a> (int destChannel, int destStartSample, const <a class="el" href="classAudioBuffer.html">AudioBuffer</a> &amp;source, int sourceChannel, int sourceStartSample, int numSamples, Type gainToApplyToSource=(Type) 1) noexcept</td></tr>
<tr class="memdesc:a20c20b1e68b0e18f958dd9bcb5690a84"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds samples from another buffer to this one.  <a href="#a20c20b1e68b0e18f958dd9bcb5690a84">More...</a><br /></td></tr>
<tr class="separator:a20c20b1e68b0e18f958dd9bcb5690a84"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abb01aeb057e87b639eb758896cfc9ca9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#abb01aeb057e87b639eb758896cfc9ca9">addFrom</a> (int destChannel, int destStartSample, const Type *source, int numSamples, Type gainToApplyToSource=(Type) 1) noexcept</td></tr>
<tr class="memdesc:abb01aeb057e87b639eb758896cfc9ca9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds samples from an array of floats to one of the channels.  <a href="#abb01aeb057e87b639eb758896cfc9ca9">More...</a><br /></td></tr>
<tr class="separator:abb01aeb057e87b639eb758896cfc9ca9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1853da41f2a3d87fa6291a2bf2adca05"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a1853da41f2a3d87fa6291a2bf2adca05">addFromWithRamp</a> (int destChannel, int destStartSample, const Type *source, int numSamples, Type startGain, Type endGain) noexcept</td></tr>
<tr class="memdesc:a1853da41f2a3d87fa6291a2bf2adca05"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds samples from an array of floats, applying a gain ramp to them.  <a href="#a1853da41f2a3d87fa6291a2bf2adca05">More...</a><br /></td></tr>
<tr class="separator:a1853da41f2a3d87fa6291a2bf2adca05"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ec751bfa23564c011bf3940ca17b743"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a9ec751bfa23564c011bf3940ca17b743">copyFrom</a> (int destChannel, int destStartSample, const <a class="el" href="classAudioBuffer.html">AudioBuffer</a> &amp;source, int sourceChannel, int sourceStartSample, int numSamples) noexcept</td></tr>
<tr class="memdesc:a9ec751bfa23564c011bf3940ca17b743"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies samples from another buffer to this one.  <a href="#a9ec751bfa23564c011bf3940ca17b743">More...</a><br /></td></tr>
<tr class="separator:a9ec751bfa23564c011bf3940ca17b743"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a80d6c874d56ebfbf3c0aca2d2b8c4ab7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a80d6c874d56ebfbf3c0aca2d2b8c4ab7">copyFrom</a> (int destChannel, int destStartSample, const Type *source, int numSamples) noexcept</td></tr>
<tr class="memdesc:a80d6c874d56ebfbf3c0aca2d2b8c4ab7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies samples from an array of floats into one of the channels.  <a href="#a80d6c874d56ebfbf3c0aca2d2b8c4ab7">More...</a><br /></td></tr>
<tr class="separator:a80d6c874d56ebfbf3c0aca2d2b8c4ab7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2684ecc739be23105f3a2f0605e2a928"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a2684ecc739be23105f3a2f0605e2a928">copyFrom</a> (int destChannel, int destStartSample, const Type *source, int numSamples, Type gain) noexcept</td></tr>
<tr class="memdesc:a2684ecc739be23105f3a2f0605e2a928"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies samples from an array of floats into one of the channels, applying a gain to it.  <a href="#a2684ecc739be23105f3a2f0605e2a928">More...</a><br /></td></tr>
<tr class="separator:a2684ecc739be23105f3a2f0605e2a928"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae1cff4483f4022ed49dc91eda31098c9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#ae1cff4483f4022ed49dc91eda31098c9">copyFromWithRamp</a> (int destChannel, int destStartSample, const Type *source, int numSamples, Type startGain, Type endGain) noexcept</td></tr>
<tr class="memdesc:ae1cff4483f4022ed49dc91eda31098c9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Copies samples from an array of floats into one of the channels, applying a gain ramp.  <a href="#ae1cff4483f4022ed49dc91eda31098c9">More...</a><br /></td></tr>
<tr class="separator:ae1cff4483f4022ed49dc91eda31098c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae315faecc34e5dc86ba9bdc772af9a2d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classRange.html">Range</a>&lt; Type &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#ae315faecc34e5dc86ba9bdc772af9a2d">findMinMax</a> (int channel, int startSample, int numSamples) const noexcept</td></tr>
<tr class="memdesc:ae315faecc34e5dc86ba9bdc772af9a2d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a <a class="el" href="classRange.html" title="A general-purpose range object, that simply represents any linear range with a start and end point...">Range</a> indicating the lowest and highest sample values in a given section.  <a href="#ae315faecc34e5dc86ba9bdc772af9a2d">More...</a><br /></td></tr>
<tr class="separator:ae315faecc34e5dc86ba9bdc772af9a2d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0f0099350d92091c24e8b14b149328e"><td class="memItemLeft" align="right" valign="top">Type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#af0f0099350d92091c24e8b14b149328e">getMagnitude</a> (int channel, int startSample, int numSamples) const noexcept</td></tr>
<tr class="memdesc:af0f0099350d92091c24e8b14b149328e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the highest absolute sample value within a region of a channel.  <a href="#af0f0099350d92091c24e8b14b149328e">More...</a><br /></td></tr>
<tr class="separator:af0f0099350d92091c24e8b14b149328e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdd67f1761872b093a2065dc8f9b3c9e"><td class="memItemLeft" align="right" valign="top">Type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#afdd67f1761872b093a2065dc8f9b3c9e">getMagnitude</a> (int startSample, int numSamples) const noexcept</td></tr>
<tr class="memdesc:afdd67f1761872b093a2065dc8f9b3c9e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Finds the highest absolute sample value within a region on all channels.  <a href="#afdd67f1761872b093a2065dc8f9b3c9e">More...</a><br /></td></tr>
<tr class="separator:afdd67f1761872b093a2065dc8f9b3c9e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e2c4235fa4a6da3aca73f17b46704ac"><td class="memItemLeft" align="right" valign="top">Type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a7e2c4235fa4a6da3aca73f17b46704ac">getRMSLevel</a> (int channel, int startSample, int numSamples) const noexcept</td></tr>
<tr class="memdesc:a7e2c4235fa4a6da3aca73f17b46704ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the root mean squared level for a region of a channel.  <a href="#a7e2c4235fa4a6da3aca73f17b46704ac">More...</a><br /></td></tr>
<tr class="separator:a7e2c4235fa4a6da3aca73f17b46704ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a41cbf05e4d7054e02d5844b09a8eceb5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a41cbf05e4d7054e02d5844b09a8eceb5">reverse</a> (int channel, int startSample, int numSamples) const noexcept</td></tr>
<tr class="memdesc:a41cbf05e4d7054e02d5844b09a8eceb5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reverses a part of a channel.  <a href="#a41cbf05e4d7054e02d5844b09a8eceb5">More...</a><br /></td></tr>
<tr class="separator:a41cbf05e4d7054e02d5844b09a8eceb5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a842674c6e6bd70f27fcbdef7cc76e283"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classAudioBuffer.html#a842674c6e6bd70f27fcbdef7cc76e283">reverse</a> (int startSample, int numSamples) const noexcept</td></tr>
<tr class="memdesc:a842674c6e6bd70f27fcbdef7cc76e283"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reverses a part of the buffer.  <a href="#a842674c6e6bd70f27fcbdef7cc76e283">More...</a><br /></td></tr>
<tr class="separator:a842674c6e6bd70f27fcbdef7cc76e283"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><h3>template&lt;typename Type&gt;<br />
class AudioBuffer&lt; Type &gt;</h3>

<p>A multi-channel buffer of floating point audio samples. </p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="juce__AudioSampleBuffer_8h.html#a97a2916214efbd76c6b870f9c48efba0" title="A multi-channel buffer of 32-bit floating point audio samples. ">AudioSampleBuffer</a> </dd></dl>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a4f480180fae64496886e43ea2b15ddc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4f480180fae64496886e43ea2b15ddc8">&sect;&nbsp;</a></span>AudioBuffer() <span class="overload">[1/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::<a class="el" href="classAudioBuffer.html">AudioBuffer</a> </td>
          <td>(</td>
          <td class="paramname"></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>Creates an empty buffer with 0 channels and 0 length. </p>

</div>
</div>
<a id="af7058cce920523b97116ee7e228ee350"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af7058cce920523b97116ee7e228ee350">&sect;&nbsp;</a></span>AudioBuffer() <span class="overload">[2/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::<a class="el" href="classAudioBuffer.html">AudioBuffer</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numChannelsToAllocate</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamplesToAllocate</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a buffer with a specified number of channels and samples. </p>
<p>The contents of the buffer will initially be undefined, so use <a class="el" href="classAudioBuffer.html#a7dcadc4a02b048ae99166b5b306e552a" title="Clears all the samples in all channels. ">clear()</a> to set all the samples to zero.</p>
<p>The buffer will allocate its memory internally, and this will be released when the buffer is deleted. If the memory can't be allocated, this will throw a std::bad_alloc exception. </p>

</div>
</div>
<a id="a3e0beee01a96f4fd162ea8347c7a50aa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3e0beee01a96f4fd162ea8347c7a50aa">&sect;&nbsp;</a></span>AudioBuffer() <span class="overload">[3/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::<a class="el" href="classAudioBuffer.html">AudioBuffer</a> </td>
          <td>(</td>
          <td class="paramtype">Type *const *&#160;</td>
          <td class="paramname"><em>dataToReferTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numChannelsToUse</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a buffer using a pre-allocated block of memory. </p>
<p>Note that if the buffer is resized or its number of channels is changed, it will re-allocate memory internally and copy the existing data to this new area, so it will then stop directly addressing this memory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dataToReferTo</td><td>a pre-allocated array containing pointers to the data for each channel that should be used by this buffer. The buffer will only refer to this memory, it won't try to delete it when the buffer is deleted or resized. </td></tr>
    <tr><td class="paramname">numChannelsToUse</td><td>the number of channels to use - this must correspond to the number of elements in the array passed in </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to use - this must correspond to the size of the arrays passed in </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a4d788fe19d1bd23274b85bf4028a0fb8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4d788fe19d1bd23274b85bf4028a0fb8">&sect;&nbsp;</a></span>AudioBuffer() <span class="overload">[4/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::<a class="el" href="classAudioBuffer.html">AudioBuffer</a> </td>
          <td>(</td>
          <td class="paramtype">Type *const *&#160;</td>
          <td class="paramname"><em>dataToReferTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numChannelsToUse</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a buffer using a pre-allocated block of memory. </p>
<p>Note that if the buffer is resized or its number of channels is changed, it will re-allocate memory internally and copy the existing data to this new area, so it will then stop directly addressing this memory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dataToReferTo</td><td>a pre-allocated array containing pointers to the data for each channel that should be used by this buffer. The buffer will only refer to this memory, it won't try to delete it when the buffer is deleted or resized. </td></tr>
    <tr><td class="paramname">numChannelsToUse</td><td>the number of channels to use - this must correspond to the number of elements in the array passed in </td></tr>
    <tr><td class="paramname">startSample</td><td>the offset within the arrays at which the data begins </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to use - this must correspond to the size of the arrays passed in </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a3d9d5b59ccfee79f6aadbaf6ed4ffc28"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d9d5b59ccfee79f6aadbaf6ed4ffc28">&sect;&nbsp;</a></span>AudioBuffer() <span class="overload">[5/5]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::<a class="el" href="classAudioBuffer.html">AudioBuffer</a> </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</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>Copies another buffer. </p>
<p>This buffer will make its own copy of the other's data, unless the buffer was created using an external data buffer, in which case boths buffers will just point to the same shared block of data. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::~<a class="el" href="classAudioBuffer.html">AudioBuffer</a> </td>
          <td>(</td>
          <td class="paramname"></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>Destructor. </p>
<p>This will free any memory allocated by the buffer. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAudioBuffer.html">AudioBuffer</a>&amp; <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</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>Copies another buffer onto this one. </p>
<p>This buffer's size will be changed to that of the other buffer. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns the number of channels of audio data that this buffer contains. </p>
<dl class="section see"><dt>See also</dt><dd>getSampleData </dd></dl>

<p>Referenced by <a class="el" href="structVST3BufferExchange.html#a258f09e3c61c120d7c35e2c66bddd48a">VST3BufferExchange&lt; float &gt;::associateBufferTo()</a>, and <a class="el" href="classAudioBuffer.html#a88f19397f068366e13aa53a0b6f92913">AudioBuffer&lt; float &gt;::makeCopyOf()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getNumSamples </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 number of samples allocated in each of the buffer's channels. </p>
<dl class="section see"><dt>See also</dt><dd>getSampleData </dd></dl>

<p>Referenced by <a class="el" href="classAudioProcessor.html#a504d92e94c561ba9137ae12a544ed784">AudioProcessor::getBusBuffer()</a>, and <a class="el" href="classAudioBuffer.html#a88f19397f068366e13aa53a0b6f92913">AudioBuffer&lt; float &gt;::makeCopyOf()</a>.</p>

</div>
</div>
<a id="afa0c5c0ce9fc26315a0c53d3e8d46cfa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa0c5c0ce9fc26315a0c53d3e8d46cfa">&sect;&nbsp;</a></span>getReadPointer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const Type* <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getReadPointer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channelNumber</em></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 a pointer to an array of read-only samples in one of the buffer's channels. </p>
<p>For speed, this doesn't check whether the channel number is out of range, so be careful when using it! If you need to write to the data, do NOT call this method and const_cast the result! Instead, you must call getWritePointer so that the buffer knows you're planning on modifying the data. </p>

<p>Referenced by <a class="el" href="classAudioBuffer.html#a88f19397f068366e13aa53a0b6f92913">AudioBuffer&lt; float &gt;::makeCopyOf()</a>.</p>

</div>
</div>
<a id="ac886069987c46e419ab978cd97b8339a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac886069987c46e419ab978cd97b8339a">&sect;&nbsp;</a></span>getReadPointer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const Type* <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getReadPointer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channelNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sampleIndex</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a pointer to an array of read-only samples in one of the buffer's channels. </p>
<p>For speed, this doesn't check whether the channel number or index are out of range, so be careful when using it! If you need to write to the data, do NOT call this method and const_cast the result! Instead, you must call getWritePointer so that the buffer knows you're planning on modifying the data. </p>

</div>
</div>
<a id="a909904fa6e89008f43c83d5375c160dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a909904fa6e89008f43c83d5375c160dc">&sect;&nbsp;</a></span>getWritePointer() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type* <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getWritePointer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channelNumber</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>Returns a writeable pointer to one of the buffer's channels. </p>
<p>For speed, this doesn't check whether the channel number is out of range, so be careful when using it! Note that if you're not planning on writing to the data, you should always use getReadPointer instead. </p>

<p>Referenced by <a class="el" href="structVST3BufferExchange.html#a258f09e3c61c120d7c35e2c66bddd48a">VST3BufferExchange&lt; float &gt;::associateBufferTo()</a>.</p>

</div>
</div>
<a id="a1689185e6baae835a486b4c45f85892d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1689185e6baae835a486b4c45f85892d">&sect;&nbsp;</a></span>getWritePointer() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type* <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getWritePointer </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channelNumber</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sampleIndex</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a writeable pointer to one of the buffer's channels. </p>
<p>For speed, this doesn't check whether the channel number or index are out of range, so be careful when using it! Note that if you're not planning on writing to the data, you should use getReadPointer instead. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const Type** <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getArrayOfReadPointers </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 an array of pointers to the channels in the buffer. </p>
<p>Don't modify any of the pointers that are returned, and bear in mind that these will become invalid if the buffer is resized. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type** <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getArrayOfWritePointers </td>
          <td>(</td>
          <td class="paramname"></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>Returns an array of pointers to the channels in the buffer. </p>
<p>Don't modify any of the pointers that are returned, and bear in mind that these will become invalid if the buffer is resized. </p>

<p>Referenced by <a class="el" href="classAudioProcessor.html#a504d92e94c561ba9137ae12a544ed784">AudioProcessor::getBusBuffer()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::setSize </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>newNumChannels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>newNumSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>keepExistingContent</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>clearExtraSpace</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>avoidReallocating</em> = <code>false</code>&#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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Changes the buffer's size or number of channels. </p>
<p>This can expand or contract the buffer's length, and add or remove channels.</p>
<p>If keepExistingContent is true, it will try to preserve as much of the old data as it can in the new buffer.</p>
<p>If clearExtraSpace is true, then any extra channels or space that is allocated will be also be cleared. If false, then this space is left uninitialised.</p>
<p>If avoidReallocating is true, then changing the buffer's size won't reduce the amount of memory that is currently allocated (but it will still increase it if the new size is bigger than the amount it currently has). If this is false, then a new allocation will be done so that the buffer uses takes up the minimum amount of memory that it needs.</p>
<p>If the required memory can't be allocated, this will throw a std::bad_alloc exception. </p>

<p>Referenced by <a class="el" href="classAudioBuffer.html#a88f19397f068366e13aa53a0b6f92913">AudioBuffer&lt; float &gt;::makeCopyOf()</a>, and <a class="el" href="classAudioBuffer.html#a60a3e64901c3e9ddeca5512ad8d82bd7">AudioBuffer&lt; float &gt;::operator=()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::setDataToReferTo </td>
          <td>(</td>
          <td class="paramtype">Type **&#160;</td>
          <td class="paramname"><em>dataToReferTo</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>newNumChannels</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const int&#160;</td>
          <td class="paramname"><em>newNumSamples</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Makes this buffer point to a pre-allocated set of channel data arrays. </p>
<p>There's also a constructor that lets you specify arrays like this, but this lets you change the channels dynamically.</p>
<p>Note that if the buffer is resized or its number of channels is changed, it will re-allocate memory internally and copy the existing data to this new area, so it will then stop directly addressing this memory.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">dataToReferTo</td><td>a pre-allocated array containing pointers to the data for each channel that should be used by this buffer. The buffer will only refer to this memory, it won't try to delete it when the buffer is deleted or resized. </td></tr>
    <tr><td class="paramname">newNumChannels</td><td>the number of channels to use - this must correspond to the number of elements in the array passed in </td></tr>
    <tr><td class="paramname">newNumSamples</td><td>the number of samples to use - this must correspond to the size of the arrays passed in </td></tr>
  </table>
  </dd>
</dl>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<div class="memtemplate">
template&lt;typename OtherType &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::makeCopyOf </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; OtherType &gt; &amp;&#160;</td>
          <td class="paramname"><em>other</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>avoidReallocating</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Resizes this buffer to match the given one, and copies all of its content across. </p>
<p>The source buffer can contain a different floating point type, so this can be used to convert between 32 and 64 bit float buffer types. </p>

</div>
</div>
<a id="a7dcadc4a02b048ae99166b5b306e552a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7dcadc4a02b048ae99166b5b306e552a">&sect;&nbsp;</a></span>clear() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clears all the samples in all channels. </p>

<p>Referenced by <a class="el" href="classAudioBuffer.html#a3d9d5b59ccfee79f6aadbaf6ed4ffc28">AudioBuffer&lt; float &gt;::AudioBuffer()</a>, <a class="el" href="structAudioSourceChannelInfo.html#a6246ca9f1f6ef86dab31fc0eeaacb7a3">AudioSourceChannelInfo::clearActiveBufferRegion()</a>, <a class="el" href="classAudioBuffer.html#a88f19397f068366e13aa53a0b6f92913">AudioBuffer&lt; float &gt;::makeCopyOf()</a>, and <a class="el" href="classAudioBuffer.html#a60a3e64901c3e9ddeca5512ad8d82bd7">AudioBuffer&lt; float &gt;::operator=()</a>.</p>

</div>
</div>
<a id="a97d34c7bc5dfd19fa9450d112972422b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a97d34c7bc5dfd19fa9450d112972422b">&sect;&nbsp;</a></span>clear() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::clear </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clears a specified region of all the channels. </p>
<p>For speed, this doesn't check whether the channel and sample number are in-range, so be careful! </p>

</div>
</div>
<a id="a3c0cc34d68718a0f24bcea846cf92f61"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3c0cc34d68718a0f24bcea846cf92f61">&sect;&nbsp;</a></span>clear() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::clear </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Clears a specified region of just one channel. </p>
<p>For speed, this doesn't check whether the channel and sample number are in-range, so be careful! </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::hasBeenCleared </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 true if the buffer has been entirely cleared. </p>
<p>Note that this does not actually measure the contents of the buffer - it simply returns a flag that is set when the buffer is cleared, and which is reset whenever functions like <a class="el" href="classAudioBuffer.html#a909904fa6e89008f43c83d5375c160dc" title="Returns a writeable pointer to one of the buffer&#39;s channels. ">getWritePointer()</a> are invoked. That means the method does not take any time, but it may return false negatives when in fact the buffer is still empty. </p>

<p>Referenced by <a class="el" href="classAudioBuffer.html#a88f19397f068366e13aa53a0b6f92913">AudioBuffer&lt; float &gt;::makeCopyOf()</a>.</p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getSample </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sampleIndex</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Returns a sample from the buffer. </p>
<p>The channel and index are not checked - they are expected to be in-range. If not, an assertion will be thrown, but in a release build, you're into 'undefined behaviour' territory. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::setSample </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>newValue</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Sets a sample in the buffer. </p>
<p>The channel and index are not checked - they are expected to be in-range. If not, an assertion will be thrown, but in a release build, you're into 'undefined behaviour' territory. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::addSample </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>valueToAdd</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adds a value to a sample in the buffer. </p>
<p>The channel and index are not checked - they are expected to be in-range. If not, an assertion will be thrown, but in a release build, you're into 'undefined behaviour' territory. </p>

</div>
</div>
<a id="a9ffc61d339e455d4bddc7cf055a63ee3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ffc61d339e455d4bddc7cf055a63ee3">&sect;&nbsp;</a></span>applyGain() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::applyGain </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>gain</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Applies a gain multiple to a region of one channel. </p>
<p>For speed, this doesn't check whether the channel and sample number are in-range, so be careful! </p>

<p>Referenced by <a class="el" href="classAudioBuffer.html#a25c9a05ff546379ba7bed697e616bfb3">AudioBuffer&lt; float &gt;::applyGain()</a>, and <a class="el" href="classAudioBuffer.html#ab0542e5b626b36087f0054e795695682">AudioBuffer&lt; float &gt;::applyGainRamp()</a>.</p>

</div>
</div>
<a id="a25c9a05ff546379ba7bed697e616bfb3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25c9a05ff546379ba7bed697e616bfb3">&sect;&nbsp;</a></span>applyGain() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::applyGain </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>gain</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Applies a gain multiple to a region of all the channels. </p>
<p>For speed, this doesn't check whether the sample numbers are in-range, so be careful! </p>

</div>
</div>
<a id="a0c4794d6dbfd6d0c20d041fffc9939af"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c4794d6dbfd6d0c20d041fffc9939af">&sect;&nbsp;</a></span>applyGain() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::applyGain </td>
          <td>(</td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>gain</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>Applies a gain multiple to all the audio data. </p>

</div>
</div>
<a id="ab0542e5b626b36087f0054e795695682"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab0542e5b626b36087f0054e795695682">&sect;&nbsp;</a></span>applyGainRamp() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::applyGainRamp </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>startGain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>endGain</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Applies a range of gains to a region of a channel. </p>
<p>The gain that is applied to each sample will vary from startGain on the first sample to endGain on the last Sample, so it can be used to do basic fades.</p>
<p>For speed, this doesn't check whether the sample numbers are in-range, so be careful! </p>

<p>Referenced by <a class="el" href="classAudioBuffer.html#af5cde88e72248367626419733fc58fc2">AudioBuffer&lt; float &gt;::applyGainRamp()</a>.</p>

</div>
</div>
<a id="af5cde88e72248367626419733fc58fc2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af5cde88e72248367626419733fc58fc2">&sect;&nbsp;</a></span>applyGainRamp() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::applyGainRamp </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>startGain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>endGain</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Applies a range of gains to a region of all channels. </p>
<p>The gain that is applied to each sample will vary from startGain on the first sample to endGain on the last Sample, so it can be used to do basic fades.</p>
<p>For speed, this doesn't check whether the sample numbers are in-range, so be careful! </p>

</div>
</div>
<a id="a20c20b1e68b0e18f958dd9bcb5690a84"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a20c20b1e68b0e18f958dd9bcb5690a84">&sect;&nbsp;</a></span>addFrom() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::addFrom </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destStartSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt; &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sourceChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sourceStartSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>gainToApplyToSource</em> = <code>(Type)&#160;1</code>&#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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adds samples from another buffer to this one. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destChannel</td><td>the channel within this buffer to add the samples to </td></tr>
    <tr><td class="paramname">destStartSample</td><td>the start sample within this buffer's channel </td></tr>
    <tr><td class="paramname">source</td><td>the source buffer to add from </td></tr>
    <tr><td class="paramname">sourceChannel</td><td>the channel within the source buffer to read from </td></tr>
    <tr><td class="paramname">sourceStartSample</td><td>the offset within the source buffer's channel to start reading samples from </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to process </td></tr>
    <tr><td class="paramname">gainToApplyToSource</td><td>an optional gain to apply to the source samples before they are added to this buffer's samples</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioBuffer.html#a9ec751bfa23564c011bf3940ca17b743" title="Copies samples from another buffer to this one. ">copyFrom</a> </dd></dl>

<p>Referenced by <a class="el" href="classAudioBuffer.html#a1853da41f2a3d87fa6291a2bf2adca05">AudioBuffer&lt; float &gt;::addFromWithRamp()</a>.</p>

</div>
</div>
<a id="abb01aeb057e87b639eb758896cfc9ca9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abb01aeb057e87b639eb758896cfc9ca9">&sect;&nbsp;</a></span>addFrom() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::addFrom </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destStartSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Type *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>gainToApplyToSource</em> = <code>(Type)&#160;1</code>&#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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adds samples from an array of floats to one of the channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destChannel</td><td>the channel within this buffer to add the samples to </td></tr>
    <tr><td class="paramname">destStartSample</td><td>the start sample within this buffer's channel </td></tr>
    <tr><td class="paramname">source</td><td>the source data to use </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to process </td></tr>
    <tr><td class="paramname">gainToApplyToSource</td><td>an optional gain to apply to the source samples before they are added to this buffer's samples</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioBuffer.html#a9ec751bfa23564c011bf3940ca17b743" title="Copies samples from another buffer to this one. ">copyFrom</a> </dd></dl>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::addFromWithRamp </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destStartSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Type *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>startGain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>endGain</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Adds samples from an array of floats, applying a gain ramp to them. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destChannel</td><td>the channel within this buffer to add the samples to </td></tr>
    <tr><td class="paramname">destStartSample</td><td>the start sample within this buffer's channel </td></tr>
    <tr><td class="paramname">source</td><td>the source data to use </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to process </td></tr>
    <tr><td class="paramname">startGain</td><td>the gain to apply to the first sample (this is multiplied with the source samples before they are added to this buffer) </td></tr>
    <tr><td class="paramname">endGain</td><td>the gain to apply to the final sample. The gain is linearly interpolated between the first and last samples. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a9ec751bfa23564c011bf3940ca17b743"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ec751bfa23564c011bf3940ca17b743">&sect;&nbsp;</a></span>copyFrom() <span class="overload">[1/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::copyFrom </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destStartSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt; &amp;&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sourceChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>sourceStartSample</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copies samples from another buffer to this one. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destChannel</td><td>the channel within this buffer to copy the samples to </td></tr>
    <tr><td class="paramname">destStartSample</td><td>the start sample within this buffer's channel </td></tr>
    <tr><td class="paramname">source</td><td>the source buffer to read from </td></tr>
    <tr><td class="paramname">sourceChannel</td><td>the channel within the source buffer to read from </td></tr>
    <tr><td class="paramname">sourceStartSample</td><td>the offset within the source buffer's channel to start reading samples from </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to process</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioBuffer.html#a20c20b1e68b0e18f958dd9bcb5690a84" title="Adds samples from another buffer to this one. ">addFrom</a> </dd></dl>

<p>Referenced by <a class="el" href="classAudioBuffer.html#ae1cff4483f4022ed49dc91eda31098c9">AudioBuffer&lt; float &gt;::copyFromWithRamp()</a>.</p>

</div>
</div>
<a id="a80d6c874d56ebfbf3c0aca2d2b8c4ab7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a80d6c874d56ebfbf3c0aca2d2b8c4ab7">&sect;&nbsp;</a></span>copyFrom() <span class="overload">[2/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::copyFrom </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destStartSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Type *&#160;</td>
          <td class="paramname"><em>source</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copies samples from an array of floats into one of the channels. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destChannel</td><td>the channel within this buffer to copy the samples to </td></tr>
    <tr><td class="paramname">destStartSample</td><td>the start sample within this buffer's channel </td></tr>
    <tr><td class="paramname">source</td><td>the source buffer to read from </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to process</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioBuffer.html#a20c20b1e68b0e18f958dd9bcb5690a84" title="Adds samples from another buffer to this one. ">addFrom</a> </dd></dl>

</div>
</div>
<a id="a2684ecc739be23105f3a2f0605e2a928"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2684ecc739be23105f3a2f0605e2a928">&sect;&nbsp;</a></span>copyFrom() <span class="overload">[3/3]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::copyFrom </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destStartSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Type *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>gain</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copies samples from an array of floats into one of the channels, applying a gain to it. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destChannel</td><td>the channel within this buffer to copy the samples to </td></tr>
    <tr><td class="paramname">destStartSample</td><td>the start sample within this buffer's channel </td></tr>
    <tr><td class="paramname">source</td><td>the source buffer to read from </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to process </td></tr>
    <tr><td class="paramname">gain</td><td>the gain to apply</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioBuffer.html#a20c20b1e68b0e18f958dd9bcb5690a84" title="Adds samples from another buffer to this one. ">addFrom</a> </dd></dl>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::copyFromWithRamp </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destChannel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>destStartSample</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const Type *&#160;</td>
          <td class="paramname"><em>source</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>numSamples</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>startGain</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Type&#160;</td>
          <td class="paramname"><em>endGain</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">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Copies samples from an array of floats into one of the channels, applying a gain ramp. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">destChannel</td><td>the channel within this buffer to copy the samples to </td></tr>
    <tr><td class="paramname">destStartSample</td><td>the start sample within this buffer's channel </td></tr>
    <tr><td class="paramname">source</td><td>the source buffer to read from </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to process </td></tr>
    <tr><td class="paramname">startGain</td><td>the gain to apply to the first sample (this is multiplied with the source samples before they are copied to this buffer) </td></tr>
    <tr><td class="paramname">endGain</td><td>the gain to apply to the final sample. The gain is linearly interpolated between the first and last samples.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classAudioBuffer.html#a20c20b1e68b0e18f958dd9bcb5690a84" title="Adds samples from another buffer to this one. ">addFrom</a> </dd></dl>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classRange.html">Range</a>&lt;Type&gt; <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::findMinMax </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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> 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 a <a class="el" href="classRange.html" title="A general-purpose range object, that simply represents any linear range with a start and end point...">Range</a> indicating the lowest and highest sample values in a given section. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">channel</td><td>the channel to read from </td></tr>
    <tr><td class="paramname">startSample</td><td>the start sample within the channel </td></tr>
    <tr><td class="paramname">numSamples</td><td>the number of samples to check </td></tr>
  </table>
  </dd>
</dl>

<p>Referenced by <a class="el" href="classAudioBuffer.html#af0f0099350d92091c24e8b14b149328e">AudioBuffer&lt; float &gt;::getMagnitude()</a>.</p>

</div>
</div>
<a id="af0f0099350d92091c24e8b14b149328e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af0f0099350d92091c24e8b14b149328e">&sect;&nbsp;</a></span>getMagnitude() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getMagnitude </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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> 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>Finds the highest absolute sample value within a region of a channel. </p>

<p>Referenced by <a class="el" href="classAudioBuffer.html#afdd67f1761872b093a2065dc8f9b3c9e">AudioBuffer&lt; float &gt;::getMagnitude()</a>.</p>

</div>
</div>
<a id="afdd67f1761872b093a2065dc8f9b3c9e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afdd67f1761872b093a2065dc8f9b3c9e">&sect;&nbsp;</a></span>getMagnitude() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getMagnitude </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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> 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>Finds the highest absolute sample value within a region on all channels. </p>

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

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Type <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::getRMSLevel </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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> 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 root mean squared level for a region of a channel. </p>

</div>
</div>
<a id="a41cbf05e4d7054e02d5844b09a8eceb5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a41cbf05e4d7054e02d5844b09a8eceb5">&sect;&nbsp;</a></span>reverse() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::reverse </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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> 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>Reverses a part of a channel. </p>

<p>Referenced by <a class="el" href="classAudioBuffer.html#a842674c6e6bd70f27fcbdef7cc76e283">AudioBuffer&lt; float &gt;::reverse()</a>.</p>

</div>
</div>
<a id="a842674c6e6bd70f27fcbdef7cc76e283"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a842674c6e6bd70f27fcbdef7cc76e283">&sect;&nbsp;</a></span>reverse() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename Type&gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classAudioBuffer.html">AudioBuffer</a>&lt; Type &gt;::reverse </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>startSample</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> 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>Reverses a part of the buffer. </p>

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