[Openal] DirectSound3D and Eax2.0 doesn't seem to work

dpeacock at creativelabs.com dpeacock at creativelabs.com
Thu Mar 24 09:24:06 PST 2005




Hi,

Yes - that is strange.  The call to set the Room level to -10000 should
have removed all reverb.    Is that call returning AL_NO_ERROR ?   If you
would like to, then you can send me (privately off the list) your source
code and I'll try it here and I'll see what happens !

Dan

-------- Notice --------
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying or distribution of the message, or any
action taken by you in reliance on it, is prohibited and may be unlawful.
If you have received this message in error, please delete it and contact
the sender immediately. Thank you.



                                                                           
             Smirftsch at t-onlin                                             
             e.de                                                          
                                                                        To 
             03/23/2005 03:59          dpeacock at creativelabs.com,          
             AM                        openal at opensource.creative.com      
                                                                        cc 
                                                                           
                                                                   Subject 
                                       Re: [Openal] DirectSound3D and      
                                       Eax2.0 doesn't seem to work         
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




This is very weird. When using directsound it works fine, but when using
directsound3d the following setting results in a reverb effect almost
like "hangar"

introom is  ALint introom;

introom = -10000;
eaxSet(&DSPROPSETID_EAX20_ListenerProperties,
DSPROPERTY_EAXLISTENER_ROOM | DSPROPERTY_EAXLISTENER_IMMEDIATE, NULL,
&introom, sizeof(ALint));

i don't understand it, in the openal demo it does work for removing
hangar effect, but in the moment i try it myself it results in the
problem above.

Did i miss something ? Isnt there some "general option" to set
everything back to default, to unset any eax setting ?

To be sure it isnt simply my soundcard i ordered today an audigy- but
this is still very very strange to me :)

thanx,
Jochen

dpeacock at creativelabs.com schrieb:

>
>
>Hi,
>
>Sorry about the driver install troubles you had.
>
>Simply setting the Reverb Room level to -10000 is sufficient to remove the
>reverb (i.e. you don't need to set the environment to generic as well if
>you don't want to).
>
>The reverb settings should apply to all 3D Sources (i.e Sources playing
>mono buffers).   They won't apply to stereo sources.
>
>Can you try removing all the deferred flags just to check that that isn't
>causing any problems ?   Have you tried using the Open AL "wrapper" DLL
>instead of the "native" one ?   If you have installed Open AL using our
>installer, then you should have a file called "wrap_oal.dll" in your
>\windows\system32 folder.    If you rename this to openal32.dll and put in
>the appliation folder, then you will force this DLL to be used instead.
>
>Dan
>
>-------- Notice --------
>The information in this message is confidential and may be legally
>privileged.  It is intended solely for the addressee.  Access to this
>message by anyone else is unauthorized.  If you are not the intended
>recipient, any disclosure, copying or distribution of the message, or any
>action taken by you in reliance on it, is prohibited and may be unlawful.
>If you have received this message in error, please delete it and contact
>the sender immediately. Thank you.
>
>
>
>

>             Smirftsch at t-onlin

>             e.de

>             Sent by:                                                   To

>             openal-admin at open         openal at opensource.creative.com

>             source.creative.c                                          cc

>             om                        dpeacock at creativelabs.com

>                                                                   Subject

>                                       Re: [Openal] DirectSound3D and

>             03/16/2005 04:38          Eax2.0 doesn't seem to work

>             AM

>

>

>

>

>

>
>
>
>
>OK, update ;)
>
>I removed every driver, tried to install the livedrivepack again, which
>results in a failing wave device, uninstalling, re-installing didnt
>work, so i was forced to put the soundcard into another slot deleted the
>.inf files and installed then the livedriv package again. After that i
>suddenly had even Soundblaster Audigy as OpenAL device, and - eax was
>working, with the demo and with the eax samples provided by the SDK -
>but now for my application i have the following problem- when using
>directsound, the eax effects work fine, but when using ds3d it seems
>that the eax effects are only applied for one channel, which results in
>"its sometimes working"  but not globally - what do i have to use to
>make it working globaly with ds3d too ? here is what i made:
>
>to unset any eax setting:
>
> Env=0;
>         eaxSet(&DSPROPSETID_EAX20_ListenerProperties,
>DSPROPERTY_EAXLISTENER_ENVIRONMENT | DSPROPERTY_EAXLISTENER_DEFERRED,
>NULL, &Env, sizeof(ALuint));
>         Room = -10000;
>         eaxSet(&DSPROPSETID_EAX20_ListenerProperties,
>DSPROPERTY_EAXLISTENER_ROOM | DSPROPERTY_EAXLISTENER_IMMEDIATE,
>NULL,&Room, sizeof(ALint));
>
>         if ((error = alGetError()) != AL_NO_ERROR)
>         {
>            int strlength = lstrlenA((char *)alGetString(error));
>            BSTR bstrText = SysAllocStringLen(NULL, strlength);
>            MultiByteToWideChar(CP_ACP, 0, (char *)alGetString(error),
>strlength, bstrText, strlength);
>
>             debugf(TEXT("eaxSet EAXLISTENER_ROOM |
>EAXLISTENER_IMMEDIATE %s"), bstrText);
>           }
>
>to apply a new environment, f.e. water:
>
>
>Env = EAX_ENVIRONMENT_UNDERWATER;
>            environmentsize = 1.0; //water seems not to be very
>effective - since sound moves faster in water the room seems smaller.
>            environmentdiffusion = 0.0; //If you set a diffusion value
>of 0.0, the later reverberation sounds like a succession of distinct
>echoes.
>            eaxSet(&DSPROPSETID_EAX20_ListenerProperties,
>DSPROPERTY_EAXLISTENER_ENVIRONMENT | DSPROPERTY_EAXLISTENER_DEFERRED,
>            NULL, &Env, sizeof(ALuint));
>            eaxSet(&DSPROPSETID_EAX20_ListenerProperties,
>DSPROPERTY_EAXLISTENER_ENVIRONMENTDIFFUSION |
>DSPROPERTY_EAXLISTENER_DEFERRED,
>            NULL, &environmentdiffusion, sizeof(ALfloat));
>            eaxSet(&DSPROPSETID_EAX20_ListenerProperties,
>DSPROPERTY_EAXLISTENER_ENVIRONMENTSIZE | DSPROPERTY_EAXLISTENER_IMMEDIATE,
>            NULL, &environmentsize, sizeof(ALfloat));
>            debugf(TEXT("WATER IS WORKING"));
>
>
>another question, is the setting what i used to unset the eax ambient
>correct ? i didnt find a detailed explanation how to unset...?
>
>
>dpeacock at creativelabs.com schrieb:
>
>
>
>>Hi,
>>
>>Interesting !   EAX 2.0 must be working (at least partially) for the
>>alIsExtensionPresent("EAX2.0") call to succeed.   Can you determine if
any
>>EAX 2.0 calls are successful ?  If you have the Open AL SDK (from
>>Creative's website) then the OpenALDemo test application includes an EAX
>>test.   This allows you to apply the "Hangar" Reverb preset (remember to
>>commit this deferred call by pressing 'c' after applying the reverb).
>>
>>
>What
>
>
>>happens when you run this application ?
>>
>>Thanks,
>>
>>Dan
>>
>>-------- Notice --------
>>The information in this message is confidential and may be legally
>>privileged.  It is intended solely for the addressee.  Access to this
>>message by anyone else is unauthorized.  If you are not the intended
>>recipient, any disclosure, copying or distribution of the message, or any
>>action taken by you in reliance on it, is prohibited and may be unlawful.
>>If you have received this message in error, please delete it and contact
>>the sender immediately. Thank you.
>>
>>
>>
>>
>>
>>
>
>
>
>>            Smirftsch at t-onlin
>>
>>
>
>
>
>>            e.de
>>
>>
>
>
>
>>            Sent by:                                                   To
>>
>>
>
>
>
>>            openal-admin at open         Daniel PEACOCK
>>
>>
>
>
>
>>            source.creative.c         <dpeacock at creativelabs.com>,
>>
>>
>
>
>
>>            om                        openal at opensource.creative.com
>>
>>
>
>
>
>>                                                                       cc
>>
>>
>
>
>
>
>
>
>>            03/10/2005 11:14                                      Subject
>>
>>
>
>
>
>>            AM                        Re: [Openal] DirectSound3D and
>>
>>
>
>
>
>>                                      Eax2.0 doesn't seem to work
>>
>>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>>
>>
>>Hello Dan !
>>
>>yes, latest drivers are installed, double checked with the version at
>>creative hp. The extension call is successfull, no error, slider is set
>>to full.
>>Running a  fresh Win2k, no other problems with it, not for sound or any
>>other app i tried. Even with the Eax2.0 SDK Demos it only seems to work
>>with DirectSound, not with DirectSound3D.
>>
>>
>>Daniel PEACOCK schrieb:
>>
>>
>>
>>
>>
>>>Hi,
>>>
>>>Do you have the latest drivers installed for the SB Live! card? Is the
>>>alIsExtensionPresent("EAX2.0") call return FALSE when using the
>>>"DirectSound3D" device ? If so, can you check that the Windows Audio
>>>Hardware Acceleration slider is set to full ? This can be found by
>>>going to the Windows Control Panel -> Sounds and Audio Devices (name
>>>may differ slightly on different OS's) -> Audio Tab -> Advanced ... ->
>>>Performance Tab.
>>>
>>>Thanks,
>>>
>>>Dan
>>>
>>>-------- Notice --------
>>>The information in this message is confidential and may be legally
>>>privileged. It is intended solely for the addressee. Access to this
>>>message by anyone else is unauthorized. If you are not the intended
>>>recipient, any disclosure, copying or distribution of the message, or
>>>any action taken by you in reliance on it, is prohibited and may be
>>>unlawful. If you have received this message in error, please delete it
>>>and contact the sender immediately. Thank you.
>>>
>>>Inactive hide details for Garin Hiebert <garinh at cheesetoast.net>Garin
>>>Hiebert <garinh at cheesetoast.net>
>>>
>>>
>>>                       *Garin Hiebert <garinh at cheesetoast.net>*
>>>                       Sent by: openal-admin at opensource.creative.com
>>>
>>>                       03/09/2005 10:22 PM
>>>
>>>
>>>
>>>To
>>>
>>>Smirftsch <Smirftsch at t-online.de>
>>>
>>>cc
>>>
>>>openal at opensource.creative.com
>>>
>>>Subject
>>>
>>>Re: [Openal] DirectSound3D and Eax2.0 doesnt seem to work
>>>
>>>
>>>
>>>
>>>A note for Jochen -- the reason this mail was delayed is because it
>>>didn't come from a registered list member.  Since this is a week where
>>>the list maintainer is at a trade show, it was stuck in a "possible
>>>SPAM" filter for a while...  Sorry about the delay, but here goes...
>>>
>>>
>>>
>>>
>>>
>>>>When using OpenAL, in  f.e. the demo,  EAX only seems to be working in
>>>>DirectSound, but not in DirectSound3D, using on my main system a
>>>>Soundblaster Live 5.1 and on other Systems i tried some kind of CMI
>>>>onboard chipset, with the same results. How can i make EAX working in
>>>>DirectSound3D ?
>>>>
>>>>
>>>>
>>>>
>>>I assume we're talking EAX 2.0, then.  You found the EAX 2.0
>>>implementation for the software mixer (a recent addition to the
>>>implementation).  I would have expected that your Live card at least
>>>(and perhaps the CMI chipset) would support the EAX 2.0 extension with
>>>the DS3D path as well -- it's certainly _supposed_ to.  I'll ask the
>>>guy who did the implementation if he has any ideas (I'll see him at GDC
>>>tomorrow).
>>>
>>>Garin
>>>
>>>_______________________________________________
>>>openal mailing list
>>>openal at opensource.creative.com
>>>http://opensource.creative.com/mailman/listinfo/openal
>>>
>>>ForwardSourceID:NT0001DBAA
>>>
>>>
>>>
>>>
>>>
>>_______________________________________________
>>openal mailing list
>>openal at opensource.creative.com
>>http://opensource.creative.com/mailman/listinfo/openal
>>
>>ForwardSourceID:NT0001DD0E
>>
>>_______________________________________________
>>openal mailing list
>>openal at opensource.creative.com
>>http://opensource.creative.com/mailman/listinfo/openal
>>
>>
>>
>>
>>
>
>_______________________________________________
>openal mailing list
>openal at opensource.creative.com
>http://opensource.creative.com/mailman/listinfo/openal
>
>ForwardSourceID:NT0001E656
>
>_______________________________________________
>openal mailing list
>openal at opensource.creative.com
>http://opensource.creative.com/mailman/listinfo/openal
>
>
>


ForwardSourceID:NT0001E8CA




More information about the Openal mailing list