[Openal] How to get v1.1 devices on my system?

Daniel PEACOCK dpeacock at creativelabs.com
Fri Dec 8 17:28:08 PST 2006





Hi Nic,

There is a bug in the OpenAL SDK source code that can result in the OpenAL
version number being reported incorrectly.  This will be fixed in the next
OpenAL SDK refresh (due early next week).  If you want to fix the problem
before then ...

In \Samples\Framework\Win32\aldlist.cpp change the
ALDeviceList::GetDeviceVersion method to the following: -

void ALDeviceList::GetDeviceVersion(int index, int *major, int *minor)
{
      if (index < GetNumDevices()) {
            if (major)
                  *major = vDeviceInfo[index].iMajorVersion;
            if (minor)
                  *minor = vDeviceInfo[index].iMinorVersion;
      }
      return;
}

Hopefully you will discover AL 1.1 Devices on your system after making that
change.

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.



                                                                           
             "nic at weartronics.                                             
             com"                                                          
             <nic at weartronics.                                          To 
             com>                      openal at opensource.creative.com      
             Sent by:                                                   cc 
             openal-bounces at op                                             
             ensource.creative                                     Subject 
             .com                      [Openal] How to get v1.1 devices on 
                                       my system?                          
                                                                           
             12/08/2006 05:01                                              
             PM                                                            
                                                                           
                                                                           
                                                                           




Dear OpenAL list,

I am using Windows XP and I am trying to get v1.1 devices on my system.
I have installed the latest OpenAL v1.1 SDK and also run the installer
which put an OpenAL.dll v6.14.357.13 in my system32 directory. But
whenever I run the EnumerateWin32 sample all of the devices are all v1.0
with no v1.1 support! I have also tried copying the OpenAL.dll
v6.14.357.13 from system32 to the same directory as the EnumerateWin32
sample, but the result is the same. Please, what step have I missed?

Thank you,

Nic
_______________________________________________
Openal mailing list
Openal at opensource.creative.com
http://opensource.creative.com/mailman/listinfo/openal

ForwardSourceID:NT0003A076



More information about the Openal mailing list