Logo Search packages:      
Sourcecode: blender version File versions  Download package

virtual bool AUD_IDevice::seek ( AUD_Handle handle,
float  position 
) [pure virtual]

Seeks in a played back sound.

Parameters:
handle The handle returned by the play function.
position The new position from where to play back, in seconds.
Returns:
  • true if the handle is valid.
  • false if the handle is invalid.
Warning:
Whether the seek works or not depends on the sound source.

Implemented in AUD_NULLDevice, AUD_SoftwareDevice, and AUD_OpenALDevice.


Generated by  Doxygen 1.6.0   Back to index