Tao.Sdl SDK Documentation

Smpeg.SMPEG_setvolume Method 

Set the audio volume of an MPEG stream, in the range 0-100

[Visual Basic]
Public Shared Sub SMPEG_setvolume( _
   ByVal mpeg As IntPtr, _
   ByVal volume As Integer _
)
[C#]
public static void SMPEG_setvolume(
   IntPtr mpeg,
   int volume
);

Parameters

mpeg
Handle to MPEG file.
volume
Range from 0 - 100.

Remarks

Binds to a C-function call in smpeg.h

            void SMPEG_setvolume( SMPEG* mpeg, int volume )
            

See Also

Smpeg Class | Tao.Sdl Namespace