[Openal-devel] Spatialized Stereo Sounds? also Set Playback Time?

Anders Modén openal at tooltech-software.com
Wed Oct 11 13:26:19 PDT 2006


It would be nice with a stride possibility when uploading samples so  
you don't need to split and copy the data yourself.

/Anders Modén

9 okt 2006 kl. 22.23 skrev Daniel PEACOCK:

>
>
>
>
> Hi,
>
> 1. That is correct - Stereo sounds are not spatialized.  If you  
> want to do
> this you will have to de-interleave the audio data into two mono  
> buffers
> and set their 3D positions individually.   You can use the vector  
> play call
> (alSourcePlayv) to start the two mono sounds synchronously - but  
> not all
> platforms and devices will guarantee sample accurate  
> synchronization (e.g
> the "Generic Hardware" device cannot do this).
>
> 2. Yes you can start playback mid sample.  Attach a Buffer to a  
> Source,
> then set a playback offset (using alSourcei or alSourcef with
> AL_SEC_OFFSET, AL_BYTE_OFFSET or AL_SAMPLE_OFFSET), then call Play and
> playback will start from the offset you specified (assuming it is  
> valid).
>
> 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.
>
>
>
>
>              "Hougant Chen"
>              <hougant.chen at thq
>              .com>                                                     
>   To
>              Sent by:                  <Openal- 
> devel at opensource.creative.c
>              openal-devel-boun         om>
>               
> ces at opensource.cr                                          cc
>              eative.com
>                                                                     
> Subject
>                                        [Openal-devel] Spatialized  
> Stereo
>              10/09/2006 12:06          Sounds? also Set Playback Time?
>              PM
>
>
>
>
>
>
>
>
>
> Hello All,
>
> I have two questions.
>
>    1. I think I read in one of the docs that OpenAL does not allow  
> stereo
>       sounds to be spatialized. Is this true? If so, is there a way  
> around
>       this?
>    2. Is there a way to play a sound at a certain time instead of  
> at the
>       beginning?
>
> Thanks,
> Hougant_______________________________________________
> Openal-devel mailing list
> Openal-devel at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal-devel
>
> ForwardSourceID:NT00037972
>
> _______________________________________________
> Openal-devel mailing list
> Openal-devel at opensource.creative.com
> http://opensource.creative.com/mailman/listinfo/openal-devel
>




More information about the Openal-devel mailing list