[Openal] openAL float extension

Daniel PEACOCK dpeacock at creativelabs.com
Thu May 3 15:33:30 PDT 2007





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.



                                                                           
             "Anish Chandak"                                               
             <achandak at gmail.c                                             
             om>                                                        To 
             Sent by:                  "Jason Daly" <jdaly at ist.ucf.edu>    
             openal-bounces at op                                          cc 
             ensource.creative         openal at opensource.creative.com      
             .com                                                  Subject 
                                       Re: [Openal] openAL float extension 
                                                                           
             05/03/2007 03:08                                              
             PM                                                            
                                                                           
                                                                           
                                                                           




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



More information about the Openal mailing list