Tao.Sdl SDK Documentation

Smpeg.SMPEG_new_rwops Method 

Create a new SMPEG object from a generic SDL_RWops structure.

[Visual Basic]
Public Shared Function SMPEG_new_rwops( _
   ByVal src As IntPtr, _
   ByRef info As SMPEG_Info, _
   ByVal sdl_audio As Integer _
) As IntPtr
[C#]
public static IntPtr SMPEG_new_rwops(
   IntPtr src,
   out SMPEG_Info info,
   int sdl_audio
);

Parameters

src
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_rwops(SDL_RWops *src, SMPEG_Info* info, int sdl_audio);
            

See Also

Smpeg Class | Tao.Sdl Namespace