summaryrefslogtreecommitdiffstats
path: root/src/java/net/java/games/joal/AL.java
blob: e5c155da92a9d9e0fe1f2578bd2b88da77ef2946 (plain)
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
/**
* Copyright (c) 2003 Sun Microsystems, Inc. All  Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* -Redistribution of source code must retain the above copyright notice, 
* this list of conditions and the following disclaimer.
*
* -Redistribution in binary form must reproduce the above copyright notice, 
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* Neither the name of Sun Microsystems, Inc. or the names of contributors may 
* be used to endorse or promote products derived from this software without 
* specific prior written permission.
* 
* This software is provided "AS IS," without a warranty of any kind.
* ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
* ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR
* NON-INFRINGEMENT, ARE HEREBY EXCLUDED. SUN MIDROSYSTEMS, INC. ("SUN") AND ITS
* LICENSORS SHALL NOT BE LIABLE FOR ANY DAMAGES SUFFERED BY LICENSEE AS A
* RESULT OF USING, MODIFYING OR DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES.
* IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROFIT
* OR DATA, OR FOR DIRECT, INDIRECT, SPECIAL, CONSEQUENTIAL, INCIDENTAL OR
* PUNITIVE DAMAGES, HOWEVER CAUSED AND REGARDLESS OF THE THEORY OF LIABILITY,
* ARISING OUT OF THE USE OF OR INABILITY TO USE THIS SOFTWARE, EVEN IF SUN HAS
* BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
*
* You acknowledge that this software is not designed or intended for use in the
* design, construction, operation or maintenance of any nuclear facility.
*/

package net.java.games.joal;

import java.nio.ByteBuffer;


/**
 * This class contains the core OpenAL functions
 *
 * @author Athomas Goldberg
 */
public interface AL extends ALConstants {
    // AL_BUFFER RELATED METHODS

    /**
     * This method generates one or more buffers.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGenBuffers(ALsizei n, ALuint *buffers);</pre>
     *
     * @param n the number of buffers to be generated
     * @param buffers an IntBuffer to contain the ids of the new buffers.
     *        IntBuffer must be a direct, non-null buffer, and buffer capacity
     *        must be equal to or greater than the number of buffers to be
     *        generated. Use BufferUtils.newIntBuffer(int capacity) to create
     *        an appropriate buffer.
     */
//    public void alGenBuffers(int n, IntBuffer buffers);

    /**
     * This method generates one or more buffers.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGenBuffers(ALsizei n, ALuint *buffers);</pre>
     *
     * @param n the number of buffers to be generated
     * @param buffers an int array to hold the IDs of the new buffers. Array
     *        must be non-null, and length must be equal to or greater than
     *        the number of buffers to be generated.
     */
    public void alGenBuffers(int n, int[] buffers);

    /**
     * This method deletes one or more buffers.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alDeleteBuffers(ALsizei n, ALuint *buffers);</pre>
     *
     * @param n number of buffers to be deleted.
     * @param buffers a direct, non-null IntBuffer containing buffer names to
     *        be deleted.
     */
//    public void alDeleteBuffers(int n, IntBuffer buffers);

    /**
     * This method deletes one or more buffers.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alDeleteBuffers(ALsizei n, ALuint *buffers);</pre>
     *
     * @param n number of buffers to be deleted.
     * @param buffers a direct, non-null IntBuffer containing buffer names to
     *        be deleted.
     */
    public void alDeleteBuffers(int n, int[] buffers);

    /**
     * This method tests if a buffer id is valid.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALboolean alIsBuffer(ALuint buffer);</pre>
     *
     * @param bufferID the name of the buffer.
     *
     * @return true if the buffer ID is valid
     */
    public boolean alIsBuffer(int bufferID);

    /**
     * This method fills a buffer with audio data.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alBufferData(ALuint buffer, ALenum format, ALvoid *data, ALsizei size, ALsizei freq);</pre>
     *
     * @param bufferID name of buffer to be filled with data
     * @param format the format type from among the following: AL_MONO8, AL_MONO16,
     *        AL_STEREO8, AL_STEREO16.
     * @param data the audio data, must be non-null array
     * @param frequency the frequency of the audio data
     */
    public void alBufferData(
        int bufferID,
        int format,
        byte[] data,
        int size,
        int frequency
    );

    /**
     * This method fills a buffer with audio data.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alBufferData(ALuint buffer, ALenum format, ALvoid *data, ALsizei size, ALsizei freq);</pre>
     *
     * @param bufferID name of buffer to be filled with data
     * @param format the format type from among the following: AL_MONO8, AL_MONO16,
     *        AL_STEREO8, AL_STEREO16.
     * @param data the audio data Must be non-null, direct ByteBuffer
     * @param frequency the frequency of the audio data
     */
    public void alBufferData(
        int bufferID,
        int format,
        ByteBuffer data,
        int size,
        int frequency
    );

    /**
     * This method retrieves a floating point property of a buffer.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGetBufferf(ALuint buffer, ALuint pname, float value);</pre>
     * <br><br>
     *
     * @param bufferID Buffer ID whose attribute is being retrieved
     * @param pname the name of the attribute to be retrieved
     * @param retValue a single-element array to hold the retrieved value.
     */
    public void alGetBufferf(int bufferID, int pname, float[] retValue);

    /**
     * This method retrieves a floating point property of a buffer.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGetBufferf(ALuint buffer, ALuint pname, ALfloat *value);</pre>
     *
     * @param bufferID Buffer ID whose attribute is being retrieved
     * @param pname the name of the attribute to be retrieved
     * @param retValue a single-element buffer to hold the retrieved value.
     */
//    public void alGetBufferf(int bufferID, int pname, FloatBuffer retValue);

    /**
     * This method retrieves a floating point property of a buffer.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGetBufferf(ALuint buffer, ALuint pname, ALfloat *value);</pre>
     *
     * @param bufferID Buffer ID whose attribute is being retrieved
     * @param pname the name of the attribute to be retrieved
     *
     * @return retValue the retrieved value.
     */
    public float alGetBufferf(int bufferID, int pname);

    /**
     * This method retrieves a integer property of a buffer.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGetBufferi(ALuint buffer, ALuint pname, ALint *value);</pre>
     *
     * @param bufferID Buffer ID whose attribute is being retrieved
     * @param pname the name of the attribute to be retrieved
     * @param retValue a single-element array to hold the retrieved value.
     */
    public void alGetBufferi(int bufferID, int pname, int[] retValue);

    /**
     * This method retrieves a integer property of a buffer.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGetBufferi(ALuint buffer, ALuint pname, ALint value);</pre>
     *
     * @param bufferID Buffer ID whose attribute is being retrieved
     * @param pname the name of the attribute to be retrieved
     * @param retValue a single-element IntBuffer to hold the retrieved value.
     */
//    public void alGetBufferi(int bufferID, int pname, IntBuffer retValue);

    /**
     * This method retrieves a integer property of a buffer.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGetBufferi(ALuint buffer, ALuint pname, ALint *value);</pre>
     *
     * @param bufferID Buffer ID whose attribute is being retrieved
     * @param pname the name of the attribute to be retrieved
     *
     * @return retValue the retrieved value.
     */
    public int alGetBufferi(int bufferID, int pname);

    // SOURCE RELATED METHODS

    /**
     * This method generates one or more sources.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGenSources(ALsizei n, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be generated
     * @param sources an integer array to hold the ids of the new sources
     */
    public void alGenSources(int numSources, int[] sources);

    /**
     * This method generates one or more sources.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alGenSources(ALsizei n, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be generated
     * @param sources an IntBuffer to hold the IDs of the new sources
     */
//    public void alGenSources(int numSources, IntBuffer sources);

    /**
     * This method deletes one or more sources.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alDeleteSources(ALsizei n, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be generated
     * @param sources an int array containing the IDs of the sources to be
     *        deleted
     */
    public void alDeleteSources(int numSources, int[] sources);

    /**
     * This method deletes one or more sources.  <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alDeleteSources(ALsizei n, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be generated
     * @param sources an IntBuffer containing the IDs of the sources to be
     *        deleted
     */
//    public void alDeleteSources(int numSources, IntBuffer sources);

    /**
     * This method tests if a source ID is valid. <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alDeleteSources(ALsizei n, ALuint *sources);</pre>
     *
     * @param sourceID a source ID to be tested for validity
     *
     * @return true if the source ID is valid, or false if the source ID is not
     *         valid
     */
    public boolean alIsSource(int sourceID);

    /**
     * This method sets a floating point property of a source. <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid alSourcei(ALuint sourceID, ALuint pname, ALfloat value);</pre>
     *
     * @param sourceID source ID whose attribute is being set
     * @param pname the name of the attribute to set:
     * <pre>
     *     AL_PITCH
     *     AL_GAIN
     *     AL_MAX_DISTANCE
     *     AL_ROLLOFF_FACTOR
     *     AL_REFERENCE_DISTANCE
     *     AL_MIN_GAIN
     *     AL_MAX_GAIN
     *     AL_CONE_OUTER_GAIN
     * </pre>
     * @param value the value to set the attribute to
     */
    public void alSourcef(int sourceID, int pname, float value);

    /**
     * This method sets a floating-point vector property of a source. <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid aSourcefv(ALuint source, ALenum pname, ALfloat *values)</pre>
     *
     * @param sourceID source ID whose attribute is being set
     * @param pname the nameof the attribute to set:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_DIRECTION
     * </pre>
     * @param value a float array containing the vector to set the attribute to.
     */
    public void alSourcefv(int sourceID, int pname, float[] value);

    /**
     * This method sets a floating-point vector property of a source. <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid aSourcefv(ALuint source, ALenum pname, ALfloat *values)</pre>
     *
     * @param sourceID source ID whose attribute is being set
     * @param pname the nameof the attribute to set:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_DIRECTION
     * </pre>
     * @param value direct FloatBuffer containing the vector to set the attribute to.
     */
//    public void alSourcefv(int sourceID, int pname, FloatBuffer value);


    /**
     * This method sets a source property requiring three floating point values. <br>
     * <br>
     * <b>Interface to C lanuage function:</b>
     * <pre>ALvoid alSource3f (ALuint source, ALenum pname, ALfloat v1, ALfloat v2, ALfloat v3);</pre>
     * 
     * @param sourceID the id of the source whose atribute is being set.
     * @param pname the name of the attribute being set.
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_DIRECTION
     * </pre>
     * @param v1 the first float value which the attribute will be set to
     * @param v2 the second float value which the attribute will be set to
     * @param v3 the third float value which the attribute will be set to
     */
    public void alSource3f(
        int sourceID,
        int pname,
        float v1,
        float v2,
        float v3
    );

    /**
     * This method sets a integer property of a source. <br>
     * <br>
     * <b>Interface to C language function:</b>
     * <pre>ALvoid aSourcei(ALuint source, ALenum pname, ALint value)</pre>
     *
     * @param sourceID source ID whose attribute is being set
     * @param pname the nameof the attribute to set:
     * <pre>
     *      AL_SOURCE_RELATIVE
     *      AL_LOOPING
     *      AL_BUFFER
     *      AL_SOURCE_STATE
     * </pre>
     * @param value the int value to set the attribute to.
     */
    public void alSourcei(int sourceID, int pname, int value);

    /**
     * This methof retrieves a floating point property of a source. <br>
     * <br>
     * <b>Interface to C language unction:</b>
     * <pre>ALvoid alGetSourcef(ALuint source, ALenum pname, ALfloat *value);</pre>
     *
     * @param sourceID the id of the source whose attribute is being retrieved.
     * @param pname he name of the attribute to retrieve
     * <pre>
     *      AL_PITCH
     *      AL_GAIN
     *      AL_MIN_GAIN
     *      AL_MAX_GAIN
     *      AL_MAX_DISTANCE
     *      AL_ROLLOFF_DISTANCE
     *      AL_CONE_OUTER_GAIN
     *      AL_CONE_INNER_ANGLE
     *      AL_CONE_OUTER_ANGLE
     *      AL_REFERENCE_DISTANCE
     * </pre>
     * @param retValue a single-element float array to hold the value being retrieved.
     */
    public void alGetSourcef(int sourceID, int pname, float[] retValue);

    /**
     * This methof retrieves a floating point property of a source. <br>
     * <br>
     * <b>Interface to C language unction:</b>
     * <pre>ALvoid alGetSourcef(ALuint source, ALenum pname, ALfloat *value);</pre>
     *
     * @param sourceID the id of the source whose attribute is being retrieved.
     * @param pname he name of the attribute to retrieve
     * <pre>
     *      AL_PITCH
     *      AL_GAIN
     *      AL_MIN_GAIN
     *      AL_MAX_GAIN
     *      AL_MAX_DISTANCE
     *      AL_ROLLOFF_DISTANCE
     *      AL_CONE_OUTER_GAIN
     *      AL_CONE_INNER_ANGLE
     *      AL_CONE_OUTER_ANGLE
     *      AL_REFERENCE_DISTANCE
     * </pre>
     * @param buffer a direct FloatBuffer to hold the value being retrieved.
     */
//    public void alGetSourcef(int sourceID, int pname, FloatBuffer buffer);

    /**
     * This methof retrieves a floating point property of a source. <br>
     * <br>
     * <b>Interface to C language unction:</b>
     * <pre>ALvoid alGetSourcef(ALuint source, ALenum pname, ALfloat *value);</pre>
     *
     * @param sourceID the id of the source whose attribute is being retrieved.
     * @param pname he name of the attribute to retrieve
     * <pre>
     *      AL_PITCH
     *      AL_GAIN
     *      AL_MIN_GAIN
     *      AL_MAX_GAIN
     *      AL_MAX_DISTANCE
     *      AL_ROLLOFF_DISTANCE
     *      AL_CONE_OUTER_GAIN
     *      AL_CONE_INNER_ANGLE
     *      AL_CONE_OUTER_ANGLE
     *      AL_REFERENCE_DISTANCE
     * </pre>
     * @return the floating point value being retrieved.
     */
    public float alGetSourcef(int sourceID, int pname);

    /**
     * This method retrieves a floating point vector property of a source. <br>
     * <br>
     * <b>Interface to C language unction:</b>
     * <pre>ALvoid alGetSourcef(ALuint source, ALenum pname, ALfloat *value);</pre>
     * 
     *
     * @param sourceID the id of the source whose attribute is being retrieved.
     * @param pname the name of the attribute to retrieve
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_DIRECTION
     * </pre>
     * @param value a direct FloatBuffer to hold the value being retrieved
     */
//    public void alGetSourcefv(int sourceID, int pname, FloatBuffer value);

    /**
     * This method retrieves a floating point vector property of a source. <br>
     * <br>
     * <b>Interface to C language unction:</b>
     * <pre>ALvoid alGetSourcef(ALuint source, ALenum pname, ALfloat *value);</pre>
     * 
     *
     * @param sourceID the id of the source whose attribute is being retrieved.
     * @param pname the name of the attribute to retrieve
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_DIRECTION
     * </pre>
     * @param retValue a float array to hold the value being retrieved
     */
    public void alGetSourcefv(int sourceID, int pname, float[] retValue);

    /**
     * This method retrieves an integer property of a source. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetSourcei(ALuint source, Alenum pname, ALint *value);</pre>
     *
     * @param sourceID source id whose attribute is being retrieved.
     * @param pname the name of the attribute being retrieved.
     * <pre>
     *      AL_SOURCE_RELATIVE
     *      AL_BUFFER
     *      AL_LOOPING
     *      AL_SOURCE_STATE
     *      AL_BUFFERS_QUEUED
     *      AL_BUFFERS_PROCESSED
     * </pre>
     * @param retValue an int array to hold the value being retrieved
     */
    public void alGetSourcei(int sourceID, int pname, int[] retValue);

    /**
     * This method retrieves an integer property of a source. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetSourcei(ALuint source, Alenum pname, ALint *value);</pre>
     *
     * @param sourceID source id whose attribute is being retrieved.
     * @param pname the name of the attribute being retrieved.
     * <pre>
     *      AL_SOURCE_RELATIVE
     *      AL_BUFFER
     *      AL_LOOPING
     *      AL_SOURCE_STATE
     *      AL_BUFFERS_QUEUED
     *      AL_BUFFERS_PROCESSED
     * </pre>
     * @param retValue a direct IntBuffer to hold the value being retrieved
     */
//    public void alGetSourcei(int sourceID, int pname, IntBuffer retValue);

    /**
     * This method retrieves an integer property of a source. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetSourcei(ALuint source, Alenum pname, ALint *value);</pre>
     *
     * @param sourceID source id whose attribute is being retrieved.
     * @param pname the name of the attribute being retrieved.
     * <pre>
     *      AL_SOURCE_RELATIVE
     *      AL_BUFFER
     *      AL_LOOPING
     *      AL_SOURCE_STATE
     *      AL_BUFFERS_QUEUED
     *      AL_BUFFERS_PROCESSED
     * </pre>
     * @return the value being retrieved
     */
    public int alGetSourcei(int sourceID, int pname);

    /**
     * This method plays a source. <br>
     * <br>
     *<b>Interface to C Language function:</b>
     *<pre>ALvoid alSourcePlay(ALuint source);</pre>
     *
     * @param sourceID the id of the source to be played
     */
    public void alSourcePlay(int sourceID);

    /**
     * This method plays a set of sources. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alSourcePlayv(Alsizei, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be plaed
     * @param sourceIDs a direct IntBuffer containing the ids of the sources to be played.
     */
//    public void alSourcePlayv(int numSources, IntBuffer sourceIDs);

    /**
     * This method plays a set of sources. <br>
     * <br>
     * <pre>ALvoid alSourcePlayv(Alsizei, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be plaed
     * @param sourceIDs an array containing the ids of the sources to be played.
     */
    public void alSourcePlayv(int numSources, int[] sourceIDs);

    /**
     * This method pauses a source. <br>
     * <br>
     *<b>Interface to C Language function:</b>
     *<pre>ALvoid alSourcePause(ALuint source);</pre>
     *
     * @param sourceID the id of the source to be paused
     */
    public void alSourcePause(int sourceID);

    /**
     * This method pauses a set of sources. <br>
     * <br>
     * <pre>ALvoid alSourcePausev(Alsizei, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be paused
     * @param sourceIDs an array containing the ids of the sources to be paused.
     */
    public void alSourcePausev(int numSources, int[] sourceIDs);

    /**
     * This method pauses a set of sources. <br>
     * <br>
     * <pre>ALvoid alSourcePausev(Alsizei, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be paused
     * @param sourceIDs an IntBuffer containing the ids of the sources to be paused.
     */
//    public void alSourcePausev(int numSources, IntBuffer sourceIDs);

    /**
     * This method stops a source. <br>
     * <br>
     *<b>Interface to C Language function:</b>
     *<pre>ALvoid alSourceStop(ALuint source);</pre>
     *
     * @param sourceID the id of the source to be stopped
     */
    public void alSourceStop(int sourceID);

    /**
     * This method stops a set of sources. <br>
     * <br>
     * <pre>ALvoid alSourceStopv(Alsizei, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be stopped
     * @param sourceIDs an array containing the ids of the sources to be stopped.
     */
    public void alSourceStopv(int numSources, int[] sourceIDs);

    /**
     * This method stops a set of sources. <br>
     * <br>
     * <pre>ALvoid alSourceStopv(Alsizei, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be stopped
     * @param sourceIDs a direct IntBuffer containing the ids of the sources to be stopped.
     */
//    public void alSourceStopv(int numSources, IntBuffer sourceIDs);

    /**
     * This method rewinds a source. <br>
     * <br>
     *<b>Interface to C Language function:</b>
     *<pre>ALvoid alSourceRewind(ALuint source);</pre>
     *
     * @param sourceID the id of the source to be rewound
     */
    public void alSourceRewind(int sourceID);

    /**
     * This method rewinds a set of sources. <br>
     * <br>
     *<b>Interface to C Language function:</b>
     * <pre>ALvoid alSourceRewindv(Alsizei, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be rewound
     * @param sourceIDs an array containing the ids of the sources to be rewound.
     */
    public void alSourceRewindv(int numSources, int[] sourceIDs);

    /**
     * This method rewinds a set of sources. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alSourceRewindv(Alsizei, ALuint *sources);</pre>
     *
     * @param numSources the number of sources to be rewound
     * @param sourceIDs a direct IntBuffercontaining the ids of the sources to be rewound.
     */
//    public void alSourceRewindv(int numSources, IntBuffer sourceIDs);

    /**
     * This method queues a set of buffers on a source. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>alSourceQueueBuffers(ALuint source, ALsizei n, ALuint *buffers);</pre>
     * 
     * @param sourceID the id of the source to queue buffers onto
     * @param numBuffers the number of buffers to be queued
     * @param bufferIDs an array containing the list of buffer ids to be queued
     */
    public void alSourceQueueBuffers(
        int sourceID,
        int numBuffers,
        int[] bufferIDs
    );

    /**
     * This method queues a set of buffers on a source. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>alSourceQueueBuffers(ALuint source, ALsizei n, ALuint *buffers);</pre>
     * 
     * @param sourceID the id of the source to queue buffers onto
     * @param numBuffers the number of buffers to be queued
     * @param bufferIDs a direct IntBuffer containing the list of buffer ids to be queued
     *//*
    public void alSourceQueueBuffers(
        int sourceID,
        int numBuffers,
        IntBuffer bufferIDs
    );*/

    /**
     * This method unqueues a set of buffers attached to a source. 
     * The unqueue operation will only take place if all <i>n</i> buffers
     * can be removed from the queue<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alSourceUnqueueBuffers(ALuint source, ALsizei n, ALuint *buffers);</pre>
     *
     * @param source the id of the source to unqueue buffers from
     * @param numBuffers the number of buffers to be unqueued
     * @param bufferIDs an array of buffer ids to be unqueued
     */
    public void alSourceUnqueueBuffers(
        int source,
        int numBuffers,
        int[] bufferIDs
    );

    /**
     * This method unqueues a set of buffers attached to a source. 
     * The unqueue operation will only take place if all <i>n</i> buffers
     * can be removed from the queue<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alSourceUnqueueBuffers(ALuint source, ALsizei n, ALuint *buffers);</pre>
     *
     * @param source the id of the source to unqueue buffers from
     * @param numBuffers the number of buffers to be unqueued
     * @param bufferIDs a direct IntBuffer of buffer ids to be unqueued
     *//*
    public void alSourceUnqueueBuffers(
        int source,
        int numBuffers,
        IntBuffer bufferIDs
    );*/

    // LISTENER RELATED METHODS
    
    
    /**
     * This method sets a floating point property for the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alListenerf(ALenum pname, ALfloat value);</pre>
     * 
     * @param pname the name of the attribute to be set
     * @param value the value to set the attribute to.
     */
    public void alListenerf(int pname, float value);

    /**
     * This method sets a listener property requireing 3 floating point values. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alListener3f(ALenum pname, ALfloat v1, ALfloat v2, ALfloat v3);</pre>
     *
     * @param pname the name of the attribute to be set:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_ORIENTATION
     * </pre>
     * @param v1 the first value to set the attribute to 
     * @param v2 the second value to set the attribute to
     * @param v3 the third value to set the attribute to
     */    
    public void alListener3f(int pname, float v1, float v2, float v3);

    /**
     * This method sets a floating point vector property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alListenerfv(ALenum pname, ALfloat *values);</pre>
     *
     * @param pname the name of the attribute to be set:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_ORIENTATION 
     * </pre>
     * @param values a float array containng the value to set the attribute to
     */
    public void alListenerfv(int pname, float[] values);

    /**
     * This method sets a floating point vector property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alListenerfv(ALenum pname, ALfloat *values);</pre>
     *
     * @param pname the name of the attribute to be set:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_ORIENTATION 
     * </pre>
     * @param values a direct FloatBuffer containng the value to set the attribute to
     */
//    public void alListenerfv(int pname, FloatBuffer values);

    /**
     * This method sets an integer property on the listener. 
     * Note: there are no integer listener attributes at this time.<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alListeneri(ALenum pname, ALint value);</pre>
     *
     * @param pname the name of the attribute to set
     * @param value the value to set the attribute to.
     */
    public void alListeneri(int pname, int value);

    /**
     * This method retrieves a floating point property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListenerf(ALenum pname, ALfloat *value);</pre>
     *
     * @param pname the name of the attribute to be retrieved:
     * <pre>
     *      AL_GAIN
     * </pre>
     * @param retValue a single-element array to hold the retrieved value
     */
    public void alGetListenerf(int pname, float[] retValue);

    /**
     * This method retrieves a floating point property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListenerf(ALenum pname, ALfloat *value);</pre>
     *
     * @param pname the name of the attribute to be retrieved:
     * <pre>
     *      AL_GAIN
     * </pre>
     * @param retValue a direct FloatBuffer to hold the retrieved value
     */
//    public void alGetListenerf(int pname, FloatBuffer retValue);

    /**
     * This method retrieves a floating point property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alListeneri(ALenum pname, ALfloat *value);</pre>
     *
     * @param pname the name of the attribute to be retrieved:
     * <pre>
     *      AL_GAIN
     * </pre>
     * @return the retrieved value
     */
    public float alGetListenerf(int pname);

    /**
     * This method retrieves a 3-element floating point property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListener3f(ALenum pname, ALfloat *v1, ALfloat *v2, ALfloat *v3);</pre>
     *
     * @param pname the name of the attribute to be retrieved:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     * </pre>
     * 
     * @param v1 a FloatBuffer to hold the first value
     * @param v2 a FloatBuffer to hold the second value
     * @param v3 a FloatBuffer to hold the third value
     */
/*    public void alGetListener3f(
        int pname,
        FloatBuffer v1,
        FloatBuffer v2,
        FloatBuffer v3
    );
*/
    /**
     * This method retrieves a 3-element floating point property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListener3f(ALenum pname, ALfloat *v1, ALfloat *v2, ALfloat *v3);</pre>
     *
     * @param pname the name of the attribute to be retrieved:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     * </pre>
     * 
     * @param v1 a single element array to hold the first value
     * @param v2 a single element array to hold the second value
     * @param v3 a single element array to hold the third value
     */
    public void alGetListener3f(int pname, float[] v1, float[] v2, float[] v3);

    /**
     * This method retrieves a floating point-vector property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListenerfv(ALenum pname, ALint *value);</pre>
     *
     * @param pname the nameof the atribute to be retrieved:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_ORIENTATION
     * </pre>
     * @param retValue an array to hold the retrieved value
     */
    public void alGetListenerfv(int pname, float[] retValue);

    /**
     * This method retrieves a floating point-vector property of the listener. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListenerfv(ALenum pname, ALint *value);</pre>
     *
     * @param pname the nameof the atribute to be retrieved:
     * <pre>
     *      AL_POSITION
     *      AL_VELOCITY
     *      AL_ORIENTATION
     * </pre>
     * @param retValue a FloatBuffer to hold the retrieved value
     */
//    public void alGetListenerfv(int pname, FloatBuffer retValue);

    /**
     * This method retrieves an integer property of the listener. 
     * Note: there are no integer listener properties at this time.<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListeneri(ALenum pname, ALint *value);</pre>
     *
     * @param pname the nameof the attribute to be retrieved
     * @param retValue an int array to hold the retrieved value.
     */
    public void alGetListeneri(int pname, int[] retValue);

    /**
     * This method retrieves an integer property of the listener. <br>
     * Note: there are no integer listener properties at this time.<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListeneri(ALenum pname, ALint *value);</pre>
     *
     * @param pname the nameof the attribute to be retrieved
     * @param retValue an IntBuffer to hold the retrieved value.
     */
//    public void alGetListeneri(int pname, IntBuffer retValue);

    /**
     * This method retrieves an integer property of the listener. <br>
     * Note: there are no integer listener properties at this time.<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetListeneri(ALenum pname, ALint *value);</pre>
     *
     * @param pname the nameof the attribute to be retrieved
     *
     * @return the retrieved value
     */
    public int alGetListeneri(int pname);

    // STATE RELATED METHODS
    
    /**
     * This method enables a feature of the OpenAL driver. Note: at this time
     * there are no features to be enabled with this feature.<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alDisable(ALenum cpability);</pre>
     *
     * @param capability the name of the capbility to be enabled.
     */
    
    public void alEnable(int capability);

    /**
     * This method disables a feature of the OpenAL driver. Note: at this time
     * there are no features to be disabled with this feature.<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alDisable(ALenum cpability);</pre>
     *
     * @param capability the name of the capbility to be disabled.
     */
    public void alDisable(int capability);

    /**
     * This method returns a bolean indicating if a specific feature is enabled
     * in the OpenAL driver. Note: At this time this function always returns
     * false, as there are no capabilities to be enabled<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALboolean alIsEnabled(ALenum cpability);</pre>
     * 
     * @param capability the name of the capability to check
     *
     * @return true, if the capability is enabled,
     * false if the capability is disabled.
     */
    public boolean alIsEnabled(int capability);

    /**
     * This method returs a boolean OpenAL state. Note: there are no 
     * boolean state values at this time.<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALboolean alGetBoolean(ALenum pname);</pre>
     *
     * @param pname the state to be queried
     *
     * @return the state described by pname
     */
    public boolean alGetBoolean(int pname);

    /**
     * This method returns a double precision loating point OpenAL state. 
     * Note at the time there are no double stat values.<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALdouble alGetDouble(ALEnum pname);</pre>
     * 
     * @param pname the state to be queried
     *
     * @return the sate described by pname
     */
    public double alGetDouble(int pname);

    /**
     * This method returns a floating point OpenAL state. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALfoat alGetFloat(ALenum pname);</pre>
     *
     * @param pname the sateto be queried:
     * <pre>
     *      AL_DOPPLER_FACTOR
     *      AL_DOPPLER_VELOCITY
     * </pre>
     *
     * @return the state described by pname
     */
    public float alGetFloat(int pname);

    /**
     * This method returns an integer OpenAL state. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALint alGetInteger(ALenum pname);</pre>
     *
     * @param pname the name of the state to be queried:
     * <pre>
     *      AL_DISTANCE_MODEL
     * </pre>
     * @return the state described by pname
     */
    public int alGetInteger(int pname);

    // No Boolean Array states at the moment
    // public  void getBooleanv(int pname, ByteBuffer value);
    
    /**
     * This function retrieves a boolean OpenAL state. Note: at this time
     * there are no boolean state variables<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetBooleanv(ALenum pname, ALboolean *value);</pre>
     *
     * @param pname the name of the state to be retrieved
     * @param value a single element array to hold the retrieved state
     */    
    public void alGetBooleanv(int pname, boolean[] value);
    
    /**
     * This method retrieves a double precision floating point OpenAL state. 
     * Note: there are no double precision floating point states at this time.
     * <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetDoublev(ALenum, ALdouble *value);</pre>
     *
     * @param pname the state to be retrieved
     * @param value a DoubleBuffer to hold the retrieved state
     */
//    public void alGetDoublev(int pname, DoubleBuffer value);

    /**
     * This method retrieves a double precision floating point OpenAL state. 
     * Note: there are no double precision floating point states at this time.
     * <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetDoublev(ALenum, ALdouble *value);</pre>
     *
     * @param pname the state to be retrieved
     * @param value a single element array to hold the retrieved state
     */
    public void alGetDoublev(int pname, double[] value);

    /**
     * This method returns a floating point OpenAL state. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetFloatv(ALenum pname, ALfloat *value);</pre>
     *
     * @param pname the state to be retrieved
     * <pre>
     *      AL_DOPPLER_FACTOR
     *      AL_DOPPLER_VELOCITY
     * </pre>
     * @param value a single element FloatBuffer to hold the retrieved value.
     */
//    public void alGetFloatv(int pname, FloatBuffer value);

    /**
     * This method returns a floating point OpenAL state. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetFloatv(ALenum pname, ALfloat *value);</pre>
     *
     * @param pname the state to be retrieved
     * <pre>
     *      AL_DOPPLER_FACTOR
     *      AL_DOPPLER_VELOCITY
     * </pre>
     * @param value a single element float array to hold the retrieved value.
     */
    public void alGetFloatv(int pname, float[] value);

    /**
     * This method returns an integer OpenAL state. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetIntegerv(ALenum pname, ALint *data);</pre>
     *
     * @param pname the state to be returned:
     * <pre>
     *      AL_DISTANCE_MODEL
     * </pre>
     * @param value a single-element IntBuffer to hold the retrieved value
     */
    //public void alGetIntegerv(int pname, IntBuffer value);

    /**
     * This method returns an integer OpenAL state. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alGetIntegerv(ALenum pname, ALint *data);</pre>
     *
     * @param pname the state to be returned:
     * <pre>
     *      AL_DISTANCE_MODEL
     * </pre>
     * @param value a single-element array to hold the retrieved value
     */
    public void alGetIntegerv(int pname, int[] value);

    /**
     * This method retrieves an OpenAL string property. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALubyte* alGetString(int pname);</pre>
     *
     * @param pname the name of the state to be retrieved
     *
     * @return the retrieved state
     */
    public String alGetString(int pname);

    /**
     * This method selects the OpenAL distance model.
     * The default distance model is AL_INVERSE_DISTANCE<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alDistanceModel(ALenum value);</pre>
     *
     * @param model the distance model to set:
     * <pre>
     *      AL_NONE
     *      AL_INVERSE_DISTANCE
     *      AL_INVERSE_DISTANCE_CLAMPED
     * </pre>
     */
    public void alDistanceModel(int model);

    /**
     * This method selects the OpenAL Doppler factor value.
     * The default value is 1.0<br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alDopplerFactor(ALfloat value);</pre>
     *
     * @param value the Doppler scale value to set
     */
    public void alDopplerFactor(float value);

    /**
     * This method selects the OpenAL Doppler velocity value.
     * The default Doppler velocity value is 343.0<b>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALvoid alDopplerVelocity(ALfloat value);</pre>
     *
     * @param value The Doppler velocity value to set.
     */
    public void alDopplerVelocity(float value);

    // ERROR RELATED METHODS
    
    /**
     * This method returns the current error state and then clears the
     * error state. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALenum alGetError(ALvoid);</pre>
     * 
     * @return the current error state
     */
    public int alGetError();

    // EXTENSION RELATED METHODS
    /**
     * This ehod tests is a specific extension is available
     * for the OpenAL driver. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALboolean alIsExtensionPresent(ALubyte *extName);</pre>
     * 
     * @param extName a string describing the desired extension
     * 
     * @return true  if the extension is available, 
     * false if the extension is not available.
     */
    public boolean alIsExtensionPresent(String extName);

    // public  Method getProcAddress(String methodName);
    /**
     * This method returns the enumeration value of an OpenAL enum 
     * described by a string. <br>
     * <br>
     * <b>Interface to C Language function:</b>
     * <pre>ALenum alGetEnumValue(ALubyte *enumName);</pre>
     * 
     * @param enumName a string describing an OpenAL constant
     * 
     * @return the actual constant for the described constant.
     */
    public int alGetEnumValue(String enumName);
}