10 #ifndef EAX_H_INCLUDED
11 #define EAX_H_INCLUDED
27 0xaa, 0xb8, 0x0, 0xa0, 0xc9, 0x59, 0x49, 0xd5);
36 0xa0, 0x94, 0xd0, 0xc0, 0xbf, 0x3a, 0x56, 0xc);
40 #ifdef DIRECTSOUND_VERSION
41 #if DIRECTSOUND_VERSION >= 0x0800
43 typedef
HRESULT (FAR PASCAL *LPEAXDIRECTSOUNDCREATE8)(GUID*, LPDIRECTSOUND8*, IUnknown FAR*);
48 typedef
HRESULT (FAR PASCAL *LPEAXDIRECTSOUNDCREATE)(GUID*, LPDIRECTSOUND*, IUnknown FAR*);
60 unsigned char Data4[8];
62 #endif // GUID_DEFINED
66 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
67 extern const GUID name
69 #define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8) \
70 extern const GUID name = { l, w1, w2, { b1, b2, b3, b4, b5, b6, b7, b8 } }
91 #define EAX_MAX_FXSLOTS 4
92 #define EAX_MAX_ACTIVE_FXSLOTS 2
102 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00);
111 0x86, 0x1b, 0xe6, 0xda, 0xa2, 0x5e, 0x7c, 0x20);
189 #ifndef EAX_OBSTRUCTIONPROPERTIES_DEFINED
190 #define EAX_OBSTRUCTIONPROPERTIES_DEFINED
199 #ifndef EAX_OCCLUSIONPROPERTIES_DEFINED
200 #define EAX_OCCLUSIONPROPERTIES_DEFINED
211 #ifndef EAX_EXCLUSIONPROPERTIES_DEFINED
212 #define EAX_EXCLUSIONPROPERTIES_DEFINED
267 #ifndef EAXVECTOR_DEFINED
268 #define EAXVECTOR_DEFINED
286 #define EAXERR_INVALID_OPERATION (-1)
287 #define EAXERR_INVALID_VALUE (-2)
288 #define EAXERR_NO_EFFECT_LOADED (-3)
289 #define EAXERR_UNKNOWN_EFFECT (-4)
303 0xa4, 0xc, 0x52, 0x36, 0x32, 0x29, 0x63, 0x42);
306 #define EAXPROPERTYID_EAX_Context EAXPROPERTYID_EAX40_Context
320 #define EAXCONTEXT_PARAMETER_IMMEDIATE 0x00000000 // changes take effect immediately
321 #define EAXCONTEXT_PARAMETER_DEFER 0x80000000 // changes take effect later
322 #define EAXCONTEXT_PARAMETER_COMMITDEFERREDSETTINGS (EAXCONTEXT_NONE | \
323 EAXCONTEXT_PARAMETER_IMMEDIATE)
326 #define EAXCONTEXT_DEFAULTPRIMARYFXSLOTID EAXPROPERTYID_EAX40_FXSlot0
328 #define EAXCONTEXT_MINDISTANCEFACTOR FLT_MIN //minimum positive value
329 #define EAXCONTEXT_MAXDISTANCEFACTOR FLT_MAX
330 #define EAXCONTEXT_DEFAULTDISTANCEFACTOR 1.0f
332 #define EAXCONTEXT_MINAIRABSORPTIONHF (-100.0f)
333 #define EAXCONTEXT_MAXAIRABSORPTIONHF 0.0f
334 #define EAXCONTEXT_DEFAULTAIRABSORPTIONHF (-5.0f)
336 #define EAXCONTEXT_MINHFREFERENCE 1000.0f
337 #define EAXCONTEXT_MAXHFREFERENCE 20000.0f
338 #define EAXCONTEXT_DEFAULTHFREFERENCE 5000.0f
340 #define EAXCONTEXT_DEFAULTLASTERROR EAX_OK
355 0xa8, 0x1d, 0xa7, 0x38, 0xe7, 0x4, 0x54, 0x69);
362 0x93, 0xaa, 0xe8, 0xad, 0x35, 0xa4, 0x91, 0x17);
369 0x91, 0x9f, 0x60, 0xe7, 0xe0, 0x6b, 0x5e, 0xdd);
376 0x93, 0xad, 0x6d, 0xbd, 0x5f, 0x91, 0x0, 0x64);
379 #define EAXPROPERTYID_EAX_FXSlot0 EAXPROPERTYID_EAX40_FXSlot0
380 #define EAXPROPERTYID_EAX_FXSlot1 EAXPROPERTYID_EAX40_FXSlot1
381 #define EAXPROPERTYID_EAX_FXSlot2 EAXPROPERTYID_EAX40_FXSlot2
382 #define EAXPROPERTYID_EAX_FXSlot3 EAXPROPERTYID_EAX40_FXSlot3
402 #define EAXFXSLOTFLAGS_ENVIRONMENT 0x00000001
403 #define EAXFXSLOTFLAGS_RESERVED 0xFFFFFFFE // reserved future use
406 #define EAXFXSLOT_MINVOLUME (-10000)
407 #define EAXFXSLOT_MAXVOLUME 0
408 #define EAXFXSLOT_DEFAULTVOLUME 0
410 #define EAXFXSLOT_MINLOCK 0
411 #define EAXFXSLOT_MAXLOCK 1
419 #define EAXFXSLOT_DEFAULTFLAGS (EAXFXSLOTFLAGS_ENVIRONMENT)
433 0x8b, 0x3c, 0x12, 0x78, 0xce, 0x54, 0x42, 0x27);
436 #define EAXPROPERTYID_EAX_Source EAXPROPERTYID_EAX40_Source
472 #define EAXSOURCE_PARAMETER_IMMEDIATE 0x00000000 // changes take effect immediately
473 #define EAXSOURCE_PARAMETER_DEFERRED 0x80000000 // changes take effect later
474 #define EAXSOURCE_PARAMETER_COMMITDEFERREDSETTINGS (EAXSOURCE_NONE | \
475 EAXSOURCE_PARAMETER_IMMEDIATE)
486 #define EAXSOURCEFLAGS_DIRECTHFAUTO 0x00000001 // relates to EAXSOURCE_DIRECTHF
487 #define EAXSOURCEFLAGS_ROOMAUTO 0x00000002 // relates to EAXSOURCE_ROOM
488 #define EAXSOURCEFLAGS_ROOMHFAUTO 0x00000004 // relates to EAXSOURCE_ROOMHF
489 #define EAXSOURCEFLAGS_RESERVED 0xFFFFFFF8 // reserved future use
492 #define EAXSOURCE_MINSEND (-10000)
493 #define EAXSOURCE_MAXSEND 0
494 #define EAXSOURCE_DEFAULTSEND 0
496 #define EAXSOURCE_MINSENDHF (-10000)
497 #define EAXSOURCE_MAXSENDHF 0
498 #define EAXSOURCE_DEFAULTSENDHF 0
500 #define EAXSOURCE_MINDIRECT (-10000)
501 #define EAXSOURCE_MAXDIRECT 1000
502 #define EAXSOURCE_DEFAULTDIRECT 0
504 #define EAXSOURCE_MINDIRECTHF (-10000)
505 #define EAXSOURCE_MAXDIRECTHF 0
506 #define EAXSOURCE_DEFAULTDIRECTHF 0
508 #define EAXSOURCE_MINROOM (-10000)
509 #define EAXSOURCE_MAXROOM 1000
510 #define EAXSOURCE_DEFAULTROOM 0
512 #define EAXSOURCE_MINROOMHF (-10000)
513 #define EAXSOURCE_MAXROOMHF 0
514 #define EAXSOURCE_DEFAULTROOMHF 0
516 #define EAXSOURCE_MINOBSTRUCTION (-10000)
517 #define EAXSOURCE_MAXOBSTRUCTION 0
518 #define EAXSOURCE_DEFAULTOBSTRUCTION 0
520 #define EAXSOURCE_MINOBSTRUCTIONLFRATIO 0.0f
521 #define EAXSOURCE_MAXOBSTRUCTIONLFRATIO 1.0f
522 #define EAXSOURCE_DEFAULTOBSTRUCTIONLFRATIO 0.0f
524 #define EAXSOURCE_MINOCCLUSION (-10000)
525 #define EAXSOURCE_MAXOCCLUSION 0
526 #define EAXSOURCE_DEFAULTOCCLUSION 0
528 #define EAXSOURCE_MINOCCLUSIONLFRATIO 0.0f
529 #define EAXSOURCE_MAXOCCLUSIONLFRATIO 1.0f
530 #define EAXSOURCE_DEFAULTOCCLUSIONLFRATIO 0.25f
532 #define EAXSOURCE_MINOCCLUSIONROOMRATIO 0.0f
533 #define EAXSOURCE_MAXOCCLUSIONROOMRATIO 10.0f
534 #define EAXSOURCE_DEFAULTOCCLUSIONROOMRATIO 1.5f
536 #define EAXSOURCE_MINOCCLUSIONDIRECTRATIO 0.0f
537 #define EAXSOURCE_MAXOCCLUSIONDIRECTRATIO 10.0f
538 #define EAXSOURCE_DEFAULTOCCLUSIONDIRECTRATIO 1.0f
540 #define EAXSOURCE_MINEXCLUSION (-10000)
541 #define EAXSOURCE_MAXEXCLUSION 0
542 #define EAXSOURCE_DEFAULTEXCLUSION 0
544 #define EAXSOURCE_MINEXCLUSIONLFRATIO 0.0f
545 #define EAXSOURCE_MAXEXCLUSIONLFRATIO 1.0f
546 #define EAXSOURCE_DEFAULTEXCLUSIONLFRATIO 1.0f
548 #define EAXSOURCE_MINOUTSIDEVOLUMEHF (-10000)
549 #define EAXSOURCE_MAXOUTSIDEVOLUMEHF 0
550 #define EAXSOURCE_DEFAULTOUTSIDEVOLUMEHF 0
552 #define EAXSOURCE_MINDOPPLERFACTOR 0.0f
553 #define EAXSOURCE_MAXDOPPLERFACTOR 10.f
554 #define EAXSOURCE_DEFAULTDOPPLERFACTOR 1.0f
556 #define EAXSOURCE_MINROLLOFFFACTOR 0.0f
557 #define EAXSOURCE_MAXROLLOFFFACTOR 10.f
558 #define EAXSOURCE_DEFAULTROLLOFFFACTOR 0.0f
560 #define EAXSOURCE_MINROOMROLLOFFFACTOR 0.0f
561 #define EAXSOURCE_MAXROOMROLLOFFFACTOR 10.f
562 #define EAXSOURCE_DEFAULTROOMROLLOFFFACTOR 0.0f
564 #define EAXSOURCE_MINAIRABSORPTIONFACTOR 0.0f
565 #define EAXSOURCE_MAXAIRABSORPTIONFACTOR 10.0f
566 #define EAXSOURCE_DEFAULTAIRABSORPTIONFACTOR 0.0f
568 #define EAXSOURCE_DEFAULTFLAGS (EAXSOURCEFLAGS_DIRECTHFAUTO | \
569 EAXSOURCEFLAGS_ROOMAUTO | \
570 EAXSOURCEFLAGS_ROOMHFAUTO )
572 #define EAXSOURCE_DEFAULTACTIVEFXSLOTID {{ EAX_NULL_GUID.Data1, EAX_NULL_GUID.Data2, EAX_NULL_GUID.Data3, \
573 EAX_NULL_GUID.Data4[0],EAX_NULL_GUID.Data4[1],EAX_NULL_GUID.Data4[2],\
574 EAX_NULL_GUID.Data4[3],EAX_NULL_GUID.Data4[4],EAX_NULL_GUID.Data4[5],\
575 EAX_NULL_GUID.Data4[6],EAX_NULL_GUID.Data4[7] }, \
576 { EAX_PrimaryFXSlotID.Data1, EAX_PrimaryFXSlotID.Data2, \
577 EAX_PrimaryFXSlotID.Data3, EAX_PrimaryFXSlotID.Data4[0],\
578 EAX_PrimaryFXSlotID.Data4[1],EAX_PrimaryFXSlotID.Data4[2],\
579 EAX_PrimaryFXSlotID.Data4[3],EAX_PrimaryFXSlotID.Data4[4],\
580 EAX_PrimaryFXSlotID.Data4[5],EAX_PrimaryFXSlotID.Data4[6],\
581 EAX_PrimaryFXSlotID.Data4[7] }}
597 0xb0, 0xb6, 0x83, 0x2e, 0xcc, 0x18, 0x22, 0xdf);
631 #define EAXREVERB_IMMEDIATE 0x00000000 // changes take effect immediately
632 #define EAXREVERB_DEFERRED 0x80000000 // changes take effect later
633 #define EAXREVERB_COMMITDEFERREDSETTINGS (EAXREVERB_NONE | \
637 #ifndef EAX_ENVIRONMENTS_DEFINED
638 #define EAX_ENVIRONMENTS_DEFINED
683 #define EAXREVERBFLAGS_DECAYTIMESCALE 0x00000001 // reverberation decay time
684 #define EAXREVERBFLAGS_REFLECTIONSSCALE 0x00000002 // reflection level
685 #define EAXREVERBFLAGS_REFLECTIONSDELAYSCALE 0x00000004 // initial reflection delay time
686 #define EAXREVERBFLAGS_REVERBSCALE 0x00000008 // reflections level
687 #define EAXREVERBFLAGS_REVERBDELAYSCALE 0x00000010 // late reverberation delay time
688 #define EAXREVERBFLAGS_ECHOTIMESCALE 0x00000040 // echo time
689 #define EAXREVERBFLAGS_MODULATIONTIMESCALE 0x00000080 // modulation time
691 #define EAXREVERBFLAGS_DECAYHFLIMIT 0x00000020
692 #define EAXREVERBFLAGS_RESERVED 0xFFFFFF00 // reserved future use
738 #define EAXREVERB_MINENVIRONMENT 0
739 #define EAXREVERB_MAXENVIRONMENT (EAX_ENVIRONMENT_COUNT-1)
740 #define EAXREVERB_DEFAULTENVIRONMENT EAX_ENVIRONMENT_GENERIC
742 #define EAXREVERB_MINENVIRONMENTSIZE 1.0f
743 #define EAXREVERB_MAXENVIRONMENTSIZE 100.0f
744 #define EAXREVERB_DEFAULTENVIRONMENTSIZE 7.5f
746 #define EAXREVERB_MINENVIRONMENTDIFFUSION 0.0f
747 #define EAXREVERB_MAXENVIRONMENTDIFFUSION 1.0f
748 #define EAXREVERB_DEFAULTENVIRONMENTDIFFUSION 1.0f
750 #define EAXREVERB_MINROOM (-10000)
751 #define EAXREVERB_MAXROOM 0
752 #define EAXREVERB_DEFAULTROOM (-1000)
754 #define EAXREVERB_MINROOMHF (-10000)
755 #define EAXREVERB_MAXROOMHF 0
756 #define EAXREVERB_DEFAULTROOMHF (-100)
758 #define EAXREVERB_MINROOMLF (-10000)
759 #define EAXREVERB_MAXROOMLF 0
760 #define EAXREVERB_DEFAULTROOMLF 0
762 #define EAXREVERB_MINDECAYTIME 0.1f
763 #define EAXREVERB_MAXDECAYTIME 20.0f
764 #define EAXREVERB_DEFAULTDECAYTIME 1.49f
766 #define EAXREVERB_MINDECAYHFRATIO 0.1f
767 #define EAXREVERB_MAXDECAYHFRATIO 2.0f
768 #define EAXREVERB_DEFAULTDECAYHFRATIO 0.83f
770 #define EAXREVERB_MINDECAYLFRATIO 0.1f
771 #define EAXREVERB_MAXDECAYLFRATIO 2.0f
772 #define EAXREVERB_DEFAULTDECAYLFRATIO 1.00f
774 #define EAXREVERB_MINREFLECTIONS (-10000)
775 #define EAXREVERB_MAXREFLECTIONS 1000
776 #define EAXREVERB_DEFAULTREFLECTIONS (-2602)
778 #define EAXREVERB_MINREFLECTIONSDELAY 0.0f
779 #define EAXREVERB_MAXREFLECTIONSDELAY 0.3f
780 #define EAXREVERB_DEFAULTREFLECTIONSDELAY 0.007f
782 #define EAXREVERB_DEFAULTREFLECTIONSPAN {0.0f, 0.0f, 0.0f}
784 #define EAXREVERB_MINREVERB (-10000)
785 #define EAXREVERB_MAXREVERB 2000
786 #define EAXREVERB_DEFAULTREVERB 200
788 #define EAXREVERB_MINREVERBDELAY 0.0f
789 #define EAXREVERB_MAXREVERBDELAY 0.1f
790 #define EAXREVERB_DEFAULTREVERBDELAY 0.011f
792 #define EAXREVERB_DEFAULTREVERBPAN {0.0f, 0.0f, 0.0f}
794 #define EAXREVERB_MINECHOTIME 0.075f
795 #define EAXREVERB_MAXECHOTIME 0.25f
796 #define EAXREVERB_DEFAULTECHOTIME 0.25f
798 #define EAXREVERB_MINECHODEPTH 0.0f
799 #define EAXREVERB_MAXECHODEPTH 1.0f
800 #define EAXREVERB_DEFAULTECHODEPTH 0.0f
802 #define EAXREVERB_MINMODULATIONTIME 0.04f
803 #define EAXREVERB_MAXMODULATIONTIME 4.0f
804 #define EAXREVERB_DEFAULTMODULATIONTIME 0.25f
806 #define EAXREVERB_MINMODULATIONDEPTH 0.0f
807 #define EAXREVERB_MAXMODULATIONDEPTH 1.0f
808 #define EAXREVERB_DEFAULTMODULATIONDEPTH 0.0f
810 #define EAXREVERB_MINAIRABSORPTIONHF (-100.0f)
811 #define EAXREVERB_MAXAIRABSORPTIONHF 0.0f
812 #define EAXREVERB_DEFAULTAIRABSORPTIONHF (-5.0f)
814 #define EAXREVERB_MINHFREFERENCE 1000.0f
815 #define EAXREVERB_MAXHFREFERENCE 20000.0f
816 #define EAXREVERB_DEFAULTHFREFERENCE 5000.0f
818 #define EAXREVERB_MINLFREFERENCE 20.0f
819 #define EAXREVERB_MAXLFREFERENCE 1000.0f
820 #define EAXREVERB_DEFAULTLFREFERENCE 250.0f
822 #define EAXREVERB_MINROOMROLLOFFFACTOR 0.0f
823 #define EAXREVERB_MAXROOMROLLOFFFACTOR 10.0f
824 #define EAXREVERB_DEFAULTROOMROLLOFFFACTOR 0.0f
826 #define EAXREVERB_DEFAULTFLAGS (EAXREVERBFLAGS_DECAYTIMESCALE | \
827 EAXREVERBFLAGS_REFLECTIONSSCALE | \
828 EAXREVERBFLAGS_REFLECTIONSDELAYSCALE | \
829 EAXREVERBFLAGS_REVERBSCALE | \
830 EAXREVERBFLAGS_REVERBDELAYSCALE | \
831 EAXREVERBFLAGS_DECAYHFLIMIT)
853 0x92, 0x7f, 0x3, 0xaa, 0xbd, 0xa0, 0xc5, 0x60);
864 #define EAXAGCCOMPRESSOR_IMMEDIATE 0x00000000 // changes take effect immediately
865 #define EAXAGCCOMPRESSOR_DEFERRED 0x80000000 // changes take effect later
866 #define EAXAGCCOMPRESSOR_COMMITDEFERREDSETTINGS (EAXAGCCOMPRESSOR_NONE | \
867 EAXAGCCOMPRESSOR_IMMEDIATE)
877 #define EAXAGCCOMPRESSOR_MINONOFF 0
878 #define EAXAGCCOMPRESSOR_MAXONOFF 1
879 #define EAXAGCCOMPRESSOR_DEFAULTONOFF 1
892 0x88, 0xdd, 0x0, 0xa0, 0x24, 0xd1, 0x3c, 0xe1);
906 #define EAXAUTOWAH_IMMEDIATE 0x00000000 // changes take effect immediately
907 #define EAXAUTOWAH_DEFERRED 0x80000000 // changes take effect later
908 #define EAXAUTOWAH_COMMITDEFERREDSETTINGS (EAXAUTOWAH_NONE | \
909 EAXAUTOWAH_IMMEDIATE)
922 #define EAXAUTOWAH_MINATTACKTIME 0.0001f
923 #define EAXAUTOWAH_MAXATTACKTIME 1.0f
924 #define EAXAUTOWAH_DEFAULTATTACKTIME 0.06f
926 #define EAXAUTOWAH_MINRELEASETIME 0.0001f
927 #define EAXAUTOWAH_MAXRELEASETIME 1.0f
928 #define EAXAUTOWAH_DEFAULTRELEASETIME 0.06f
930 #define EAXAUTOWAH_MINRESONANCE 600
931 #define EAXAUTOWAH_MAXRESONANCE 6000
932 #define EAXAUTOWAH_DEFAULTRESONANCE 6000
934 #define EAXAUTOWAH_MINPEAKLEVEL (-9000)
935 #define EAXAUTOWAH_MAXPEAKLEVEL 9000
936 #define EAXAUTOWAH_DEFAULTPEAKLEVEL 2100
950 0x88, 0xdd, 0x0, 0xa0, 0x24, 0xd1, 0x3c, 0xe1);
967 #define EAXCHORUS_IMMEDIATE 0x00000000 // changes take effect immediately
968 #define EAXCHORUS_DEFERRED 0x80000000 // changes take effect later
969 #define EAXCHORUS_COMMITDEFERREDSETTINGS (EAXCHORUS_NONE | \
992 #define EAXCHORUS_MINWAVEFORM 0
993 #define EAXCHORUS_MAXWAVEFORM 1
994 #define EAXCHORUS_DEFAULTWAVEFORM 1
996 #define EAXCHORUS_MINPHASE (-180)
997 #define EAXCHORUS_MAXPHASE 180
998 #define EAXCHORUS_DEFAULTPHASE 90
1000 #define EAXCHORUS_MINRATE 0.0f
1001 #define EAXCHORUS_MAXRATE 10.0f
1002 #define EAXCHORUS_DEFAULTRATE 1.1f
1004 #define EAXCHORUS_MINDEPTH 0.0f
1005 #define EAXCHORUS_MAXDEPTH 1.0f
1006 #define EAXCHORUS_DEFAULTDEPTH 0.1f
1008 #define EAXCHORUS_MINFEEDBACK (-1.0f)
1009 #define EAXCHORUS_MAXFEEDBACK 1.0f
1010 #define EAXCHORUS_DEFAULTFEEDBACK 0.25f
1012 #define EAXCHORUS_MINDELAY 0.0f
1013 #define EAXCHORUS_MAXDELAY 0.016f
1014 #define EAXCHORUS_DEFAULTDELAY 0.016f
1028 0x88, 0xdd, 0x0, 0xa0, 0x24, 0xd1, 0x3c, 0xe1);
1043 #define EAXDISTORTION_IMMEDIATE 0x00000000 // changes take effect immediately
1044 #define EAXDISTORTION_DEFERRED 0x80000000 // changes take effect later
1045 #define EAXDISTORTION_COMMITDEFERREDSETTINGS (EAXDISTORTION_NONE | \
1046 EAXDISTORTION_IMMEDIATE)
1060 #define EAXDISTORTION_MINEDGE 0.0f
1061 #define EAXDISTORTION_MAXEDGE 1.0f
1062 #define EAXDISTORTION_DEFAULTEDGE 0.2f
1064 #define EAXDISTORTION_MINGAIN (-6000)
1065 #define EAXDISTORTION_MAXGAIN 0
1066 #define EAXDISTORTION_DEFAULTGAIN (-2600)
1068 #define EAXDISTORTION_MINLOWPASSCUTOFF 80.0f
1069 #define EAXDISTORTION_MAXLOWPASSCUTOFF 24000.0f
1070 #define EAXDISTORTION_DEFAULTLOWPASSCUTOFF 8000.0f
1072 #define EAXDISTORTION_MINEQCENTER 80.0f
1073 #define EAXDISTORTION_MAXEQCENTER 24000.0f
1074 #define EAXDISTORTION_DEFAULTEQCENTER 3600.0f
1076 #define EAXDISTORTION_MINEQBANDWIDTH 80.0f
1077 #define EAXDISTORTION_MAXEQBANDWIDTH 24000.0f
1078 #define EAXDISTORTION_DEFAULTEQBANDWIDTH 3600.0f
1092 0x88, 0xdd, 0x0, 0xa0, 0x24, 0xd1, 0x3c, 0xe1);
1107 #define EAXECHO_IMMEDIATE 0x00000000 // changes take effect immediately
1108 #define EAXECHO_DEFERRED 0x80000000 // changes take effect later
1109 #define EAXECHO_COMMITDEFERREDSETTINGS (EAXECHO_NONE | \
1124 #define EAXECHO_MINDAMPING 0.0f
1125 #define EAXECHO_MAXDAMPING 0.99f
1126 #define EAXECHO_DEFAULTDAMPING 0.5f
1128 #define EAXECHO_MINDELAY 0.0f
1129 #define EAXECHO_MAXDELAY 0.207f
1130 #define EAXECHO_DEFAULTDELAY 0.1f
1132 #define EAXECHO_MINLRDELAY 0.0f
1133 #define EAXECHO_MAXLRDELAY 0.404f
1134 #define EAXECHO_DEFAULTLRDELAY 0.1f
1136 #define EAXECHO_MINFEEDBACK 0.0f
1137 #define EAXECHO_MAXFEEDBACK 1.0f
1138 #define EAXECHO_DEFAULTFEEDBACK 0.5f
1140 #define EAXECHO_MINSPREAD (-1.0f)
1141 #define EAXECHO_MAXSPREAD 1.0f
1142 #define EAXECHO_DEFAULTSPREAD (-1.0f)
1156 0x93, 0x9d, 0x0, 0xc0, 0xf0, 0x2d, 0xd6, 0xf0);
1177 #define EAXEQUALIZER_IMMEDIATE 0x00000000 // changes take effect immediately
1178 #define EAXEQUALIZER_DEFERRED 0x80000000 // changes take effect later
1179 #define EAXEQUALIZER_COMMITDEFERREDSETTINGS (EAXEQUALIZER_NONE | \
1180 EAXEQUALIZER_IMMEDIATE)
1199 #define EAXEQUALIZER_MINLOWGAIN (-1800)
1200 #define EAXEQUALIZER_MAXLOWGAIN 1800
1201 #define EAXEQUALIZER_DEFAULTLOWGAIN 0
1203 #define EAXEQUALIZER_MINLOWCUTOFF 50.0f
1204 #define EAXEQUALIZER_MAXLOWCUTOFF 800.0f
1205 #define EAXEQUALIZER_DEFAULTLOWCUTOFF 200.0f
1207 #define EAXEQUALIZER_MINMID1GAIN (-1800)
1208 #define EAXEQUALIZER_MAXMID1GAIN 1800
1209 #define EAXEQUALIZER_DEFAULTMID1GAIN 0
1211 #define EAXEQUALIZER_MINMID1CENTER 200.0f
1212 #define EAXEQUALIZER_MAXMID1CENTER 3000.0f
1213 #define EAXEQUALIZER_DEFAULTMID1CENTER 500.0f
1215 #define EAXEQUALIZER_MINMID1WIDTH 0.01f
1216 #define EAXEQUALIZER_MAXMID1WIDTH 1.0f
1217 #define EAXEQUALIZER_DEFAULTMID1WIDTH 1.0f
1219 #define EAXEQUALIZER_MINMID2GAIN (-1800)
1220 #define EAXEQUALIZER_MAXMID2GAIN 1800
1221 #define EAXEQUALIZER_DEFAULTMID2GAIN 0
1223 #define EAXEQUALIZER_MINMID2CENTER 1000.0f
1224 #define EAXEQUALIZER_MAXMID2CENTER 8000.0f
1225 #define EAXEQUALIZER_DEFAULTMID2CENTER 3000.0f
1227 #define EAXEQUALIZER_MINMID2WIDTH 0.01f
1228 #define EAXEQUALIZER_MAXMID2WIDTH 1.0f
1229 #define EAXEQUALIZER_DEFAULTMID2WIDTH 1.0f
1231 #define EAXEQUALIZER_MINHIGHGAIN (-1800)
1232 #define EAXEQUALIZER_MAXHIGHGAIN 1800
1233 #define EAXEQUALIZER_DEFAULTHIGHGAIN 0
1235 #define EAXEQUALIZER_MINHIGHCUTOFF 4000.0f
1236 #define EAXEQUALIZER_MAXHIGHCUTOFF 16000.0f
1237 #define EAXEQUALIZER_DEFAULTHIGHCUTOFF 6000.0f
1251 0x9b, 0x1e, 0x0, 0xa0, 0x24, 0xd1, 0x3c, 0xe1);
1267 #define EAXFLANGER_IMMEDIATE 0x00000000 // changes take effect immediately
1268 #define EAXFLANGER_DEFERRED 0x80000000 // changes take effect later
1269 #define EAXFLANGER_COMMITDEFERREDSETTINGS (EAXFLANGER_NONE | \
1270 EAXFLANGER_IMMEDIATE)
1292 #define EAXFLANGER_MINWAVEFORM 0
1293 #define EAXFLANGER_MAXWAVEFORM 1
1294 #define EAXFLANGER_DEFAULTWAVEFORM 1
1296 #define EAXFLANGER_MINPHASE (-180)
1297 #define EAXFLANGER_MAXPHASE 180
1298 #define EAXFLANGER_DEFAULTPHASE 0
1300 #define EAXFLANGER_MINRATE 0.0f
1301 #define EAXFLANGER_MAXRATE 10.0f
1302 #define EAXFLANGER_DEFAULTRATE 0.27f
1304 #define EAXFLANGER_MINDEPTH 0.0f
1305 #define EAXFLANGER_MAXDEPTH 1.0f
1306 #define EAXFLANGER_DEFAULTDEPTH 1.0f
1308 #define EAXFLANGER_MINFEEDBACK (-1.0f)
1309 #define EAXFLANGER_MAXFEEDBACK 1.0f
1310 #define EAXFLANGER_DEFAULTFEEDBACK (-0.5f)
1312 #define EAXFLANGER_MINDELAY 0.0f
1313 #define EAXFLANGER_MAXDELAY 0.004f
1314 #define EAXFLANGER_DEFAULTDELAY 0.002f
1328 0x93, 0x9d, 0x0, 0xc0, 0xf0, 0x2d, 0xd6, 0xf0);
1341 #define EAXFREQUENCYSHIFTER_IMMEDIATE 0x00000000 // changes take effect immediately
1342 #define EAXFREQUENCYSHIFTER_DEFERRED 0x80000000 // changes take effect later
1343 #define EAXFREQUENCYSHIFTER_COMMITDEFERREDSETTINGS (EAXFREQUENCYSHIFTER_NONE | \
1344 EAXFREQUENCYSHIFTER_IMMEDIATE)
1364 #define EAXFREQUENCYSHIFTER_MINFREQUENCY 0.0f
1365 #define EAXFREQUENCYSHIFTER_MAXFREQUENCY 24000.0f
1366 #define EAXFREQUENCYSHIFTER_DEFAULTFREQUENCY 0.0f
1368 #define EAXFREQUENCYSHIFTER_MINLEFTDIRECTION 0
1369 #define EAXFREQUENCYSHIFTER_MAXLEFTDIRECTION 2
1370 #define EAXFREQUENCYSHIFTER_DEFAULTLEFTDIRECTION 0
1372 #define EAXFREQUENCYSHIFTER_MINRIGHTDIRECTION 0
1373 #define EAXFREQUENCYSHIFTER_MAXRIGHTDIRECTION 2
1374 #define EAXFREQUENCYSHIFTER_DEFAULTRIGHTDIRECTION 0
1388 0x88, 0xdd, 0x0, 0xa0, 0x24, 0xd1, 0x3c, 0xe1);
1404 #define EAXVOCALMORPHER_IMMEDIATE 0x00000000 // changes take effect immediately
1405 #define EAXVOCALMORPHER_DEFERRED 0x80000000 // changes take effect later
1406 #define EAXVOCALMORPHER_COMMITDEFERREDSETTINGS (EAXVOCALMORPHER_NONE | \
1407 EAXVOCALMORPHER_IMMEDIATE)
1412 A,
E,
I,
O,
U,
AA,
AE,
AH,
AO,
EH,
ER,
IH,
IY,
UH,
UW,
B,
D,
F,
G,
1413 J,
K,
L,
M,
N,
P,
R,
S,
T,
V,
Z
1437 #define EAXVOCALMORPHER_MINPHONEMEA 0
1438 #define EAXVOCALMORPHER_MAXPHONEMEA 29
1439 #define EAXVOCALMORPHER_DEFAULTPHONEMEA 0
1441 #define EAXVOCALMORPHER_MINPHONEMEACOARSETUNING (-24)
1442 #define EAXVOCALMORPHER_MAXPHONEMEACOARSETUNING 24
1443 #define EAXVOCALMORPHER_DEFAULTPHONEMEACOARSETUNING 0
1445 #define EAXVOCALMORPHER_MINPHONEMEB 0
1446 #define EAXVOCALMORPHER_MAXPHONEMEB 29
1447 #define EAXVOCALMORPHER_DEFAULTPHONEMEB 10
1449 #define EAXVOCALMORPHER_MINPHONEMEBCOARSETUNING (-24)
1450 #define EAXVOCALMORPHER_MAXPHONEMEBCOARSETUNING 24
1451 #define EAXVOCALMORPHER_DEFAULTPHONEMEBCOARSETUNING 0
1453 #define EAXVOCALMORPHER_MINWAVEFORM 0
1454 #define EAXVOCALMORPHER_MAXWAVEFORM 2
1455 #define EAXVOCALMORPHER_DEFAULTWAVEFORM 0
1457 #define EAXVOCALMORPHER_MINRATE 0.0f
1458 #define EAXVOCALMORPHER_MAXRATE 10.0f
1459 #define EAXVOCALMORPHER_DEFAULTRATE 1.41f
1473 0x88, 0xdd, 0x0, 0xa0, 0x24, 0xd1, 0x3c, 0xe1);
1485 #define EAXPITCHSHIFTER_IMMEDIATE 0x00000000 // changes take effect immediately
1486 #define EAXPITCHSHIFTER_DEFERRED 0x80000000 // changes take effect later
1487 #define EAXPITCHSHIFTER_COMMITDEFERREDSETTINGS (EAXPITCHSHIFTER_NONE | \
1488 EAXPITCHSHIFTER_IMMEDIATE)
1499 #define EAXPITCHSHIFTER_MINCOARSETUNE (-12)
1500 #define EAXPITCHSHIFTER_MAXCOARSETUNE 12
1501 #define EAXPITCHSHIFTER_DEFAULTCOARSETUNE 12
1503 #define EAXPITCHSHIFTER_MINFINETUNE (-50)
1504 #define EAXPITCHSHIFTER_MAXFINETUNE 50
1505 #define EAXPITCHSHIFTER_DEFAULTFINETUNE 0
1519 0x88, 0xdd, 0x0, 0xa0, 0x24, 0xd1, 0x3c, 0xe1);
1532 #define EAXRINGMODULATOR_IMMEDIATE 0x00000000 // changes take effect immediately
1533 #define EAXRINGMODULATOR_DEFERRED 0x80000000 // changes take effect later
1534 #define EAXRINGMODULATOR_COMMITDEFERREDSETTINGS (EAXRINGMODULATOR_NONE | \
1535 EAXRINGMODULATOR_IMMEDIATE)
1555 #define EAXRINGMODULATOR_MINFREQUENCY 0.0f
1556 #define EAXRINGMODULATOR_MAXFREQUENCY 8000.0f
1557 #define EAXRINGMODULATOR_DEFAULTFREQUENCY 440.0f
1559 #define EAXRINGMODULATOR_MINHIGHPASSCUTOFF 0.0f
1560 #define EAXRINGMODULATOR_MAXHIGHPASSCUTOFF 24000.0f
1561 #define EAXRINGMODULATOR_DEFAULTHIGHPASSCUTOFF 800.0f
1563 #define EAXRINGMODULATOR_MINWAVEFORM 0
1564 #define EAXRINGMODULATOR_MAXWAVEFORM 2
1565 #define EAXRINGMODULATOR_DEFAULTWAVEFORM 0
1573 #endif // __cplusplus
struct _EAXFLANGERPROPERTIES * LPEAXFLANGERPROPERTIES
float flOcclusionRoomRatio
struct _EAXSOURCEPROPERTIES * LPEAXSOURCEPROPERTIES
struct _EAXEXCLUSIONPROPERTIES EAXEXCLUSIONPROPERTIES
struct _EAXAGCCOMPRESSORPROPERTIES EAXAGCCOMPRESSORPROPERTIES
int ALint
OpenAL 32bit signed integer type.
struct _EAXCONTEXTPROPERTIES * LPEAXCONTEXTPROPERTIES
struct _EAXOBSTRUCTIONPROPERTIES EAXOBSTRUCTIONPROPERTIES
struct _EAXECHOPROPERTIES EAXECHOPROPERTIES
EAXRINGMODULATOR_PROPERTY
struct _EAXFXSLOTPROPERTIES * LPEAXFXSLOTPROPERTIES
struct _EAXCONTEXTPROPERTIES EAXCONTEXTPROPERTIES
float flOcclusionRoomRatio
float flOcclusionRoomRatio
struct _EAXRINGMODULATORPROPERTIES EAXRINGMODULATORPROPERTIES
struct _EAXFXSLOTPROPERTIES EAXFXSLOTPROPERTIES
unsigned long ulRightDirection
float flOcclusionDirectRatio
struct _EAXREVERBPROPERTIES * LPEAXREVERBPROPERTIES
float flEnvironmentDiffusion
GUID guidReceivingFXSlotID
LPDIRECTSOUND IUnknown FAR *typedef HRESULT(FAR PASCAL *LPEAXDIRECTSOUNDCREATE)(GUID *
struct _EAXEXCLUSIONPROPERTIES * LPEAXEXCLUSIONPROPERTIES
struct _EAXSOURCEALLSENDPROPERTIES * LPEAXSOURCEALLSENDPROPERTIES
struct _EAXDISTORTIONPROPERTIES * LPEAXDISTORTIONPROPERTIES
struct _EAXFLANGERPROPERTIES EAXFLANGERPROPERTIES
#define EAX_MAX_ACTIVE_FXSLOTS
struct _EAXCHORUSPROPERTIES EAXCHORUSPROPERTIES
struct _EAXECHOPROPERTIES * LPEAXECHOPROPERTIES
unsigned long ulEnvironment
struct _EAXSOURCEOCCLUSIONSENDPROPERTIES * LPEAXSOURCEOCCLUSIONSENDPROPERTIES
EAXVECTOR vReflectionsPan
struct _EAXACTIVEFXSLOTS EAXACTIVEFXSLOTS
struct _EAXDISTORTIONPROPERTIES EAXDISTORTIONPROPERTIES
unsigned ALuint
OpenAL 32bit unsigned integer type.
long lPhonemeBCoarseTuning
struct _EAXSOURCESENDPROPERTIES * LPEAXSOURCESENDPROPERTIES
unsigned int ALsizei
OpenAL 32bit type.
struct _EAXOBSTRUCTIONPROPERTIES * LPEAXOBSTRUCTIONPROPERTIES
struct _EAXAUTOWAHPROPERTIES EAXAUTOWAHPROPERTIES
char ALboolean
OpenAL cross platform audio library Copyright (C) 1999-2000 by authors.
struct _EAXOCCLUSIONPROPERTIES EAXOCCLUSIONPROPERTIES
struct _EAXEQUALIZERPROPERTIES * LPEAXEQUALIZERPROPERTIES
struct _EAXVOCALMORPHERPROPERTIES * LPEAXVOCALMORPHERPROPERTIES
__declspec(dllimport) HRESULT WINAPI EAXDirectSoundCreate(GUID *
float flRoomRolloffFactor
struct _EAXAUTOWAHPROPERTIES * LPEAXAUTOWAHPROPERTIES
float flOcclusionDirectRatio
GUID guidReceivingFXSlotID
DEFINE_GUID(CLSID_EAXDirectSound, 0x4ff53b81, 0x1ce0, 0x11d3, 0xaa, 0xb8, 0x0, 0xa0, 0xc9, 0x59, 0x49, 0xd5)
float flRoomRolloffFactor
float flObstructionLFRatio
GUID guidActiveFXSlots[EAX_MAX_ACTIVE_FXSLOTS]
float flAirAbsorptionFactor
struct _EAXSOURCEEXCLUSIONSENDPROPERTIES EAXSOURCEEXCLUSIONSENDPROPERTIES
long lPhonemeACoarseTuning
struct _EAXSOURCEEXCLUSIONSENDPROPERTIES * LPEAXSOURCEEXCLUSIONSENDPROPERTIES
float flObstructionLFRatio
struct _EAXVECTOR EAXVECTOR
struct _EAXFREQUENCYSHIFTERPROPERTIES * LPEAXFREQUENCYSHIFTERPROPERTIES
struct _EAXFREQUENCYSHIFTERPROPERTIES EAXFREQUENCYSHIFTERPROPERTIES
struct _EAXACTIVEFXSLOTS * LPEAXACTIVEFXSLOTS
unsigned long ulLeftDirection
void ALvoid
OpenAL void type.
GUID guidReceivingFXSlotID
EAXFREQUENCYSHIFTER_PROPERTY
struct _EAXSOURCEOCCLUSIONSENDPROPERTIES EAXSOURCEOCCLUSIONSENDPROPERTIES
struct _EAXSOURCEPROPERTIES EAXSOURCEPROPERTIES
struct _EAXOCCLUSIONPROPERTIES * LPEAXOCCLUSIONPROPERTIES
struct _EAXAGCCOMPRESSORPROPERTIES * LPEAXAGCCOMPRESSORPROPERTIES
struct _EAXSOURCESENDPROPERTIES EAXSOURCESENDPROPERTIES
float flOcclusionDirectRatio
struct _EAXEQUALIZERPROPERTIES EAXEQUALIZERPROPERTIES
struct _EAXVOCALMORPHERPROPERTIES EAXVOCALMORPHERPROPERTIES
float flOcclusionRoomRatio
EAXAGCCOMPRESSOR_PROPERTY
struct _EAXRINGMODULATORPROPERTIES * LPEAXRINGMODULATORPROPERTIES
struct _EAXSOURCEALLSENDPROPERTIES EAXSOURCEALLSENDPROPERTIES
GUID guidReceivingFXSlotID
int ALenum
OpenAL enumerations.
struct _EAXCHORUSPROPERTIES * LPEAXCHORUSPROPERTIES
struct _EAXREVERBPROPERTIES EAXREVERBPROPERTIES
struct _EAXPITCHSHIFTERPROPERTIES * LPEAXPITCHSHIFTERPROPERTIES
struct _EAXPITCHSHIFTERPROPERTIES EAXPITCHSHIFTERPROPERTIES
float flOcclusionDirectRatio