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
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
/* automatically generated by rust-bindgen */

#![allow(non_camel_case_types)]
#![allow(non_snake_case)]
pub type sl_int32_t = i32;
pub type sl_uint32_t = u32;

#[repr(C)]
#[derive(Default)]
pub struct __IncompleteArrayField<T>(::std::marker::PhantomData<T>, [T; 0]);
impl<T> __IncompleteArrayField<T> {
    #[inline]
    pub const fn new() -> Self {
        __IncompleteArrayField(::std::marker::PhantomData, [])
    }
    #[inline]
    pub unsafe fn as_ptr(&self) -> *const T {
        ::std::mem::transmute(self)
    }
    #[inline]
    pub unsafe fn as_mut_ptr(&mut self) -> *mut T {
        ::std::mem::transmute(self)
    }
    #[inline]
    pub unsafe fn as_slice(&self, len: usize) -> &[T] {
        ::std::slice::from_raw_parts(self.as_ptr(), len)
    }
    #[inline]
    pub unsafe fn as_mut_slice(&mut self, len: usize) -> &mut [T] {
        ::std::slice::from_raw_parts_mut(self.as_mut_ptr(), len)
    }
}
impl<T> ::std::fmt::Debug for __IncompleteArrayField<T> {
    fn fmt(&self, fmt: &mut ::std::fmt::Formatter<'_>) -> ::std::fmt::Result {
        fmt.write_str("__IncompleteArrayField")
    }
}
impl<T> ::std::clone::Clone for __IncompleteArrayField<T> {
    #[inline]
    fn clone(&self) -> Self {
        Self::new()
    }
}
pub const KHRONOS_TITLE: &'static [u8; 13usize] = b"KhronosTitle\0";
pub const KHRONOS_ALBUM: &'static [u8; 13usize] = b"KhronosAlbum\0";
pub const KHRONOS_TRACK_NUMBER: &'static [u8; 19usize] = b"KhronosTrackNumber\0";
pub const KHRONOS_ARTIST: &'static [u8; 14usize] = b"KhronosArtist\0";
pub const KHRONOS_GENRE: &'static [u8; 13usize] = b"KhronosGenre\0";
pub const KHRONOS_YEAR: &'static [u8; 12usize] = b"KhronosYear\0";
pub const KHRONOS_COMMENT: &'static [u8; 15usize] = b"KhronosComment\0";
pub const KHRONOS_ARTIST_URL: &'static [u8; 17usize] = b"KhronosArtistURL\0";
pub const KHRONOS_CONTENT_URL: &'static [u8; 18usize] = b"KhronosContentURL\0";
pub const KHRONOS_RATING: &'static [u8; 14usize] = b"KhronosRating\0";
pub const KHRONOS_ALBUM_ART: &'static [u8; 16usize] = b"KhronosAlbumArt\0";
pub const KHRONOS_COPYRIGHT: &'static [u8; 17usize] = b"KhronosCopyright\0";
pub const SL_BOOLEAN_FALSE: u32 = 0;
pub const SL_BOOLEAN_TRUE: u32 = 1;
pub const SL_OBJECTID_ENGINE: u32 = 4097;
pub const SL_OBJECTID_LEDDEVICE: u32 = 4098;
pub const SL_OBJECTID_VIBRADEVICE: u32 = 4099;
pub const SL_OBJECTID_AUDIOPLAYER: u32 = 4100;
pub const SL_OBJECTID_AUDIORECORDER: u32 = 4101;
pub const SL_OBJECTID_MIDIPLAYER: u32 = 4102;
pub const SL_OBJECTID_LISTENER: u32 = 4103;
pub const SL_OBJECTID_3DGROUP: u32 = 4104;
pub const SL_OBJECTID_OUTPUTMIX: u32 = 4105;
pub const SL_OBJECTID_METADATAEXTRACTOR: u32 = 4106;
pub const SL_PROFILES_PHONE: u32 = 1;
pub const SL_PROFILES_MUSIC: u32 = 2;
pub const SL_PROFILES_GAME: u32 = 4;
pub const SL_VOICETYPE_2D_AUDIO: u32 = 1;
pub const SL_VOICETYPE_MIDI: u32 = 2;
pub const SL_VOICETYPE_3D_AUDIO: u32 = 4;
pub const SL_VOICETYPE_3D_MIDIOUTPUT: u32 = 8;
pub const SL_PRIORITY_LOWEST: u32 = 4294967295;
pub const SL_PRIORITY_VERYLOW: u32 = 3758096384;
pub const SL_PRIORITY_LOW: u32 = 3221225472;
pub const SL_PRIORITY_BELOWNORMAL: u32 = 2684354560;
pub const SL_PRIORITY_NORMAL: u32 = 2147483647;
pub const SL_PRIORITY_ABOVENORMAL: u32 = 1610612736;
pub const SL_PRIORITY_HIGH: u32 = 1073741824;
pub const SL_PRIORITY_VERYHIGH: u32 = 536870912;
pub const SL_PRIORITY_HIGHEST: u32 = 0;
pub const SL_PCM_REPRESENTATION_SIGNED_INT: u32 = 1;
pub const SL_PCM_REPRESENTATION_UNSIGNED_INT: u32 = 2;
pub const SL_PCM_REPRESENTATION_FLOAT: u32 = 3;
pub const SL_PCMSAMPLEFORMAT_FIXED_8: u32 = 8;
pub const SL_PCMSAMPLEFORMAT_FIXED_16: u32 = 16;
pub const SL_PCMSAMPLEFORMAT_FIXED_20: u32 = 20;
pub const SL_PCMSAMPLEFORMAT_FIXED_24: u32 = 24;
pub const SL_PCMSAMPLEFORMAT_FIXED_28: u32 = 28;
pub const SL_PCMSAMPLEFORMAT_FIXED_32: u32 = 32;
pub const SL_PCMSAMPLEFORMAT_FIXED_64: u32 = 64;
pub const SL_SAMPLINGRATE_8: u32 = 8000000;
pub const SL_SAMPLINGRATE_11_025: u32 = 11025000;
pub const SL_SAMPLINGRATE_12: u32 = 12000000;
pub const SL_SAMPLINGRATE_16: u32 = 16000000;
pub const SL_SAMPLINGRATE_22_05: u32 = 22050000;
pub const SL_SAMPLINGRATE_24: u32 = 24000000;
pub const SL_SAMPLINGRATE_32: u32 = 32000000;
pub const SL_SAMPLINGRATE_44_1: u32 = 44100000;
pub const SL_SAMPLINGRATE_48: u32 = 48000000;
pub const SL_SAMPLINGRATE_64: u32 = 64000000;
pub const SL_SAMPLINGRATE_88_2: u32 = 88200000;
pub const SL_SAMPLINGRATE_96: u32 = 96000000;
pub const SL_SAMPLINGRATE_192: u32 = 192000000;
pub const SL_SPEAKER_FRONT_LEFT: u32 = 1;
pub const SL_SPEAKER_FRONT_RIGHT: u32 = 2;
pub const SL_SPEAKER_FRONT_CENTER: u32 = 4;
pub const SL_SPEAKER_LOW_FREQUENCY: u32 = 8;
pub const SL_SPEAKER_BACK_LEFT: u32 = 16;
pub const SL_SPEAKER_BACK_RIGHT: u32 = 32;
pub const SL_SPEAKER_FRONT_LEFT_OF_CENTER: u32 = 64;
pub const SL_SPEAKER_FRONT_RIGHT_OF_CENTER: u32 = 128;
pub const SL_SPEAKER_BACK_CENTER: u32 = 256;
pub const SL_SPEAKER_SIDE_LEFT: u32 = 512;
pub const SL_SPEAKER_SIDE_RIGHT: u32 = 1024;
pub const SL_SPEAKER_TOP_CENTER: u32 = 2048;
pub const SL_SPEAKER_TOP_FRONT_LEFT: u32 = 4096;
pub const SL_SPEAKER_TOP_FRONT_CENTER: u32 = 8192;
pub const SL_SPEAKER_TOP_FRONT_RIGHT: u32 = 16384;
pub const SL_SPEAKER_TOP_BACK_LEFT: u32 = 32768;
pub const SL_SPEAKER_TOP_BACK_CENTER: u32 = 65536;
pub const SL_SPEAKER_TOP_BACK_RIGHT: u32 = 131072;
pub const SL_RESULT_SUCCESS: u32 = 0;
pub const SL_RESULT_PRECONDITIONS_VIOLATED: u32 = 1;
pub const SL_RESULT_PARAMETER_INVALID: u32 = 2;
pub const SL_RESULT_MEMORY_FAILURE: u32 = 3;
pub const SL_RESULT_RESOURCE_ERROR: u32 = 4;
pub const SL_RESULT_RESOURCE_LOST: u32 = 5;
pub const SL_RESULT_IO_ERROR: u32 = 6;
pub const SL_RESULT_BUFFER_INSUFFICIENT: u32 = 7;
pub const SL_RESULT_CONTENT_CORRUPTED: u32 = 8;
pub const SL_RESULT_CONTENT_UNSUPPORTED: u32 = 9;
pub const SL_RESULT_CONTENT_NOT_FOUND: u32 = 10;
pub const SL_RESULT_PERMISSION_DENIED: u32 = 11;
pub const SL_RESULT_FEATURE_UNSUPPORTED: u32 = 12;
pub const SL_RESULT_INTERNAL_ERROR: u32 = 13;
pub const SL_RESULT_UNKNOWN_ERROR: u32 = 14;
pub const SL_RESULT_OPERATION_ABORTED: u32 = 15;
pub const SL_RESULT_CONTROL_LOST: u32 = 16;
pub const SL_RESULT_READONLY: u32 = 17;
pub const SL_RESULT_ENGINEOPTION_UNSUPPORTED: u32 = 18;
pub const SL_RESULT_SOURCE_SINK_INCOMPATIBLE: u32 = 19;
pub const SL_OBJECT_STATE_UNREALIZED: u32 = 1;
pub const SL_OBJECT_STATE_REALIZED: u32 = 2;
pub const SL_OBJECT_STATE_SUSPENDED: u32 = 3;
pub const SL_OBJECT_EVENT_RUNTIME_ERROR: u32 = 1;
pub const SL_OBJECT_EVENT_ASYNC_TERMINATION: u32 = 2;
pub const SL_OBJECT_EVENT_RESOURCES_LOST: u32 = 3;
pub const SL_OBJECT_EVENT_RESOURCES_AVAILABLE: u32 = 4;
pub const SL_OBJECT_EVENT_ITF_CONTROL_TAKEN: u32 = 5;
pub const SL_OBJECT_EVENT_ITF_CONTROL_RETURNED: u32 = 6;
pub const SL_OBJECT_EVENT_ITF_PARAMETERS_CHANGED: u32 = 7;
pub const SL_DATALOCATOR_NULL: u32 = 0;
pub const SL_DATALOCATOR_URI: u32 = 1;
pub const SL_DATALOCATOR_ADDRESS: u32 = 2;
pub const SL_DATALOCATOR_IODEVICE: u32 = 3;
pub const SL_DATALOCATOR_OUTPUTMIX: u32 = 4;
pub const SL_DATALOCATOR_RESERVED5: u32 = 5;
pub const SL_DATALOCATOR_BUFFERQUEUE: u32 = 6;
pub const SL_DATALOCATOR_MIDIBUFFERQUEUE: u32 = 7;
pub const SL_DATALOCATOR_MEDIAOBJECT: u32 = 8;
pub const SL_DATALOCATOR_CONTENTPIPE: u32 = 9;
pub const SL_IODEVICE_AUDIOINPUT: u32 = 1;
pub const SL_IODEVICE_LEDARRAY: u32 = 2;
pub const SL_IODEVICE_VIBRA: u32 = 3;
pub const SL_IODEVICE_RESERVED4: u32 = 4;
pub const SL_IODEVICE_RESERVED5: u32 = 5;
pub const SL_IODEVICE_AUDIOOUTPUT: u32 = 6;
pub const SL_DATAFORMAT_MIME: u32 = 1;
pub const SL_DATAFORMAT_PCM: u32 = 2;
pub const SL_DATAFORMAT_RESERVED3: u32 = 3;
pub const SL_DATAFORMAT_PCM_EX: u32 = 4;
pub const SL_BYTEORDER_BIGENDIAN: u32 = 1;
pub const SL_BYTEORDER_LITTLEENDIAN: u32 = 2;
pub const SL_BYTEORDER_NATIVE: u32 = 2;
pub const SL_CONTAINERTYPE_UNSPECIFIED: u32 = 1;
pub const SL_CONTAINERTYPE_RAW: u32 = 2;
pub const SL_CONTAINERTYPE_ASF: u32 = 3;
pub const SL_CONTAINERTYPE_AVI: u32 = 4;
pub const SL_CONTAINERTYPE_BMP: u32 = 5;
pub const SL_CONTAINERTYPE_JPG: u32 = 6;
pub const SL_CONTAINERTYPE_JPG2000: u32 = 7;
pub const SL_CONTAINERTYPE_M4A: u32 = 8;
pub const SL_CONTAINERTYPE_MP3: u32 = 9;
pub const SL_CONTAINERTYPE_MP4: u32 = 10;
pub const SL_CONTAINERTYPE_MPEG_ES: u32 = 11;
pub const SL_CONTAINERTYPE_MPEG_PS: u32 = 12;
pub const SL_CONTAINERTYPE_MPEG_TS: u32 = 13;
pub const SL_CONTAINERTYPE_QT: u32 = 14;
pub const SL_CONTAINERTYPE_WAV: u32 = 15;
pub const SL_CONTAINERTYPE_XMF_0: u32 = 16;
pub const SL_CONTAINERTYPE_XMF_1: u32 = 17;
pub const SL_CONTAINERTYPE_XMF_2: u32 = 18;
pub const SL_CONTAINERTYPE_XMF_3: u32 = 19;
pub const SL_CONTAINERTYPE_XMF_GENERIC: u32 = 20;
pub const SL_CONTAINERTYPE_AMR: u32 = 21;
pub const SL_CONTAINERTYPE_AAC: u32 = 22;
pub const SL_CONTAINERTYPE_3GPP: u32 = 23;
pub const SL_CONTAINERTYPE_3GA: u32 = 24;
pub const SL_CONTAINERTYPE_RM: u32 = 25;
pub const SL_CONTAINERTYPE_DMF: u32 = 26;
pub const SL_CONTAINERTYPE_SMF: u32 = 27;
pub const SL_CONTAINERTYPE_MOBILE_DLS: u32 = 28;
pub const SL_CONTAINERTYPE_OGG: u32 = 29;
pub const SL_DEFAULTDEVICEID_AUDIOINPUT: u32 = 4294967295;
pub const SL_DEFAULTDEVICEID_AUDIOOUTPUT: u32 = 4294967294;
pub const SL_DEFAULTDEVICEID_LED: u32 = 4294967293;
pub const SL_DEFAULTDEVICEID_VIBRA: u32 = 4294967292;
pub const SL_DEFAULTDEVICEID_RESERVED1: u32 = 4294967291;
pub const SL_DEVLOCATION_HANDSET: u32 = 1;
pub const SL_DEVLOCATION_HEADSET: u32 = 2;
pub const SL_DEVLOCATION_CARKIT: u32 = 3;
pub const SL_DEVLOCATION_DOCK: u32 = 4;
pub const SL_DEVLOCATION_REMOTE: u32 = 5;
pub const SL_DEVLOCATION_RESLTE: u32 = 5;
pub const SL_DEVSCOPE_UNKNOWN: u32 = 1;
pub const SL_DEVSCOPE_ENVIRONMENT: u32 = 2;
pub const SL_DEVSCOPE_USER: u32 = 3;
pub const SL_CHARACTERENCODING_UNKNOWN: u32 = 0;
pub const SL_CHARACTERENCODING_BINARY: u32 = 1;
pub const SL_CHARACTERENCODING_ASCII: u32 = 2;
pub const SL_CHARACTERENCODING_BIG5: u32 = 3;
pub const SL_CHARACTERENCODING_CODEPAGE1252: u32 = 4;
pub const SL_CHARACTERENCODING_GB2312: u32 = 5;
pub const SL_CHARACTERENCODING_HZGB2312: u32 = 6;
pub const SL_CHARACTERENCODING_GB12345: u32 = 7;
pub const SL_CHARACTERENCODING_GB18030: u32 = 8;
pub const SL_CHARACTERENCODING_GBK: u32 = 9;
pub const SL_CHARACTERENCODING_IMAPUTF7: u32 = 10;
pub const SL_CHARACTERENCODING_ISO2022JP: u32 = 11;
pub const SL_CHARACTERENCODING_ISO2022JP1: u32 = 11;
pub const SL_CHARACTERENCODING_ISO88591: u32 = 12;
pub const SL_CHARACTERENCODING_ISO885910: u32 = 13;
pub const SL_CHARACTERENCODING_ISO885913: u32 = 14;
pub const SL_CHARACTERENCODING_ISO885914: u32 = 15;
pub const SL_CHARACTERENCODING_ISO885915: u32 = 16;
pub const SL_CHARACTERENCODING_ISO88592: u32 = 17;
pub const SL_CHARACTERENCODING_ISO88593: u32 = 18;
pub const SL_CHARACTERENCODING_ISO88594: u32 = 19;
pub const SL_CHARACTERENCODING_ISO88595: u32 = 20;
pub const SL_CHARACTERENCODING_ISO88596: u32 = 21;
pub const SL_CHARACTERENCODING_ISO88597: u32 = 22;
pub const SL_CHARACTERENCODING_ISO88598: u32 = 23;
pub const SL_CHARACTERENCODING_ISO88599: u32 = 24;
pub const SL_CHARACTERENCODING_ISOEUCJP: u32 = 25;
pub const SL_CHARACTERENCODING_SHIFTJIS: u32 = 26;
pub const SL_CHARACTERENCODING_SMS7BIT: u32 = 27;
pub const SL_CHARACTERENCODING_UTF7: u32 = 28;
pub const SL_CHARACTERENCODING_UTF8: u32 = 29;
pub const SL_CHARACTERENCODING_JAVACONFORMANTUTF8: u32 = 30;
pub const SL_CHARACTERENCODING_UTF16BE: u32 = 31;
pub const SL_CHARACTERENCODING_UTF16LE: u32 = 32;
pub const SL_METADATATRAVERSALMODE_ALL: u32 = 1;
pub const SL_METADATATRAVERSALMODE_NODE: u32 = 2;
pub const SL_NODETYPE_UNSPECIFIED: u32 = 1;
pub const SL_NODETYPE_AUDIO: u32 = 2;
pub const SL_NODETYPE_VIDEO: u32 = 3;
pub const SL_NODETYPE_IMAGE: u32 = 4;
pub const SL_NODE_PARENT: u32 = 4294967295;
pub const SL_PLAYSTATE_STOPPED: u32 = 1;
pub const SL_PLAYSTATE_PAUSED: u32 = 2;
pub const SL_PLAYSTATE_PLAYING: u32 = 3;
pub const SL_PLAYEVENT_HEADATEND: u32 = 1;
pub const SL_PLAYEVENT_HEADATMARKER: u32 = 2;
pub const SL_PLAYEVENT_HEADATNEWPOS: u32 = 4;
pub const SL_PLAYEVENT_HEADMOVING: u32 = 8;
pub const SL_PLAYEVENT_HEADSTALLED: u32 = 16;
pub const SL_PLAYEVENT_DURATIONUPDATED: u32 = 32;
pub const SL_TIME_UNKNOWN: u32 = 4294967295;
pub const SL_PREFETCHEVENT_STATUSCHANGE: u32 = 1;
pub const SL_PREFETCHEVENT_FILLLEVELCHANGE: u32 = 2;
pub const SL_PREFETCHEVENT_ERROR: u32 = 3;
pub const SL_PREFETCHEVENT_ERROR_UNRECOVERABLE: u32 = 4;
pub const SL_PREFETCHSTATUS_UNDERFLOW: u32 = 1;
pub const SL_PREFETCHSTATUS_SUFFICIENTDATA: u32 = 2;
pub const SL_PREFETCHSTATUS_OVERFLOW: u32 = 3;
pub const SL_RATEPROP_RESERVED1: u32 = 1;
pub const SL_RATEPROP_RESERVED2: u32 = 2;
pub const SL_RATEPROP_SILENTAUDIO: u32 = 256;
pub const SL_RATEPROP_STAGGEREDAUDIO: u32 = 512;
pub const SL_RATEPROP_NOPITCHCORAUDIO: u32 = 1024;
pub const SL_RATEPROP_PITCHCORAUDIO: u32 = 2048;
pub const SL_SEEKMODE_FAST: u32 = 1;
pub const SL_SEEKMODE_ACCURATE: u32 = 2;
pub const SL_RECORDSTATE_STOPPED: u32 = 1;
pub const SL_RECORDSTATE_PAUSED: u32 = 2;
pub const SL_RECORDSTATE_RECORDING: u32 = 3;
pub const SL_RECORDEVENT_HEADATLIMIT: u32 = 1;
pub const SL_RECORDEVENT_HEADATMARKER: u32 = 2;
pub const SL_RECORDEVENT_HEADATNEWPOS: u32 = 4;
pub const SL_RECORDEVENT_HEADMOVING: u32 = 8;
pub const SL_RECORDEVENT_HEADSTALLED: u32 = 16;
pub const SL_RECORDEVENT_BUFFER_INSUFFICIENT: u32 = 32;
pub const SL_RECORDEVENT_BUFFER_FULL: u32 = 32;
pub const SL_RECORDEVENT_BUFFERQUEUE_STARVED: u32 = 64;
pub const SL_EQUALIZER_UNDEFINED: u32 = 65535;
pub const SL_BUFFERQUEUEEVENT_PROCESSED: u32 = 1;
pub const SL_BUFFERQUEUEEVENT_UNREALIZED: u32 = 2;
pub const SL_BUFFERQUEUEEVENT_CLEARED: u32 = 4;
pub const SL_BUFFERQUEUEEVENT_STOPPED: u32 = 8;
pub const SL_BUFFERQUEUEEVENT_ERROR: u32 = 16;
pub const SL_BUFFERQUEUEEVENT_CONTENT_END: u32 = 32;
pub const SL_REVERBPRESET_NONE: u32 = 0;
pub const SL_REVERBPRESET_SMALLROOM: u32 = 1;
pub const SL_REVERBPRESET_MEDIUMROOM: u32 = 2;
pub const SL_REVERBPRESET_LARGEROOM: u32 = 3;
pub const SL_REVERBPRESET_MEDIUMHALL: u32 = 4;
pub const SL_REVERBPRESET_LARGEHALL: u32 = 5;
pub const SL_REVERBPRESET_PLATE: u32 = 6;
pub const SL_3DHINT_OFF: u32 = 0;
pub const SL_3DHINT_QUALITY_LOWEST: u32 = 1;
pub const SL_3DHINT_QUALITY_LOW: u32 = 16384;
pub const SL_3DHINT_QUALITY_MEDIUM: u32 = 32768;
pub const SL_3DHINT_QUALITY_HIGH: u32 = 49152;
pub const SL_3DHINT_QUALITY_HIGHEST: u32 = 65535;
pub const SL_ROLLOFFMODEL_EXPONENTIAL: u32 = 0;
pub const SL_ROLLOFFMODEL_LINEAR: u32 = 1;
pub const SL_DYNAMIC_ITF_EVENT_RUNTIME_ERROR: u32 = 1;
pub const SL_DYNAMIC_ITF_EVENT_ASYNC_TERMINATION: u32 = 2;
pub const SL_DYNAMIC_ITF_EVENT_RESOURCES_LOST: u32 = 3;
pub const SL_DYNAMIC_ITF_EVENT_RESOURCES_LOST_PERMANENTLY: u32 = 4;
pub const SL_DYNAMIC_ITF_EVENT_RESOURCES_AVAILABLE: u32 = 5;
pub const SL_MIDIMESSAGETYPE_NOTE_ON_OFF: u32 = 1;
pub const SL_MIDIMESSAGETYPE_POLY_PRESSURE: u32 = 2;
pub const SL_MIDIMESSAGETYPE_CONTROL_CHANGE: u32 = 3;
pub const SL_MIDIMESSAGETYPE_PROGRAM_CHANGE: u32 = 4;
pub const SL_MIDIMESSAGETYPE_CHANNEL_PRESSURE: u32 = 5;
pub const SL_MIDIMESSAGETYPE_PITCH_BEND: u32 = 6;
pub const SL_MIDIMESSAGETYPE_SYSTEM_MESSAGE: u32 = 7;
pub const SL_AUDIOSTREAMFORMAT_UNDEFINED: u32 = 0;
pub const SL_RATECONTROLMODE_CONSTANTBITRATE: u32 = 1;
pub const SL_RATECONTROLMODE_VARIABLEBITRATE: u32 = 2;
pub const SL_AUDIOCODEC_PCM: u32 = 1;
pub const SL_AUDIOCODEC_MP3: u32 = 2;
pub const SL_AUDIOCODEC_AMR: u32 = 3;
pub const SL_AUDIOCODEC_AMRWB: u32 = 4;
pub const SL_AUDIOCODEC_AMRWBPLUS: u32 = 5;
pub const SL_AUDIOCODEC_AAC: u32 = 6;
pub const SL_AUDIOCODEC_WMA: u32 = 7;
pub const SL_AUDIOCODEC_REAL: u32 = 8;
pub const SL_AUDIOCODEC_VORBIS: u32 = 9;
pub const SL_AUDIOPROFILE_PCM: u32 = 1;
pub const SL_AUDIOPROFILE_MPEG1_L3: u32 = 1;
pub const SL_AUDIOPROFILE_MPEG2_L3: u32 = 2;
pub const SL_AUDIOPROFILE_MPEG25_L3: u32 = 3;
pub const SL_AUDIOCHANMODE_MP3_MONO: u32 = 1;
pub const SL_AUDIOCHANMODE_MP3_STEREO: u32 = 2;
pub const SL_AUDIOCHANMODE_MP3_JOINTSTEREO: u32 = 3;
pub const SL_AUDIOCHANMODE_MP3_DUAL: u32 = 4;
pub const SL_AUDIOPROFILE_AMR: u32 = 1;
pub const SL_AUDIOSTREAMFORMAT_CONFORMANCE: u32 = 1;
pub const SL_AUDIOSTREAMFORMAT_IF1: u32 = 2;
pub const SL_AUDIOSTREAMFORMAT_IF2: u32 = 3;
pub const SL_AUDIOSTREAMFORMAT_FSF: u32 = 4;
pub const SL_AUDIOSTREAMFORMAT_RTPPAYLOAD: u32 = 5;
pub const SL_AUDIOSTREAMFORMAT_ITU: u32 = 6;
pub const SL_AUDIOPROFILE_AMRWB: u32 = 1;
pub const SL_AUDIOPROFILE_AMRWBPLUS: u32 = 1;
pub const SL_AUDIOPROFILE_AAC_AAC: u32 = 1;
pub const SL_AUDIOMODE_AAC_MAIN: u32 = 1;
pub const SL_AUDIOMODE_AAC_LC: u32 = 2;
pub const SL_AUDIOMODE_AAC_SSR: u32 = 3;
pub const SL_AUDIOMODE_AAC_LTP: u32 = 4;
pub const SL_AUDIOMODE_AAC_HE: u32 = 5;
pub const SL_AUDIOMODE_AAC_SCALABLE: u32 = 6;
pub const SL_AUDIOMODE_AAC_ERLC: u32 = 7;
pub const SL_AUDIOMODE_AAC_LD: u32 = 8;
pub const SL_AUDIOMODE_AAC_HE_PS: u32 = 9;
pub const SL_AUDIOMODE_AAC_HE_MPS: u32 = 10;
pub const SL_AUDIOSTREAMFORMAT_MP2ADTS: u32 = 1;
pub const SL_AUDIOSTREAMFORMAT_MP4ADTS: u32 = 2;
pub const SL_AUDIOSTREAMFORMAT_MP4LOAS: u32 = 3;
pub const SL_AUDIOSTREAMFORMAT_MP4LATM: u32 = 4;
pub const SL_AUDIOSTREAMFORMAT_ADIF: u32 = 5;
pub const SL_AUDIOSTREAMFORMAT_MP4FF: u32 = 6;
pub const SL_AUDIOSTREAMFORMAT_RAW: u32 = 7;
pub const SL_AUDIOPROFILE_WMA7: u32 = 1;
pub const SL_AUDIOPROFILE_WMA8: u32 = 2;
pub const SL_AUDIOPROFILE_WMA9: u32 = 3;
pub const SL_AUDIOPROFILE_WMA10: u32 = 4;
pub const SL_AUDIOMODE_WMA_LEVEL1: u32 = 1;
pub const SL_AUDIOMODE_WMA_LEVEL2: u32 = 2;
pub const SL_AUDIOMODE_WMA_LEVEL3: u32 = 3;
pub const SL_AUDIOMODE_WMA_LEVEL4: u32 = 4;
pub const SL_AUDIOMODE_WMAPRO_LEVELM0: u32 = 5;
pub const SL_AUDIOMODE_WMAPRO_LEVELM1: u32 = 6;
pub const SL_AUDIOMODE_WMAPRO_LEVELM2: u32 = 7;
pub const SL_AUDIOMODE_WMAPRO_LEVELM3: u32 = 8;
pub const SL_AUDIOPROFILE_REALAUDIO: u32 = 1;
pub const SL_AUDIOMODE_REALAUDIO_G2: u32 = 1;
pub const SL_AUDIOMODE_REALAUDIO_8: u32 = 2;
pub const SL_AUDIOMODE_REALAUDIO_10: u32 = 3;
pub const SL_AUDIOMODE_REALAUDIO_SURROUND: u32 = 4;
pub const SL_ENGINEOPTION_THREADSAFE: u32 = 1;
pub const SL_ENGINEOPTION_LOSSOFCONTROL: u32 = 2;
pub const SL_ENGINEOPTION_MAJORVERSION: u32 = 3;
pub const SL_ENGINEOPTION_MINORVERSION: u32 = 4;
pub const SL_ENGINEOPTION_STEPVERSION: u32 = 5;
pub const SL_ANDROID_PCM_REPRESENTATION_SIGNED_INT: u32 = 1;
pub const SL_ANDROID_PCM_REPRESENTATION_UNSIGNED_INT: u32 = 2;
pub const SL_ANDROID_PCM_REPRESENTATION_FLOAT: u32 = 3;
pub const SL_ANDROID_DATAFORMAT_PCM_EX: u32 = 4;
pub const SL_ANDROID_SPEAKER_NON_POSITIONAL: u32 = 2147483648;
pub const SL_ANDROID_SPEAKER_USE_DEFAULT: u32 = 0;
pub const SL_ANDROID_ITEMKEY_NONE: u32 = 0;
pub const SL_ANDROID_ITEMKEY_EOS: u32 = 1;
pub const SL_ANDROID_ITEMKEY_DISCONTINUITY: u32 = 2;
pub const SL_ANDROID_ITEMKEY_BUFFERQUEUEEVENT: u32 = 3;
pub const SL_ANDROID_ITEMKEY_FORMAT_CHANGE: u32 = 4;
pub const SL_ANDROIDBUFFERQUEUEEVENT_NONE: u32 = 0;
pub const SL_ANDROIDBUFFERQUEUEEVENT_PROCESSED: u32 = 1;
pub const SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE: u32 = 2147485629;
pub const SL_DATALOCATOR_ANDROIDBUFFERQUEUE: u32 = 2147485630;
pub type sl_char_t = ::std::os::raw::c_char;
pub type sl_uint8_t = ::std::os::raw::c_uchar;
pub type sl_int8_t = ::std::os::raw::c_schar;
pub type sl_uint16_t = ::std::os::raw::c_ushort;
pub type sl_int16_t = ::std::os::raw::c_short;
pub type sl_float32_t = f32;
pub type sl_float64_t = f64;
pub type SLchar = sl_char_t;
pub type SLint8 = sl_int8_t;
pub type SLuint8 = sl_uint8_t;
pub type SLint16 = sl_int16_t;
pub type SLuint16 = sl_uint16_t;
pub type SLint32 = sl_int32_t;
pub type SLuint32 = sl_uint32_t;
pub type SLfloat32 = sl_float32_t;
pub type Slfloat64 = sl_float64_t;
pub type SLboolean = SLuint32;
pub type SLmillibel = SLint16;
pub type SLmillisecond = SLuint32;
pub type SLmilliHertz = SLuint32;
pub type SLmillimeter = SLint32;
pub type SLmillidegree = SLint32;
pub type SLpermille = SLint16;
pub type SLmicrosecond = SLuint32;
pub type SLresult = SLuint32;
#[doc = " Interface ID defined as a UUID"]
#[repr(C)]
pub struct SLInterfaceID_ {
    pub time_low: SLuint32,
    pub time_mid: SLuint16,
    pub time_hi_and_version: SLuint16,
    pub clock_seq: SLuint16,
    pub node: [SLuint8; 6usize],
}
pub type SLInterfaceID = *const SLInterfaceID_;
pub type SLObjectItf = *const *const SLObjectItf_;
extern "C" {
    pub static SL_IID_NULL: SLInterfaceID;
}
#[doc = " URI-based data locator definition where locatorType must be SL_DATALOCATOR_URI"]
#[repr(C)]
pub struct SLDataLocator_URI_ {
    pub locatorType: SLuint32,
    pub pURI: *const SLchar,
}
pub type SLDataLocator_URI = SLDataLocator_URI_;
#[doc = " Address-based data locator definition where locatorType must be SL_DATALOCATOR_ADDRESS"]
#[repr(C)]
pub struct SLDataLocator_Address_ {
    pub locatorType: SLuint32,
    pub pAddress: *mut ::std::os::raw::c_void,
    pub length: SLuint32,
}
pub type SLDataLocator_Address = SLDataLocator_Address_;
#[doc = " IODevice-based data locator definition where locatorType must be SL_DATALOCATOR_IODEVICE"]
#[repr(C)]
pub struct SLDataLocator_IODevice_ {
    pub locatorType: SLuint32,
    pub deviceType: SLuint32,
    pub deviceID: SLuint32,
    pub device: SLObjectItf,
}
pub type SLDataLocator_IODevice = SLDataLocator_IODevice_;
#[doc = " OutputMix-based data locator definition where locatorType must be SL_DATALOCATOR_OUTPUTMIX"]
#[repr(C)]
pub struct SLDataLocator_OutputMix_ {
    pub locatorType: SLuint32,
    pub outputMix: SLObjectItf,
}
pub type SLDataLocator_OutputMix = SLDataLocator_OutputMix_;
#[doc = " BufferQueue-based data locator definition where locatorType must be SL_DATALOCATOR_BUFFERQUEUE"]
#[repr(C)]
pub struct SLDataLocator_BufferQueue_ {
    pub locatorType: SLuint32,
    pub numBuffers: SLuint32,
}
pub type SLDataLocator_BufferQueue = SLDataLocator_BufferQueue_;
#[doc = " ContentPipe-based data locator definition where locatorType must be SL_DATALOCATOR_CONTENTPIPE"]
#[repr(C)]
pub struct SLDataLocator_ContentPipe_ {
    pub locatorType: SLuint32,
    pub pContentPipe: *mut ::std::os::raw::c_void,
    pub pURI: *const SLchar,
}
pub type SLDataLocator_ContentPipe = SLDataLocator_ContentPipe_;
#[doc = " MidiBufferQueue-based data locator definition where locatorType must be SL_DATALOCATOR_MIDIBUFFERQUEUE"]
#[repr(C)]
pub struct SLDataLocator_MIDIBufferQueue_ {
    pub locatorType: SLuint32,
    pub tpqn: SLuint32,
    pub numBuffers: SLuint32,
}
pub type SLDataLocator_MIDIBufferQueue = SLDataLocator_MIDIBufferQueue_;
#[doc = " MIME-type-based data format definition where formatType must be SL_DATAFORMAT_MIME"]
#[repr(C)]
pub struct SLDataFormat_MIME_ {
    pub formatType: SLuint32,
    pub pMimeType: *const SLchar,
    pub containerType: SLuint32,
}
pub type SLDataFormat_MIME = SLDataFormat_MIME_;
#[doc = " PCM-type-based data format definition where formatType must be SL_DATAFORMAT_PCM"]
#[repr(C)]
pub struct SLDataFormat_PCM_ {
    pub formatType: SLuint32,
    pub numChannels: SLuint32,
    pub samplesPerSec: SLuint32,
    pub bitsPerSample: SLuint32,
    pub containerSize: SLuint32,
    pub channelMask: SLuint32,
    pub endianness: SLuint32,
}
pub type SLDataFormat_PCM = SLDataFormat_PCM_;
#[doc = " PCM-type-based data format definition where formatType must be SL_DATAFORMAT_PCM_EX"]
#[repr(C)]
pub struct SLDataFormat_PCM_EX_ {
    pub formatType: SLuint32,
    pub numChannels: SLuint32,
    pub sampleRate: SLuint32,
    pub bitsPerSample: SLuint32,
    pub containerSize: SLuint32,
    pub channelMask: SLuint32,
    pub endianness: SLuint32,
    pub representation: SLuint32,
}
pub type SLDataFormat_PCM_EX = SLDataFormat_PCM_EX_;
#[doc = " MediaObject-type-based data format definition where formatType must be SL_DATAFORMAT_MEDIAOBJECT"]
#[repr(C)]
pub struct SLDataLocator_MediaObject_ {
    pub locatorType: SLuint32,
    pub mediaObject: SLObjectItf,
}
pub type SLDataLocator_MediaObject = SLDataLocator_MediaObject_;
#[doc = " NULL-type-based data format definition where formatType must be SL_DATAFORMAT_NULL"]
#[repr(C)]
pub struct SLDataLocator_Null_ {
    pub locatorType: SLuint32,
}
pub type SLDataLocator_Null = SLDataLocator_Null_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLDataSource_ {
    pub pLocator: *mut ::std::os::raw::c_void,
    pub pFormat: *mut ::std::os::raw::c_void,
}
pub type SLDataSource = SLDataSource_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLDataSink_ {
    pub pLocator: *mut ::std::os::raw::c_void,
    pub pFormat: *mut ::std::os::raw::c_void,
}
pub type SLDataSink = SLDataSink_;
extern "C" {
    pub static SL_IID_OBJECT: SLInterfaceID;
}
#[doc = " Object callback"]
pub type slObjectCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLObjectItf,
        pContext: *const ::std::os::raw::c_void,
        event: SLuint32,
        result: SLresult,
        param: SLuint32,
        pInterface: *mut ::std::os::raw::c_void,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLObjectItf_ {
    pub Realize: ::std::option::Option<
        unsafe extern "C" fn(self_: SLObjectItf, async_: SLboolean) -> SLresult,
    >,
    pub Resume: ::std::option::Option<
        unsafe extern "C" fn(self_: SLObjectItf, async_: SLboolean) -> SLresult,
    >,
    pub GetState: ::std::option::Option<
        unsafe extern "C" fn(self_: SLObjectItf, pState: *mut SLuint32) -> SLresult,
    >,
    pub GetInterface: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLObjectItf,
            iid: SLInterfaceID,
            pInterface: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub RegisterCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLObjectItf,
            callback: slObjectCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub AbortAsyncOperation: ::std::option::Option<unsafe extern "C" fn(self_: SLObjectItf)>,
    pub Destroy: ::std::option::Option<unsafe extern "C" fn(self_: SLObjectItf)>,
    pub SetPriority: ::std::option::Option<
        unsafe extern "C" fn(self_: SLObjectItf, priority: SLuint32) -> SLresult,
    >,
    pub GetPriority: ::std::option::Option<
        unsafe extern "C" fn(self_: SLObjectItf, pPriority: *mut SLuint32) -> SLresult,
    >,
    pub SetLossOfControlInterfaces: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLObjectItf,
            numInterfaces: SLuint16,
            pInterfaceIDs: *const SLInterfaceID,
            enabled: SLboolean,
        ) -> SLresult,
    >,
}
#[repr(C)]
pub struct SLAudioInputDescriptor_ {
    pub pDeviceName: *mut SLchar,
    pub deviceNameLength: SLint16,
    pub deviceConnection: SLint16,
    pub deviceScope: SLint16,
    pub deviceLocation: SLint16,
    pub isForTelephony: SLboolean,
    pub minSampleRate: SLmilliHertz,
    pub maxSampleRate: SLmilliHertz,
    pub isFreqRangeContinuous: SLboolean,
    pub pSamplingRatesSupported: *mut SLmilliHertz,
    pub numOfSamplingRatesSupported: SLint16,
    pub maxChannels: SLint16,
}
pub type SLAudioInputDescriptor = SLAudioInputDescriptor_;
#[repr(C)]
pub struct SLAudioOutputDescriptor_ {
    pub pDeviceName: *mut SLchar,
    pub deviceNameLength: SLint16,
    pub deviceConnection: SLint16,
    pub deviceScope: SLint16,
    pub deviceLocation: SLint16,
    pub isForTelephony: SLboolean,
    pub minSampleRate: SLmilliHertz,
    pub maxSampleRate: SLmilliHertz,
    pub isFreqRangeContinuous: SLboolean,
    pub pSamplingRatesSupported: *mut SLmilliHertz,
    pub numOfSamplingRatesSupported: SLint16,
    pub maxChannels: SLint16,
}
pub type SLAudioOutputDescriptor = SLAudioOutputDescriptor_;
extern "C" {
    pub static SL_IID_AUDIOIODEVICECAPABILITIES: SLInterfaceID;
}
pub type SLAudioIODeviceCapabilitiesItf = *const *const SLAudioIODeviceCapabilitiesItf_;
pub type slAvailableAudioInputsChangedCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLAudioIODeviceCapabilitiesItf,
        pContext: *mut ::std::os::raw::c_void,
        deviceID: SLuint32,
        numInputs: SLuint32,
        isNew: SLboolean,
    ),
>;
pub type slAvailableAudioOutputsChangedCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLAudioIODeviceCapabilitiesItf,
        pContext: *mut ::std::os::raw::c_void,
        deviceID: SLuint32,
        numOutputs: SLuint32,
        isNew: SLboolean,
    ),
>;
pub type slDefaultDeviceIDMapChangedCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLAudioIODeviceCapabilitiesItf,
        pContext: *mut ::std::os::raw::c_void,
        isOutput: SLboolean,
        numDevices: SLuint32,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAudioIODeviceCapabilitiesItf_ {
    pub GetAvailableAudioInputs: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            pNumInputs: *mut SLuint32,
            pInputDeviceIDs: *mut SLuint32,
        ) -> SLresult,
    >,
    pub QueryAudioInputCapabilities: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            deviceId: SLuint32,
            pDescriptor: *mut SLAudioInputDescriptor,
        ) -> SLresult,
    >,
    pub RegisterAvailableAudioInputsChangedCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            callback: slAvailableAudioInputsChangedCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub GetAvailableAudioOutputs: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            pNumOutputs: *mut SLuint32,
            pOutputDeviceIDs: *mut SLuint32,
        ) -> SLresult,
    >,
    pub QueryAudioOutputCapabilities: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            deviceId: SLuint32,
            pDescriptor: *mut SLAudioOutputDescriptor,
        ) -> SLresult,
    >,
    pub RegisterAvailableAudioOutputsChangedCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            callback: slAvailableAudioOutputsChangedCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub RegisterDefaultDeviceIDMapChangedCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            callback: slDefaultDeviceIDMapChangedCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub GetAssociatedAudioInputs: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            deviceId: SLuint32,
            pNumAudioInputs: *mut SLuint32,
            pAudioInputDeviceIDs: *mut SLuint32,
        ) -> SLresult,
    >,
    pub GetAssociatedAudioOutputs: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            deviceId: SLuint32,
            pNumAudioOutputs: *mut SLuint32,
            pAudioOutputDeviceIDs: *mut SLuint32,
        ) -> SLresult,
    >,
    pub GetDefaultAudioDevices: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            defaultDeviceID: SLuint32,
            pNumAudioDevices: *mut SLuint32,
            pAudioDeviceIDs: *mut SLuint32,
        ) -> SLresult,
    >,
    pub QuerySampleFormatsSupported: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioIODeviceCapabilitiesItf,
            deviceId: SLuint32,
            samplingRate: SLmilliHertz,
            pSampleFormats: *mut SLint32,
            pNumOfSampleFormats: *mut SLuint32,
        ) -> SLresult,
    >,
}
#[repr(C)]
pub struct SLLEDDescriptor_ {
    pub ledCount: SLuint8,
    pub primaryLED: SLuint8,
    pub colorMask: SLuint32,
}
pub type SLLEDDescriptor = SLLEDDescriptor_;
#[repr(C)]
pub struct SLHSL_ {
    pub hue: SLmillidegree,
    pub saturation: SLpermille,
    pub lightness: SLpermille,
}
pub type SLHSL = SLHSL_;
extern "C" {
    pub static SL_IID_LED: SLInterfaceID;
}
pub type SLLEDArrayItf = *const *const SLLEDArrayItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLLEDArrayItf_ {
    pub ActivateLEDArray: ::std::option::Option<
        unsafe extern "C" fn(self_: SLLEDArrayItf, lightMask: SLuint32) -> SLresult,
    >,
    pub IsLEDArrayActivated: ::std::option::Option<
        unsafe extern "C" fn(self_: SLLEDArrayItf, lightMask: *mut SLuint32) -> SLresult,
    >,
    pub SetColor: ::std::option::Option<
        unsafe extern "C" fn(self_: SLLEDArrayItf, index: SLuint8, color: *const SLHSL) -> SLresult,
    >,
    pub GetColor: ::std::option::Option<
        unsafe extern "C" fn(self_: SLLEDArrayItf, index: SLuint8, color: *mut SLHSL) -> SLresult,
    >,
}
#[repr(C)]
pub struct SLVibraDescriptor_ {
    pub supportsFrequency: SLboolean,
    pub supportsIntensity: SLboolean,
    pub minFrequency: SLmilliHertz,
    pub maxFrequency: SLmilliHertz,
}
pub type SLVibraDescriptor = SLVibraDescriptor_;
extern "C" {
    pub static SL_IID_VIBRA: SLInterfaceID;
}
pub type SLVibraItf = *const *const SLVibraItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLVibraItf_ {
    pub Vibrate: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVibraItf, vibrate: SLboolean) -> SLresult,
    >,
    pub IsVibrating: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVibraItf, pVibrating: *mut SLboolean) -> SLresult,
    >,
    pub SetFrequency: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVibraItf, frequency: SLmilliHertz) -> SLresult,
    >,
    pub GetFrequency: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVibraItf, pFrequency: *mut SLmilliHertz) -> SLresult,
    >,
    pub SetIntensity: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVibraItf, intensity: SLpermille) -> SLresult,
    >,
    pub GetIntensity: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVibraItf, pIntensity: *mut SLpermille) -> SLresult,
    >,
}
#[repr(C)]
pub struct SLMetadataInfo_ {
    pub size: SLuint32,
    pub encoding: SLuint32,
    pub langCountry: [SLchar; 16usize],
    pub data: [SLuint8; 1usize],
}
pub type SLMetadataInfo = SLMetadataInfo_;
extern "C" {
    pub static SL_IID_METADATAEXTRACTION: SLInterfaceID;
}
pub type SLMetadataExtractionItf = *const *const SLMetadataExtractionItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLMetadataExtractionItf_ {
    pub GetItemCount: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMetadataExtractionItf, pItemCount: *mut SLuint32) -> SLresult,
    >,
    pub GetKeySize: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMetadataExtractionItf,
            index: SLuint32,
            pKeySize: *mut SLuint32,
        ) -> SLresult,
    >,
    pub GetKey: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMetadataExtractionItf,
            index: SLuint32,
            keySize: SLuint32,
            pKey: *mut SLMetadataInfo,
        ) -> SLresult,
    >,
    pub GetValueSize: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMetadataExtractionItf,
            index: SLuint32,
            pValueSize: *mut SLuint32,
        ) -> SLresult,
    >,
    pub GetValue: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMetadataExtractionItf,
            index: SLuint32,
            valueSize: SLuint32,
            pValue: *mut SLMetadataInfo,
        ) -> SLresult,
    >,
    pub AddKeyFilter: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMetadataExtractionItf,
            keySize: SLuint32,
            pKey: *const ::std::os::raw::c_void,
            keyEncoding: SLuint32,
            pValueLangCountry: *const SLchar,
            valueEncoding: SLuint32,
            filterMask: SLuint8,
        ) -> SLresult,
    >,
    pub ClearKeyFilter:
        ::std::option::Option<unsafe extern "C" fn(self_: SLMetadataExtractionItf) -> SLresult>,
}
extern "C" {
    pub static SL_IID_METADATAMESSAGE: SLInterfaceID;
}
pub type SLMetadataMessageItf = *const *const SLMetadataMessageItf_;
pub type slMetadataCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLMetadataMessageItf,
        pContext: *mut ::std::os::raw::c_void,
        index: SLuint32,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLMetadataMessageItf_ {
    pub RegisterMetadataCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMetadataMessageItf,
            callback: slMetadataCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_METADATATRAVERSAL: SLInterfaceID;
}
pub type SLMetadataTraversalItf = *const *const SLMetadataTraversalItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLMetadataTraversalItf_ {
    pub SetMode: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMetadataTraversalItf, mode: SLuint32) -> SLresult,
    >,
    pub GetChildCount: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMetadataTraversalItf, pCount: *mut SLuint32) -> SLresult,
    >,
    pub GetChildMIMETypeSize: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMetadataTraversalItf,
            index: SLuint32,
            pSize: *mut SLuint32,
        ) -> SLresult,
    >,
    pub GetChildInfo: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMetadataTraversalItf,
            index: SLuint32,
            pNodeID: *mut SLint32,
            pType: *mut SLuint32,
            size: SLuint32,
            pMimeType: *mut SLchar,
        ) -> SLresult,
    >,
    pub SetActiveNode: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMetadataTraversalItf, index: SLuint32) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_DYNAMICSOURCE: SLInterfaceID;
}
pub type SLDynamicSourceItf = *const *const SLDynamicSourceItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLDynamicSourceItf_ {
    pub SetSource: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicSourceItf,
            pDataSource: *const SLDataSource,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_DYNAMICSOURCESINKCHANGE: SLInterfaceID;
}
pub type SLDynamicSourceSinkChangeItf = *const *const SLDynamicSourceSinkChangeItf_;
pub type slSourceChangeCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLDynamicSourceSinkChangeItf,
        pContext: *mut ::std::os::raw::c_void,
        resultCode: SLuint32,
        pExistingDataSource: *const SLDataSource,
        pNewDataSource: *const SLDataSource,
    ),
>;
pub type slSinkChangeCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLDynamicSourceSinkChangeItf,
        pContext: *mut ::std::os::raw::c_void,
        resultCode: SLuint32,
        pExistingDataSink: *const SLDataSource,
        pNewDataSink: *const SLDataSource,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLDynamicSourceSinkChangeItf_ {
    pub ChangeSource: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicSourceSinkChangeItf,
            pExistingDataSource: *const SLDataSource,
            pNewDataSource: *const SLDataSource,
            async_: SLboolean,
        ) -> SLresult,
    >,
    pub ChangeSink: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicSourceSinkChangeItf,
            pExistingDataSink: *const SLDataSink,
            pNewDataSink: *const SLDataSink,
            async_: SLboolean,
        ) -> SLresult,
    >,
    pub RegisterSourceChangeCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicSourceSinkChangeItf,
            callback: slSourceChangeCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub RegisterSinkChangeCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicSourceSinkChangeItf,
            callback: slSinkChangeCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_OUTPUTMIX: SLInterfaceID;
}
pub type SLOutputMixItf = *const *const SLOutputMixItf_;
pub type slMixDeviceChangeCallback = ::std::option::Option<
    unsafe extern "C" fn(caller: SLOutputMixItf, pContext: *mut ::std::os::raw::c_void),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLOutputMixItf_ {
    pub GetDestinationOutputDeviceIDs: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLOutputMixItf,
            pNumDevices: *mut SLint32,
            pDeviceIDs: *mut SLuint32,
        ) -> SLresult,
    >,
    pub RegisterDeviceChangeCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLOutputMixItf,
            callback: slMixDeviceChangeCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub ReRoute: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLOutputMixItf,
            numOutputDevices: SLint32,
            pOutputDeviceIDs: *mut SLuint32,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_PLAY: SLInterfaceID;
}
pub type SLPlayItf = *const *const SLPlayItf_;
pub type slPlayCallback = ::std::option::Option<
    unsafe extern "C" fn(caller: SLPlayItf, pContext: *mut ::std::os::raw::c_void, event: SLuint32),
>;
#[doc = " Playback interface methods"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLPlayItf_ {
    pub SetPlayState:
        ::std::option::Option<unsafe extern "C" fn(self_: SLPlayItf, state: SLuint32) -> SLresult>,
    pub GetPlayState: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, pState: *mut SLuint32) -> SLresult,
    >,
    pub GetDuration: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, pMsec: *mut SLmillisecond) -> SLresult,
    >,
    pub GetPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, pMsec: *mut SLmillisecond) -> SLresult,
    >,
    pub RegisterCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLPlayItf,
            callback: slPlayCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub SetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, eventFlags: SLuint32) -> SLresult,
    >,
    pub GetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, pEventFlags: *mut SLuint32) -> SLresult,
    >,
    pub SetMarkerPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, mSec: SLmillisecond) -> SLresult,
    >,
    pub ClearMarkerPosition:
        ::std::option::Option<unsafe extern "C" fn(self_: SLPlayItf) -> SLresult>,
    pub GetMarkerPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, pMsec: *mut SLmillisecond) -> SLresult,
    >,
    pub SetPositionUpdatePeriod: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, mSec: SLmillisecond) -> SLresult,
    >,
    pub GetPositionUpdatePeriod: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlayItf, pMsec: *mut SLmillisecond) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_PREFETCHSTATUS: SLInterfaceID;
}
pub type SLPrefetchStatusItf = *const *const SLPrefetchStatusItf_;
pub type slPrefetchCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLPrefetchStatusItf,
        pContext: *mut ::std::os::raw::c_void,
        event: SLuint32,
    ),
>;
#[doc = " Prefetch status interface methods"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLPrefetchStatusItf_ {
    pub GetPrefetchStatus: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPrefetchStatusItf, pStatus: *mut SLuint32) -> SLresult,
    >,
    pub GetFillLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPrefetchStatusItf, pLevel: *mut SLpermille) -> SLresult,
    >,
    pub RegisterCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLPrefetchStatusItf,
            callback: slPrefetchCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub SetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPrefetchStatusItf, eventFlags: SLuint32) -> SLresult,
    >,
    pub GetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPrefetchStatusItf, pEventFlags: *mut SLuint32) -> SLresult,
    >,
    pub SetFillUpdatePeriod: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPrefetchStatusItf, period: SLpermille) -> SLresult,
    >,
    pub GetFillUpdatePeriod: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPrefetchStatusItf, pPeriod: *mut SLpermille) -> SLresult,
    >,
    pub GetError: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPrefetchStatusItf, pResult: *mut SLresult) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_PLAYBACKRATE: SLInterfaceID;
}
pub type SLPlaybackRateItf = *const *const SLPlaybackRateItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLPlaybackRateItf_ {
    pub SetRate: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlaybackRateItf, rate: SLpermille) -> SLresult,
    >,
    pub GetRate: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlaybackRateItf, pRate: *mut SLpermille) -> SLresult,
    >,
    pub SetPropertyConstraints: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlaybackRateItf, constraints: SLuint32) -> SLresult,
    >,
    pub GetProperties: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPlaybackRateItf, pProperties: *mut SLuint32) -> SLresult,
    >,
    pub GetCapabilitiesOfRate: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLPlaybackRateItf,
            rate: SLpermille,
            pCapabilities: *mut SLuint32,
        ) -> SLresult,
    >,
    pub GetRateRange: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLPlaybackRateItf,
            index: SLuint8,
            pMinRate: *mut SLpermille,
            pMaxRate: *mut SLpermille,
            pStepSize: *mut SLpermille,
            pCapabilities: *mut SLuint32,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_SEEK: SLInterfaceID;
}
pub type SLSeekItf = *const *const SLSeekItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLSeekItf_ {
    pub SetPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLSeekItf, pos: SLmillisecond, seekMode: SLuint32) -> SLresult,
    >,
    pub SetLoop: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLSeekItf,
            loopEnable: SLboolean,
            startPos: SLmillisecond,
            endPos: SLmillisecond,
        ) -> SLresult,
    >,
    pub GetLoop: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLSeekItf,
            pLoopEnabled: *mut SLboolean,
            pStartPos: *mut SLmillisecond,
            pEndPos: *mut SLmillisecond,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_RECORD: SLInterfaceID;
}
pub type SLRecordItf = *const *const SLRecordItf_;
pub type slRecordCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLRecordItf,
        pContext: *mut ::std::os::raw::c_void,
        event: SLuint32,
    ),
>;
#[doc = " Recording interface methods"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLRecordItf_ {
    pub SetRecordState: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, state: SLuint32) -> SLresult,
    >,
    pub GetRecordState: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, pState: *mut SLuint32) -> SLresult,
    >,
    pub SetDurationLimit: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, msec: SLmillisecond) -> SLresult,
    >,
    pub GetPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, pMsec: *mut SLmillisecond) -> SLresult,
    >,
    pub RegisterCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLRecordItf,
            callback: slRecordCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub SetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, eventFlags: SLuint32) -> SLresult,
    >,
    pub GetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, pEventFlags: *mut SLuint32) -> SLresult,
    >,
    pub SetMarkerPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, mSec: SLmillisecond) -> SLresult,
    >,
    pub ClearMarkerPosition:
        ::std::option::Option<unsafe extern "C" fn(self_: SLRecordItf) -> SLresult>,
    pub GetMarkerPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, pMsec: *mut SLmillisecond) -> SLresult,
    >,
    pub SetPositionUpdatePeriod: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, mSec: SLmillisecond) -> SLresult,
    >,
    pub GetPositionUpdatePeriod: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRecordItf, pMsec: *mut SLmillisecond) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_EQUALIZER: SLInterfaceID;
}
pub type SLEqualizerItf = *const *const SLEqualizerItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLEqualizerItf_ {
    pub SetEnabled: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEqualizerItf, enabled: SLboolean) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEqualizerItf, pEnabled: *mut SLboolean) -> SLresult,
    >,
    pub GetNumberOfBands: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEqualizerItf, pAmount: *mut SLuint16) -> SLresult,
    >,
    pub GetBandLevelRange: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEqualizerItf,
            pMin: *mut SLmillibel,
            pMax: *mut SLmillibel,
        ) -> SLresult,
    >,
    pub SetBandLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEqualizerItf, band: SLuint16, level: SLmillibel) -> SLresult,
    >,
    pub GetBandLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEqualizerItf,
            band: SLuint16,
            pLevel: *mut SLmillibel,
        ) -> SLresult,
    >,
    pub GetCenterFreq: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEqualizerItf,
            band: SLuint16,
            pCenter: *mut SLmilliHertz,
        ) -> SLresult,
    >,
    pub GetBandFreqRange: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEqualizerItf,
            band: SLuint16,
            pMin: *mut SLmilliHertz,
            pMax: *mut SLmilliHertz,
        ) -> SLresult,
    >,
    pub GetBand: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEqualizerItf,
            frequency: SLmilliHertz,
            pBand: *mut SLuint16,
        ) -> SLresult,
    >,
    pub GetCurrentPreset: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEqualizerItf, pPreset: *mut SLuint16) -> SLresult,
    >,
    pub UsePreset: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEqualizerItf, index: SLuint16) -> SLresult,
    >,
    pub GetNumberOfPresets: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEqualizerItf, pNumPresets: *mut SLuint16) -> SLresult,
    >,
    pub GetPresetName: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEqualizerItf,
            index: SLuint16,
            pSize: *mut SLuint16,
            pName: *mut SLchar,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_VOLUME: SLInterfaceID;
}
pub type SLVolumeItf = *const *const SLVolumeItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLVolumeItf_ {
    pub SetVolumeLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, level: SLmillibel) -> SLresult,
    >,
    pub GetVolumeLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, pLevel: *mut SLmillibel) -> SLresult,
    >,
    pub GetMaxVolumeLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, pMaxLevel: *mut SLmillibel) -> SLresult,
    >,
    pub SetMute: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, mute: SLboolean) -> SLresult,
    >,
    pub GetMute: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, pMute: *mut SLboolean) -> SLresult,
    >,
    pub EnableStereoPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, enable: SLboolean) -> SLresult,
    >,
    pub IsEnabledStereoPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, pEnable: *mut SLboolean) -> SLresult,
    >,
    pub SetStereoPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, stereoPosition: SLpermille) -> SLresult,
    >,
    pub GetStereoPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVolumeItf, pStereoPosition: *mut SLpermille) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_DEVICEVOLUME: SLInterfaceID;
}
pub type SLDeviceVolumeItf = *const *const SLDeviceVolumeItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLDeviceVolumeItf_ {
    pub GetVolumeScale: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDeviceVolumeItf,
            deviceID: SLuint32,
            pMinValue: *mut SLint32,
            pMaxValue: *mut SLint32,
            pIsMillibelScale: *mut SLboolean,
        ) -> SLresult,
    >,
    pub SetVolume: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDeviceVolumeItf,
            deviceID: SLuint32,
            volume: SLint32,
        ) -> SLresult,
    >,
    pub GetVolume: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDeviceVolumeItf,
            deviceID: SLuint32,
            pVolume: *mut SLint32,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_BUFFERQUEUE: SLInterfaceID;
}
pub type SLBufferQueueItf = *const *const SLBufferQueueItf_;
pub type slBufferQueueCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLBufferQueueItf,
        eventFlags: SLuint32,
        pBuffer: *const ::std::os::raw::c_void,
        bufferSize: SLuint32,
        dataUsed: SLuint32,
        pContext: *mut ::std::os::raw::c_void,
    ),
>;
#[doc = " Buffer queue state"]
#[repr(C)]
pub struct SLBufferQueueState_ {
    pub count: SLuint32,
    pub index: SLuint32,
}
pub type SLBufferQueueState = SLBufferQueueState_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLBufferQueueItf_ {
    pub Enqueue: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLBufferQueueItf,
            pBuffer: *const ::std::os::raw::c_void,
            size: SLuint32,
            isLastBuffer: SLboolean,
        ) -> SLresult,
    >,
    pub Clear: ::std::option::Option<unsafe extern "C" fn(self_: SLBufferQueueItf) -> SLresult>,
    pub GetState: ::std::option::Option<
        unsafe extern "C" fn(self_: SLBufferQueueItf, pState: *mut SLBufferQueueState) -> SLresult,
    >,
    pub RegisterCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLBufferQueueItf,
            callback: slBufferQueueCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub SetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLBufferQueueItf, eventFlags: SLuint32) -> SLresult,
    >,
    pub GetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLBufferQueueItf, pEventFlags: *mut SLuint32) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_CONFIGEXTENSION: SLInterfaceID;
}
pub type SLConfigExtensionsItf = *const *const SLConfigExtensionsItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLConfigExtensionsItf_ {
    pub SetConfiguration: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLConfigExtensionsItf,
            pConfigKey: *const SLchar,
            valueSize: SLuint32,
            pConfigValue: *const ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub GetConfiguration: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLConfigExtensionsItf,
            pConfigKey: *const SLchar,
            pValueSize: *mut SLuint32,
            pConfigValue: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_PRESETREVERB: SLInterfaceID;
}
pub type SLPresetReverbItf = *const *const SLPresetReverbItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLPresetReverbItf_ {
    pub SetPreset: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPresetReverbItf, preset: SLuint16) -> SLresult,
    >,
    pub GetPreset: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPresetReverbItf, pPreset: *mut SLuint16) -> SLresult,
    >,
}
#[repr(C)]
pub struct SLEnvironmentalReverbSettings_ {
    pub roomLevel: SLmillibel,
    pub roomHFLevel: SLmillibel,
    pub decayTime: SLmillisecond,
    pub decayHFRatio: SLpermille,
    pub reflectionsLevel: SLmillibel,
    pub reflectionsDelay: SLmillisecond,
    pub reverbLevel: SLmillibel,
    pub reverbDelay: SLmillisecond,
    pub diffusion: SLpermille,
    pub density: SLpermille,
}
pub type SLEnvironmentalReverbSettings = SLEnvironmentalReverbSettings_;
extern "C" {
    pub static SL_IID_ENVIRONMENTALREVERB: SLInterfaceID;
}
pub type SLEnvironmentalReverbItf = *const *const SLEnvironmentalReverbItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLEnvironmentalReverbItf_ {
    pub SetRoomLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, room: SLmillibel) -> SLresult,
    >,
    pub GetRoomLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, pRoom: *mut SLmillibel) -> SLresult,
    >,
    pub SetRoomHFLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, roomHF: SLmillibel) -> SLresult,
    >,
    pub GetRoomHFLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, pRoomHF: *mut SLmillibel) -> SLresult,
    >,
    pub SetDecayTime: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, decayTime: SLmillisecond) -> SLresult,
    >,
    pub GetDecayTime: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pDecayTime: *mut SLmillisecond,
        ) -> SLresult,
    >,
    pub SetDecayHFRatio: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, decayHFRatio: SLpermille) -> SLresult,
    >,
    pub GetDecayHFRatio: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pDecayHFRatio: *mut SLpermille,
        ) -> SLresult,
    >,
    pub SetReflectionsLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            reflectionsLevel: SLmillibel,
        ) -> SLresult,
    >,
    pub GetReflectionsLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pReflectionsLevel: *mut SLmillibel,
        ) -> SLresult,
    >,
    pub SetReflectionsDelay: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            reflectionsDelay: SLmillisecond,
        ) -> SLresult,
    >,
    pub GetReflectionsDelay: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pReflectionsDelay: *mut SLmillisecond,
        ) -> SLresult,
    >,
    pub SetReverbLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, reverbLevel: SLmillibel) -> SLresult,
    >,
    pub GetReverbLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pReverbLevel: *mut SLmillibel,
        ) -> SLresult,
    >,
    pub SetReverbDelay: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            reverbDelay: SLmillisecond,
        ) -> SLresult,
    >,
    pub GetReverbDelay: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pReverbDelay: *mut SLmillisecond,
        ) -> SLresult,
    >,
    pub SetDiffusion: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, diffusion: SLpermille) -> SLresult,
    >,
    pub GetDiffusion: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pDiffusion: *mut SLpermille,
        ) -> SLresult,
    >,
    pub SetDensity: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEnvironmentalReverbItf, density: SLpermille) -> SLresult,
    >,
    pub GetDensity: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pDensity: *mut SLpermille,
        ) -> SLresult,
    >,
    pub SetEnvironmentalReverbProperties: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pProperties: *const SLEnvironmentalReverbSettings,
        ) -> SLresult,
    >,
    pub GetEnvironmentalReverbProperties: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEnvironmentalReverbItf,
            pProperties: *mut SLEnvironmentalReverbSettings,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_EFFECTSEND: SLInterfaceID;
}
pub type SLEffectSendItf = *const *const SLEffectSendItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLEffectSendItf_ {
    pub EnableEffectSend: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEffectSendItf,
            pAuxEffect: *const ::std::os::raw::c_void,
            enable: SLboolean,
            initialLevel: SLmillibel,
        ) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEffectSendItf,
            pAuxEffect: *const ::std::os::raw::c_void,
            pEnable: *mut SLboolean,
        ) -> SLresult,
    >,
    pub SetDirectLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEffectSendItf, directLevel: SLmillibel) -> SLresult,
    >,
    pub GetDirectLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEffectSendItf, pDirectLevel: *mut SLmillibel) -> SLresult,
    >,
    pub SetSendLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEffectSendItf,
            pAuxEffect: *const ::std::os::raw::c_void,
            sendLevel: SLmillibel,
        ) -> SLresult,
    >,
    pub GetSendLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEffectSendItf,
            pAuxEffect: *const ::std::os::raw::c_void,
            pSendLevel: *mut SLmillibel,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_3DGROUPING: SLInterfaceID;
}
pub type SL3DGroupingItf = *const *const SL3DGroupingItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SL3DGroupingItf_ {
    pub Set3DGroup: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DGroupingItf, group: SLObjectItf) -> SLresult,
    >,
    pub Get3DGroup: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DGroupingItf, pGroup: *mut SLObjectItf) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_3DHINT: SLInterfaceID;
}
pub type SL3DHintItf = *const *const SL3DHintItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SL3DHintItf_ {
    pub SetRenderHint: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DHintItf, qualityHint: SLuint16) -> SLresult,
    >,
    pub GetRenderHint: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DHintItf, pQualityHint: *mut SLuint16) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_3DCOMMIT: SLInterfaceID;
}
pub type SL3DCommitItf = *const *const SL3DCommitItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SL3DCommitItf_ {
    pub Commit: ::std::option::Option<unsafe extern "C" fn(self_: SL3DCommitItf) -> SLresult>,
    pub SetDeferred: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DCommitItf, deferred: SLboolean) -> SLresult,
    >,
}
#[repr(C)]
pub struct SLVec3D_ {
    pub x: SLint32,
    pub y: SLint32,
    pub z: SLint32,
}
pub type SLVec3D = SLVec3D_;
extern "C" {
    pub static SL_IID_3DLOCATION: SLInterfaceID;
}
pub type SL3DLocationItf = *const *const SL3DLocationItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SL3DLocationItf_ {
    pub SetLocationCartesian: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DLocationItf, pLocation: *const SLVec3D) -> SLresult,
    >,
    pub SetLocationSpherical: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DLocationItf,
            azimuth: SLmillidegree,
            elevation: SLmillidegree,
            distance: SLmillimeter,
        ) -> SLresult,
    >,
    pub Move: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DLocationItf, pMovement: *const SLVec3D) -> SLresult,
    >,
    pub GetLocationCartesian: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DLocationItf, pLocation: *mut SLVec3D) -> SLresult,
    >,
    pub SetOrientationVectors: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DLocationItf,
            pFront: *const SLVec3D,
            pAbove: *const SLVec3D,
        ) -> SLresult,
    >,
    pub SetOrientationAngles: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DLocationItf,
            heading: SLmillidegree,
            pitch: SLmillidegree,
            roll: SLmillidegree,
        ) -> SLresult,
    >,
    pub Rotate: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DLocationItf,
            theta: SLmillidegree,
            pAxis: *const SLVec3D,
        ) -> SLresult,
    >,
    pub GetOrientationVectors: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DLocationItf,
            pFront: *mut SLVec3D,
            pUp: *mut SLVec3D,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_3DDOPPLER: SLInterfaceID;
}
pub type SL3DDopplerItf = *const *const SL3DDopplerItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SL3DDopplerItf_ {
    pub SetVelocityCartesian: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DDopplerItf, pVelocity: *const SLVec3D) -> SLresult,
    >,
    pub SetVelocitySpherical: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DDopplerItf,
            azimuth: SLmillidegree,
            elevation: SLmillidegree,
            speed: SLmillimeter,
        ) -> SLresult,
    >,
    pub GetVelocityCartesian: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DDopplerItf, pVelocity: *mut SLVec3D) -> SLresult,
    >,
    pub SetDopplerFactor: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DDopplerItf, dopplerFactor: SLpermille) -> SLresult,
    >,
    pub GetDopplerFactor: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DDopplerItf, pDopplerFactor: *mut SLpermille) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_3DSOURCE: SLInterfaceID;
}
pub type SL3DSourceItf = *const *const SL3DSourceItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SL3DSourceItf_ {
    pub SetHeadRelative: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, headRelative: SLboolean) -> SLresult,
    >,
    pub GetHeadRelative: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, pHeadRelative: *mut SLboolean) -> SLresult,
    >,
    pub SetRolloffDistances: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DSourceItf,
            minDistance: SLmillimeter,
            maxDistance: SLmillimeter,
        ) -> SLresult,
    >,
    pub GetRolloffDistances: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DSourceItf,
            pMinDistance: *mut SLmillimeter,
            pMaxDistance: *mut SLmillimeter,
        ) -> SLresult,
    >,
    pub SetRolloffMaxDistanceMute: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, mute: SLboolean) -> SLresult,
    >,
    pub GetRolloffMaxDistanceMute: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, pMute: *mut SLboolean) -> SLresult,
    >,
    pub SetRolloffFactor: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, rolloffFactor: SLpermille) -> SLresult,
    >,
    pub GetRolloffFactor: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, pRolloffFactor: *mut SLpermille) -> SLresult,
    >,
    pub SetRoomRolloffFactor: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, roomRolloffFactor: SLpermille) -> SLresult,
    >,
    pub GetRoomRolloffFactor: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, pRoomRolloffFactor: *mut SLpermille) -> SLresult,
    >,
    pub SetRolloffModel: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, model: SLuint8) -> SLresult,
    >,
    pub GetRolloffModel: ::std::option::Option<
        unsafe extern "C" fn(self_: SL3DSourceItf, pModel: *mut SLuint8) -> SLresult,
    >,
    pub SetCone: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DSourceItf,
            innerAngle: SLmillidegree,
            outerAngle: SLmillidegree,
            outerLevel: SLmillibel,
        ) -> SLresult,
    >,
    pub GetCone: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DSourceItf,
            pInnerAngle: *mut SLmillidegree,
            pOuterAngle: *mut SLmillidegree,
            pOuterLevel: *mut SLmillibel,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_3DMACROSCOPIC: SLInterfaceID;
}
pub type SL3DMacroscopicItf = *const *const SL3DMacroscopicItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SL3DMacroscopicItf_ {
    pub SetSize: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DMacroscopicItf,
            width: SLmillimeter,
            height: SLmillimeter,
            depth: SLmillimeter,
        ) -> SLresult,
    >,
    pub GetSize: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DMacroscopicItf,
            pWidth: *mut SLmillimeter,
            pHeight: *mut SLmillimeter,
            pDepth: *mut SLmillimeter,
        ) -> SLresult,
    >,
    pub SetOrientationAngles: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DMacroscopicItf,
            heading: SLmillidegree,
            pitch: SLmillidegree,
            roll: SLmillidegree,
        ) -> SLresult,
    >,
    pub SetOrientationVectors: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DMacroscopicItf,
            pFront: *const SLVec3D,
            pAbove: *const SLVec3D,
        ) -> SLresult,
    >,
    pub Rotate: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DMacroscopicItf,
            theta: SLmillidegree,
            pAxis: *const SLVec3D,
        ) -> SLresult,
    >,
    pub GetOrientationVectors: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SL3DMacroscopicItf,
            pFront: *mut SLVec3D,
            pUp: *mut SLVec3D,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_MUTESOLO: SLInterfaceID;
}
pub type SLMuteSoloItf = *const *const SLMuteSoloItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLMuteSoloItf_ {
    pub SetChannelMute: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMuteSoloItf, chan: SLuint8, mute: SLboolean) -> SLresult,
    >,
    pub GetChannelMute: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMuteSoloItf,
            chan: SLuint8,
            pMute: *mut SLboolean,
        ) -> SLresult,
    >,
    pub SetChannelSolo: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMuteSoloItf, chan: SLuint8, solo: SLboolean) -> SLresult,
    >,
    pub GetChannelSolo: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMuteSoloItf,
            chan: SLuint8,
            pSolo: *mut SLboolean,
        ) -> SLresult,
    >,
    pub GetNumChannels: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMuteSoloItf, pNumChannels: *mut SLuint8) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_DYNAMICINTERFACEMANAGEMENT: SLInterfaceID;
}
pub type SLDynamicInterfaceManagementItf = *const *const SLDynamicInterfaceManagementItf_;
pub type slDynamicInterfaceManagementCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLDynamicInterfaceManagementItf,
        pContext: *mut ::std::os::raw::c_void,
        event: SLuint32,
        result: SLresult,
        iid: SLInterfaceID,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLDynamicInterfaceManagementItf_ {
    pub AddInterface: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicInterfaceManagementItf,
            iid: SLInterfaceID,
            async_: SLboolean,
        ) -> SLresult,
    >,
    pub RemoveInterface: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicInterfaceManagementItf,
            iid: SLInterfaceID,
        ) -> SLresult,
    >,
    pub ResumeInterface: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicInterfaceManagementItf,
            iid: SLInterfaceID,
            async_: SLboolean,
        ) -> SLresult,
    >,
    pub RegisterCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLDynamicInterfaceManagementItf,
            callback: slDynamicInterfaceManagementCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_MIDIMESSAGE: SLInterfaceID;
}
pub type SLMIDIMessageItf = *const *const SLMIDIMessageItf_;
pub type slMetaEventCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLMIDIMessageItf,
        pContext: *mut ::std::os::raw::c_void,
        type_: SLuint8,
        length: SLuint32,
        pData: *const SLuint8,
        tick: SLuint32,
        track: SLuint16,
    ),
>;
pub type slMIDIMessageCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLMIDIMessageItf,
        pContext: *mut ::std::os::raw::c_void,
        statusByte: SLuint8,
        length: SLuint32,
        pData: *const SLuint8,
        tick: SLuint32,
        track: SLuint16,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLMIDIMessageItf_ {
    pub SendMessage: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMessageItf,
            pData: *const SLuint8,
            length: SLuint32,
        ) -> SLresult,
    >,
    pub RegisterMetaEventCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMessageItf,
            callback: slMetaEventCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub RegisterMIDIMessageCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMessageItf,
            callback: slMIDIMessageCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub AddMIDIMessageCallbackFilter: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDIMessageItf, messageType: SLuint32) -> SLresult,
    >,
    pub ClearMIDIMessageCallbackFilter:
        ::std::option::Option<unsafe extern "C" fn(self_: SLMIDIMessageItf) -> SLresult>,
}
extern "C" {
    pub static SL_IID_MIDIMUTESOLO: SLInterfaceID;
}
pub type SLMIDIMuteSoloItf = *const *const SLMIDIMuteSoloItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLMIDIMuteSoloItf_ {
    pub SetChannelMute: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMuteSoloItf,
            channel: SLuint8,
            mute: SLboolean,
        ) -> SLresult,
    >,
    pub GetChannelMute: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMuteSoloItf,
            channel: SLuint8,
            pMute: *mut SLboolean,
        ) -> SLresult,
    >,
    pub SetChannelSolo: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMuteSoloItf,
            channel: SLuint8,
            solo: SLboolean,
        ) -> SLresult,
    >,
    pub GetChannelSolo: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMuteSoloItf,
            channel: SLuint8,
            pSolo: *mut SLboolean,
        ) -> SLresult,
    >,
    pub GetTrackCount: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDIMuteSoloItf, pCount: *mut SLuint16) -> SLresult,
    >,
    pub SetTrackMute: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMuteSoloItf,
            track: SLuint16,
            mute: SLboolean,
        ) -> SLresult,
    >,
    pub GetTrackMute: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMuteSoloItf,
            track: SLuint16,
            pMute: *mut SLboolean,
        ) -> SLresult,
    >,
    pub SetTrackSolo: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMuteSoloItf,
            track: SLuint16,
            solo: SLboolean,
        ) -> SLresult,
    >,
    pub GetTrackSolo: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDIMuteSoloItf,
            track: SLuint16,
            pSolo: *mut SLboolean,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_MIDITEMPO: SLInterfaceID;
}
pub type SLMIDITempoItf = *const *const SLMIDITempoItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLMIDITempoItf_ {
    pub SetTicksPerQuarterNote: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDITempoItf, tpqn: SLuint32) -> SLresult,
    >,
    pub GetTicksPerQuarterNote: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDITempoItf, pTpqn: *mut SLuint32) -> SLresult,
    >,
    pub SetMicrosecondsPerQuarterNote: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDITempoItf, uspqn: SLmicrosecond) -> SLresult,
    >,
    pub GetMicrosecondsPerQuarterNote: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDITempoItf, uspqn: *mut SLmicrosecond) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_MIDITIME: SLInterfaceID;
}
pub type SLMIDITimeItf = *const *const SLMIDITimeItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLMIDITimeItf_ {
    pub GetDuration: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDITimeItf, pDuration: *mut SLuint32) -> SLresult,
    >,
    pub SetPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDITimeItf, position: SLuint32) -> SLresult,
    >,
    pub GetPosition: ::std::option::Option<
        unsafe extern "C" fn(self_: SLMIDITimeItf, pPosition: *mut SLuint32) -> SLresult,
    >,
    pub SetLoopPoints: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDITimeItf,
            startTick: SLuint32,
            numTicks: SLuint32,
        ) -> SLresult,
    >,
    pub GetLoopPoints: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLMIDITimeItf,
            pStartTick: *mut SLuint32,
            pNumTicks: *mut SLuint32,
        ) -> SLresult,
    >,
}
#[repr(C)]
pub struct SLAudioCodecDescriptor_ {
    pub maxChannels: SLuint32,
    pub minBitsPerSample: SLuint32,
    pub maxBitsPerSample: SLuint32,
    pub minSampleRate: SLmilliHertz,
    pub maxSampleRate: SLmilliHertz,
    pub isFreqRangeContinuous: SLboolean,
    pub pSampleRatesSupported: *mut SLmilliHertz,
    pub numSampleRatesSupported: SLuint32,
    pub minBitRate: SLuint32,
    pub maxBitRate: SLuint32,
    pub isBitrateRangeContinuous: SLboolean,
    pub pBitratesSupported: *mut SLuint32,
    pub numBitratesSupported: SLuint32,
    pub profileSetting: SLuint32,
    pub modeSetting: SLuint32,
    pub streamFormat: SLuint32,
}
pub type SLAudioCodecDescriptor = SLAudioCodecDescriptor_;
extern "C" {
    pub static SL_IID_AUDIODECODERCAPABILITIES: SLInterfaceID;
}
pub type SLAudioDecoderCapabilitiesItf = *const *const SLAudioDecoderCapabilitiesItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAudioDecoderCapabilitiesItf_ {
    pub GetAudioDecoders: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioDecoderCapabilitiesItf,
            pNumDecoders: *mut SLuint32,
            pDecoderIds: *mut SLuint32,
        ) -> SLresult,
    >,
    pub GetAudioDecoderCapabilities: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioDecoderCapabilitiesItf,
            decoderId: SLuint32,
            pIndex: *mut SLuint32,
            pDescriptor: *mut SLAudioCodecDescriptor,
        ) -> SLresult,
    >,
}
#[repr(C)]
pub struct SLAudioEncoderSettings_ {
    pub encoderId: SLuint32,
    pub channelsIn: SLuint32,
    pub channelsOut: SLuint32,
    pub sampleRate: SLmilliHertz,
    pub bitRate: SLuint32,
    pub bitsPerSample: SLuint32,
    pub rateControl: SLuint32,
    pub profileSetting: SLuint32,
    pub levelSetting: SLuint32,
    pub channelMode: SLuint32,
    pub streamFormat: SLuint32,
    pub encodeOptions: SLuint32,
    pub blockAlignment: SLuint32,
}
pub type SLAudioEncoderSettings = SLAudioEncoderSettings_;
extern "C" {
    pub static SL_IID_AUDIOENCODERCAPABILITIES: SLInterfaceID;
}
pub type SLAudioEncoderCapabilitiesItf = *const *const SLAudioEncoderCapabilitiesItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAudioEncoderCapabilitiesItf_ {
    pub GetAudioEncoders: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioEncoderCapabilitiesItf,
            pNumEncoders: *mut SLuint32,
            pEncoderIds: *mut SLuint32,
        ) -> SLresult,
    >,
    pub GetAudioEncoderCapabilities: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioEncoderCapabilitiesItf,
            encoderId: SLuint32,
            pIndex: *mut SLuint32,
            pDescriptor: *mut SLAudioCodecDescriptor,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_AUDIOENCODER: SLInterfaceID;
}
pub type SLAudioEncoderItf = *const *const SLAudioEncoderItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAudioEncoderItf_ {
    pub SetEncoderSettings: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioEncoderItf,
            pSettings: *mut SLAudioEncoderSettings,
        ) -> SLresult,
    >,
    pub GetEncoderSettings: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAudioEncoderItf,
            pSettings: *mut SLAudioEncoderSettings,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_BASSBOOST: SLInterfaceID;
}
pub type SLBassBoostItf = *const *const SLBassBoostItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLBassBoostItf_ {
    pub SetEnabled: ::std::option::Option<
        unsafe extern "C" fn(self_: SLBassBoostItf, enabled: SLboolean) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(self_: SLBassBoostItf, pEnabled: *mut SLboolean) -> SLresult,
    >,
    pub SetStrength: ::std::option::Option<
        unsafe extern "C" fn(self_: SLBassBoostItf, strength: SLpermille) -> SLresult,
    >,
    pub GetRoundedStrength: ::std::option::Option<
        unsafe extern "C" fn(self_: SLBassBoostItf, pStrength: *mut SLpermille) -> SLresult,
    >,
    pub IsStrengthSupported: ::std::option::Option<
        unsafe extern "C" fn(self_: SLBassBoostItf, pSupported: *mut SLboolean) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_PITCH: SLInterfaceID;
}
pub type SLPitchItf = *const *const SLPitchItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLPitchItf_ {
    pub SetPitch: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPitchItf, pitch: SLpermille) -> SLresult,
    >,
    pub GetPitch: ::std::option::Option<
        unsafe extern "C" fn(self_: SLPitchItf, pPitch: *mut SLpermille) -> SLresult,
    >,
    pub GetPitchCapabilities: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLPitchItf,
            pMinPitch: *mut SLpermille,
            pMaxPitch: *mut SLpermille,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_RATEPITCH: SLInterfaceID;
}
pub type SLRatePitchItf = *const *const SLRatePitchItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLRatePitchItf_ {
    pub SetRate: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRatePitchItf, rate: SLpermille) -> SLresult,
    >,
    pub GetRate: ::std::option::Option<
        unsafe extern "C" fn(self_: SLRatePitchItf, pRate: *mut SLpermille) -> SLresult,
    >,
    pub GetRatePitchCapabilities: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLRatePitchItf,
            pMinRate: *mut SLpermille,
            pMaxRate: *mut SLpermille,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_VIRTUALIZER: SLInterfaceID;
}
pub type SLVirtualizerItf = *const *const SLVirtualizerItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLVirtualizerItf_ {
    pub SetEnabled: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVirtualizerItf, enabled: SLboolean) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVirtualizerItf, pEnabled: *mut SLboolean) -> SLresult,
    >,
    pub SetStrength: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVirtualizerItf, strength: SLpermille) -> SLresult,
    >,
    pub GetRoundedStrength: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVirtualizerItf, pStrength: *mut SLpermille) -> SLresult,
    >,
    pub IsStrengthSupported: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVirtualizerItf, pSupported: *mut SLboolean) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_VISUALIZATION: SLInterfaceID;
}
pub type SLVisualizationItf = *const *const SLVisualizationItf_;
pub type slVisualizationCallback = ::std::option::Option<
    unsafe extern "C" fn(
        pContext: *mut ::std::os::raw::c_void,
        waveform: *const SLuint8,
        fft: *const SLuint8,
        samplerate: SLmilliHertz,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLVisualizationItf_ {
    pub RegisterVisualizationCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLVisualizationItf,
            callback: slVisualizationCallback,
            pContext: *mut ::std::os::raw::c_void,
            rate: SLmilliHertz,
        ) -> SLresult,
    >,
    pub GetMaxRate: ::std::option::Option<
        unsafe extern "C" fn(self_: SLVisualizationItf, pRate: *mut SLmilliHertz) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_ENGINE: SLInterfaceID;
}
pub type SLEngineItf = *const *const SLEngineItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLEngineItf_ {
    pub CreateLEDDevice: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pDevice: *mut SLObjectItf,
            deviceID: SLuint32,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub CreateVibraDevice: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pDevice: *mut SLObjectItf,
            deviceID: SLuint32,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub CreateAudioPlayer: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pPlayer: *mut SLObjectItf,
            pAudioSrc: *const SLDataSource,
            pAudioSnk: *const SLDataSink,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub CreateAudioRecorder: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pRecorder: *mut SLObjectItf,
            pAudioSrc: *const SLDataSource,
            pAudioSnk: *const SLDataSink,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub CreateMidiPlayer: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pPlayer: *mut SLObjectItf,
            pMIDISrc: *const SLDataSource,
            pBankSrc: *const SLDataSource,
            pAudioOutput: *const SLDataSink,
            pVibra: *const SLDataSink,
            pLEDArray: *const SLDataSink,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub CreateListener: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pListener: *mut SLObjectItf,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub Create3DGroup: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pGroup: *mut SLObjectItf,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub CreateOutputMix: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pMix: *mut SLObjectItf,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub CreateMetadataExtractor: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pMetadataExtractor: *mut SLObjectItf,
            pDataSource: *const SLDataSource,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub CreateExtensionObject: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pObject: *mut SLObjectItf,
            pParameters: *mut ::std::os::raw::c_void,
            objectID: SLuint32,
            numInterfaces: SLuint32,
            pInterfaceIds: *const SLInterfaceID,
            pInterfaceRequired: *const SLboolean,
        ) -> SLresult,
    >,
    pub QueryNumSupportedInterfaces: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            objectID: SLuint32,
            pNumSupportedInterfaces: *mut SLuint32,
        ) -> SLresult,
    >,
    pub QuerySupportedInterfaces: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            objectID: SLuint32,
            index: SLuint32,
            pInterfaceId: *mut SLInterfaceID,
        ) -> SLresult,
    >,
    pub QueryNumSupportedExtensions: ::std::option::Option<
        unsafe extern "C" fn(self_: SLEngineItf, pNumExtensions: *mut SLuint32) -> SLresult,
    >,
    pub QuerySupportedExtension: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            index: SLuint32,
            pExtensionName: *mut SLchar,
            pNameLength: *mut SLuint16,
        ) -> SLresult,
    >,
    pub IsExtensionSupported: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineItf,
            pExtensionName: *const SLchar,
            pSupported: *mut SLboolean,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_ENGINECAPABILITIES: SLInterfaceID;
}
pub type SLEngineCapabilitiesItf = *const *const SLEngineCapabilitiesItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLEngineCapabilitiesItf_ {
    pub QuerySupportedProfiles: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineCapabilitiesItf,
            pProfilesSupported: *mut SLuint16,
        ) -> SLresult,
    >,
    pub QueryAvailableVoices: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineCapabilitiesItf,
            voiceType: SLuint16,
            pNumMaxVoices: *mut SLuint16,
            pIsAbsoluteMax: *mut SLboolean,
            pNumFreeVoices: *mut SLuint16,
        ) -> SLresult,
    >,
    pub QueryNumberOfMIDISynthesizers: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineCapabilitiesItf,
            pNumMIDIsynthesizers: *mut SLuint16,
        ) -> SLresult,
    >,
    pub QueryAPIVersion: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineCapabilitiesItf,
            pMajor: *mut SLuint16,
            pMinor: *mut SLuint16,
            pStep: *mut SLuint16,
        ) -> SLresult,
    >,
    pub QueryLEDCapabilities: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineCapabilitiesItf,
            pIndex: *mut SLuint32,
            pLEDDeviceID: *mut SLuint32,
            pDescriptor: *mut SLLEDDescriptor,
        ) -> SLresult,
    >,
    pub QueryVibraCapabilities: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineCapabilitiesItf,
            pIndex: *mut SLuint32,
            pVibraDeviceID: *mut SLuint32,
            pDescriptor: *mut SLVibraDescriptor,
        ) -> SLresult,
    >,
    pub IsThreadSafe: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLEngineCapabilitiesItf,
            pIsThreadSafe: *mut SLboolean,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_THREADSYNC: SLInterfaceID;
}
pub type SLThreadSyncItf = *const *const SLThreadSyncItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLThreadSyncItf_ {
    pub EnterCriticalSection:
        ::std::option::Option<unsafe extern "C" fn(self_: SLThreadSyncItf) -> SLresult>,
    pub ExitCriticalSection:
        ::std::option::Option<unsafe extern "C" fn(self_: SLThreadSyncItf) -> SLresult>,
}
#[repr(C)]
pub struct SLEngineOption_ {
    pub feature: SLuint32,
    pub data: SLuint32,
}
pub type SLEngineOption = SLEngineOption_;
extern "C" {
    pub fn slCreateEngine(
        pEngine: *mut SLObjectItf,
        numOptions: SLuint32,
        pEngineOptions: *const SLEngineOption,
        numInterfaces: SLuint32,
        pInterfaceIds: *const SLInterfaceID,
        pInterfaceRequired: *const SLboolean,
    ) -> SLresult;
}
extern "C" {
    pub fn slQueryNumSupportedEngineInterfaces(pNumSupportedInterfaces: *mut SLuint32) -> SLresult;
}
extern "C" {
    pub fn slQuerySupportedEngineInterfaces(
        index: SLuint32,
        pInterfaceId: *mut SLInterfaceID,
    ) -> SLresult;
}
#[repr(C)]
pub struct SLAndroidDataFormat_PCM_EX_ {
    pub formatType: SLuint32,
    pub numChannels: SLuint32,
    pub sampleRate: SLuint32,
    pub bitsPerSample: SLuint32,
    pub containerSize: SLuint32,
    pub channelMask: SLuint32,
    pub endianness: SLuint32,
    pub representation: SLuint32,
}
pub type SLAndroidDataFormat_PCM_EX = SLAndroidDataFormat_PCM_EX_;
extern "C" {
    pub static SL_IID_ANDROIDEFFECT: SLInterfaceID;
}
pub type SLAndroidEffectItf = *const *const SLAndroidEffectItf_;
#[doc = " Android Effect interface methods"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidEffectItf_ {
    pub CreateEffect: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectItf,
            effectImplementationId: SLInterfaceID,
        ) -> SLresult,
    >,
    pub ReleaseEffect: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectItf,
            effectImplementationId: SLInterfaceID,
        ) -> SLresult,
    >,
    pub SetEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectItf,
            effectImplementationId: SLInterfaceID,
            enabled: SLboolean,
        ) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectItf,
            effectImplementationId: SLInterfaceID,
            pEnabled: *mut SLboolean,
        ) -> SLresult,
    >,
    pub SendCommand: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectItf,
            effectImplementationId: SLInterfaceID,
            command: SLuint32,
            commandSize: SLuint32,
            pCommandData: *mut ::std::os::raw::c_void,
            replySize: *mut SLuint32,
            pReplyData: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_ANDROIDEFFECTSEND: SLInterfaceID;
}
pub type SLAndroidEffectSendItf = *const *const SLAndroidEffectSendItf_;
#[doc = " Android Effect Send interface methods"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidEffectSendItf_ {
    pub EnableEffectSend: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectSendItf,
            effectImplementationId: SLInterfaceID,
            enable: SLboolean,
            initialLevel: SLmillibel,
        ) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectSendItf,
            effectImplementationId: SLInterfaceID,
            pEnable: *mut SLboolean,
        ) -> SLresult,
    >,
    pub SetDirectLevel: ::std::option::Option<
        unsafe extern "C" fn(self_: SLAndroidEffectSendItf, directLevel: SLmillibel) -> SLresult,
    >,
    pub GetDirectLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectSendItf,
            pDirectLevel: *mut SLmillibel,
        ) -> SLresult,
    >,
    pub SetSendLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectSendItf,
            effectImplementationId: SLInterfaceID,
            sendLevel: SLmillibel,
        ) -> SLresult,
    >,
    pub GetSendLevel: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectSendItf,
            effectImplementationId: SLInterfaceID,
            pSendLevel: *mut SLmillibel,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_ANDROIDEFFECTCAPABILITIES: SLInterfaceID;
}
pub type SLAndroidEffectCapabilitiesItf = *const *const SLAndroidEffectCapabilitiesItf_;
#[doc = " Android Effect Capabilities interface methods"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidEffectCapabilitiesItf_ {
    pub QueryNumEffects: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectCapabilitiesItf,
            pNumSupportedEffects: *mut SLuint32,
        ) -> SLresult,
    >,
    pub QueryEffect: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidEffectCapabilitiesItf,
            index: SLuint32,
            pEffectType: *mut SLInterfaceID,
            pEffectImplementation: *mut SLInterfaceID,
            pName: *mut SLchar,
            pNameSize: *mut SLuint16,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_ANDROIDCONFIGURATION: SLInterfaceID;
}
#[doc = " Android Configuration interface methods"]
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidConfigurationItf_ {
    _unused: [u8; 0],
}
pub type SLAndroidConfigurationItf = *const *const SLAndroidConfigurationItf_;
extern "C" {
    pub static SL_IID_ANDROIDSIMPLEBUFFERQUEUE: SLInterfaceID;
}
pub type SLAndroidSimpleBufferQueueItf = *const *const SLAndroidSimpleBufferQueueItf_;
pub type slAndroidSimpleBufferQueueCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLAndroidSimpleBufferQueueItf,
        pContext: *mut ::std::os::raw::c_void,
    ),
>;
#[doc = " Android simple buffer queue state"]
#[repr(C)]
pub struct SLAndroidSimpleBufferQueueState_ {
    pub count: SLuint32,
    pub index: SLuint32,
}
pub type SLAndroidSimpleBufferQueueState = SLAndroidSimpleBufferQueueState_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidSimpleBufferQueueItf_ {
    pub Enqueue: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidSimpleBufferQueueItf,
            pBuffer: *const ::std::os::raw::c_void,
            size: SLuint32,
        ) -> SLresult,
    >,
    pub Clear: ::std::option::Option<
        unsafe extern "C" fn(self_: SLAndroidSimpleBufferQueueItf) -> SLresult,
    >,
    pub GetState: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidSimpleBufferQueueItf,
            pState: *mut SLAndroidSimpleBufferQueueState,
        ) -> SLresult,
    >,
    pub RegisterCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidSimpleBufferQueueItf,
            callback: slAndroidSimpleBufferQueueCallback,
            pContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_ANDROIDBUFFERQUEUESOURCE: SLInterfaceID;
}
pub type SLAndroidBufferQueueItf = *const *const SLAndroidBufferQueueItf_;
#[repr(C)]
pub struct SLAndroidBufferItem_ {
    pub itemKey: SLuint32,
    pub itemSize: SLuint32,
    pub itemData: __IncompleteArrayField<SLuint8>,
}
pub type SLAndroidBufferItem = SLAndroidBufferItem_;
pub type slAndroidBufferQueueCallback = ::std::option::Option<
    unsafe extern "C" fn(
        caller: SLAndroidBufferQueueItf,
        pCallbackContext: *mut ::std::os::raw::c_void,
        pBufferContext: *mut ::std::os::raw::c_void,
        pBufferData: *mut ::std::os::raw::c_void,
        dataSize: SLuint32,
        dataUsed: SLuint32,
        pItems: *const SLAndroidBufferItem,
        itemsLength: SLuint32,
    ) -> SLresult,
>;
#[repr(C)]
pub struct SLAndroidBufferQueueState_ {
    pub count: SLuint32,
    pub index: SLuint32,
}
pub type SLAndroidBufferQueueState = SLAndroidBufferQueueState_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidBufferQueueItf_ {
    pub RegisterCallback: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidBufferQueueItf,
            callback: slAndroidBufferQueueCallback,
            pCallbackContext: *mut ::std::os::raw::c_void,
        ) -> SLresult,
    >,
    pub Clear:
        ::std::option::Option<unsafe extern "C" fn(self_: SLAndroidBufferQueueItf) -> SLresult>,
    pub Enqueue: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidBufferQueueItf,
            pBufferContext: *mut ::std::os::raw::c_void,
            pData: *mut ::std::os::raw::c_void,
            dataLength: SLuint32,
            pItems: *const SLAndroidBufferItem,
            itemsLength: SLuint32,
        ) -> SLresult,
    >,
    pub GetState: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidBufferQueueItf,
            pState: *mut SLAndroidBufferQueueState,
        ) -> SLresult,
    >,
    pub SetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(self_: SLAndroidBufferQueueItf, eventFlags: SLuint32) -> SLresult,
    >,
    pub GetCallbackEventsMask: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidBufferQueueItf,
            pEventFlags: *mut SLuint32,
        ) -> SLresult,
    >,
}
#[doc = " BufferQueue-based data locator definition where locatorType must"]
#[doc = "  be SL_DATALOCATOR_ANDROIDSIMPLEBUFFERQUEUE"]
#[repr(C)]
pub struct SLDataLocator_AndroidSimpleBufferQueue {
    pub locatorType: SLuint32,
    pub numBuffers: SLuint32,
}
#[doc = " Android Buffer Queue-based data locator definition,"]
#[doc = "  locatorType must be SL_DATALOCATOR_ANDROIDBUFFERQUEUE"]
#[repr(C)]
pub struct SLDataLocator_AndroidBufferQueue_ {
    pub locatorType: SLuint32,
    pub numBuffers: SLuint32,
}
pub type SLDataLocator_AndroidBufferQueue = SLDataLocator_AndroidBufferQueue_;
extern "C" {
    pub static SL_IID_ANDROIDACOUSTICECHOCANCELLATION: SLInterfaceID;
}
pub type SLAndroidAcousticEchoCancellationItf = *const *const SLAndroidAcousticEchoCancellationItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidAcousticEchoCancellationItf_ {
    pub SetEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidAcousticEchoCancellationItf,
            enabled: SLboolean,
        ) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidAcousticEchoCancellationItf,
            pEnabled: *mut SLboolean,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_ANDROIDAUTOMATICGAINCONTROL: SLInterfaceID;
}
pub type SLAndroidAutomaticGainControlItf = *const *const SLAndroidAutomaticGainControlItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidAutomaticGainControlItf_ {
    pub SetEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidAutomaticGainControlItf,
            enabled: SLboolean,
        ) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidAutomaticGainControlItf,
            pEnabled: *mut SLboolean,
        ) -> SLresult,
    >,
}
extern "C" {
    pub static SL_IID_ANDROIDNOISESUPPRESSION: SLInterfaceID;
}
pub type SLAndroidNoiseSuppressionItf = *const *const SLAndroidNoiseSuppressionItf_;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct SLAndroidNoiseSuppressionItf_ {
    pub SetEnabled: ::std::option::Option<
        unsafe extern "C" fn(self_: SLAndroidNoiseSuppressionItf, enabled: SLboolean) -> SLresult,
    >,
    pub IsEnabled: ::std::option::Option<
        unsafe extern "C" fn(
            self_: SLAndroidNoiseSuppressionItf,
            pEnabled: *mut SLboolean,
        ) -> SLresult,
    >,
}