[Openal] openAL float extension

Daniel PEACOCK dpeacock at creativelabs.com
Thu May 3 16:27:58 PDT 2007





Hi Anish,

Extensions are just that - extensions to the core API.  There is no
guarantee that an OpenAL implementation will support any of them.

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.



                                                                           
             "Anish Chandak"                                               
             <achandak at gmail.c                                             
             om>                                                        To 
                                       "Daniel PEACOCK"                    
             05/03/2007 03:44          <dpeacock at creativelabs.com>         
             PM                                                         cc 
                                       openal at opensource.creative.com      
                                                                   Subject 
                                       Re: [Openal] openAL float extension 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           




Ya. When I earlier in my program enquire all openAL and ALC extensions that
are available. Below is what i get.

OpenAL extensions :: EAX EAX2.0 EAX3.0 EAX4.0 EAX5.0 EAX3.0EMULATED
EAX4.0EMULATED AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCEANCE

ALC version: 1.1
ALC extensions :: ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_EFX

I was curious because the extension page
http://www.openal.org/extensions.html listes " AL_EXT_FLOAT32" as one of
the available extensions. I was wondering if I need to check out code from
the repository if it has the latest version or something.

Thanks
Anish

On 5/3/07, Daniel PEACOCK <dpeacock at creativelabs.com> wrote:
  Hi Anish,

  As far as I'm aware, none of the Creative Windows OpenAL devices support
  this extension I'm afraid. This is an extension for playing back samples
  in a floating point format, right ? If so, then I think you will have to
  convert the data from float to short integers before passing it to AL.

  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 "Anish Chandak" <achandak at gmail.com>"Anish
  Chandak" < achandak at gmail.com>

                                                                           
                         "Anish Chandak"                                   
                         <                                                 
                         achandak at gmail.                                   
                         com>                                              
                         Sent by:                                       To 
                         openal-bounces@                                   
                         opensource.crea                  "Jason Daly" <   
                         tive.com                         jdaly at ist.ucf.ed 
                                                          u>               
                                                                           
                         05/03/2007                                     cc 
                         03:08 PM                                          
                                                          openal at opensourc 
                                                          e.creative.com   
                                                                           
                                                                   Subject 
                                                                           
                                                          Re: [Openal]     
                                                          openAL float     
                                                          extension        
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           



  Below is the code I am testing to check for the extension. I am using
  OpenAL 1.1 SK for windows from http://www.openal.org/downloads.html

  floatext = alIsExtensionPresent("AL_EXT_FLOAT32");
  if(floatext == AL_TRUE)
  printf("AL_EXT_FLOAT32 extension available: Good for you!!\n");
  else
  printf("AL_EXT_FLOAT32 extension NOT available: Bad for you!!\n");

  Thanks
  Anish


  On 5/3/07, Jason Daly <jdaly at ist.ucf.edu> wrote:
        Anish Chandak wrote:
        > Hello guys,
        >
        > I want to use float32 extension (AL_EXT_FLOAT32) in my project.
        But
        > the openAL SDK that I have does not have that extension. Any
        pointers
        > on what do I need to do to get these extension? I am working on
        > windows platform.

        Which SDK are you using? Are you sure the extension isn't
        supported?
        (It won't necessarily show up in the header files, you have query
        for it
        using alIsExtensionPresent() ).

        If your OpenAL implementation doesn't support the extension, you
        have
        little recourse other than using a different implementation (or you
        can
        try implementing the extension yourself).

        It's also possible that AL_EXT_FLOAT32 is just a notional
        extension.
        That is, it might have been proposed as a good idea for future
        work, but
        not yet implemented.

        --"J"
  _______________________________________________
  Openal mailing list
  Openal at opensource.creative.com
  http://opensource.creative.com/mailman/listinfo/openal

  ForwardSourceID:NT000406B2


ForwardSourceID:NT000406BE



More information about the Openal mailing list