liboggplay 0.3.0
Functions
oggplay_seek.h File Reference

oggplay_seek.h More...

Go to the source code of this file.

Functions

OggPlayErrorCode oggplay_seek (OggPlay *me, ogg_int64_t milliseconds)
 Seeks to a requested position. More...
 

Detailed Description

oggplay_seek.h

Authors
Shane Stephens shane.nosp@m..ste.nosp@m.phens.nosp@m.@ann.nosp@m.odex..nosp@m.net

Function Documentation

◆ oggplay_seek()

OggPlayErrorCode oggplay_seek ( OggPlay me,
ogg_int64_t  milliseconds 
)

Seeks to a requested position.

Parameters
meOggPlay handle associated with the stream
milliseconds
Return values
E_OGGPLAY_OKon success
E_OGGPLAY_BAD_OGGPLAYthe supplied OggPlay handle was invalid
E_OGGPLAY_CANT_SEEKerror occured while trying to seek
E_OGGPLAY_OUT_OF_MEMORYran out of memory while trying to allocate the new buffer and trash.