Tao.Sdl SDK Documentation |
|
Smpeg.SMPEG_new_descr Method
Create a new SMPEG object from a file descriptor.
Parameters
-
file
-
-
info
- On return, if 'info' is not NULL, it will be filled with information about the MPEG object.
-
sdl_audio
- The sdl_audio parameter indicates if SMPEG should initialize the SDL audio subsystem. If not, you will have to use the SMPEG_playaudio() function below to extract the decoded data.
Return Value
This function returns a new SMPEG object. Use SMPEG_error() to find out whether or not there was a problem building the MPEG stream.
Remarks
Binds to a C-function call in smpeg.h
SMPEG* SMPEG_new_descr(int file, SMPEG_Info* info, int sdl_audio)
See Also
Smpeg Class | Tao.Sdl Namespace