SWILIB API (NSG)    
Loading...
Searching...
No Matches
mplayer.h File Reference

Go to the source code of this file.

Macros

#define PLAYER_PREV   0x01
 
#define PLAYER_NEXT   0x02
 
#define PLAYER_RESTART   0x03
 
#define PLAYER_MUTE   0x0A
 
#define PLAYER_KILL   0x0C
 
#define PLAYER_PLAY   0x0E
 
#define PLAYER_STOP   0x0F
 
#define PLAYER_PAUSE   0x10
 
#define PLAYER_TOGGLE   0x11
 
#define PLAYER_FWD   0x12
 
#define PLAYER_RWN   0x13
 
#define PLAYER_NRM   0x14
 
#define PLAYER_VOL_UP   0x15
 
#define PLAYER_VOL_DN   0x16
 
#define PLAYER_REPEAT1   0x18
 

Functions

static void Send_MPlayer_Command (unsigned short cmd, short substract)
 
static void MPlayer_VolChange (short dir)
 
static void MPlayer_Stop ()
 
static void MPlayer_Start ()
 
static void MPlayer_Next ()
 
static void MPlayer_Prev ()
 
static void MPlayer_Toggle ()
 
static void MPlayer_Shutdown ()
 
static void MPlayer_Mute ()
 
static void MPlayer_Pause ()
 

Macro Definition Documentation

◆ PLAYER_PREV

#define PLAYER_PREV   0x01

Definition at line 16 of file mplayer.h.

◆ PLAYER_NEXT

#define PLAYER_NEXT   0x02

Definition at line 17 of file mplayer.h.

◆ PLAYER_RESTART

#define PLAYER_RESTART   0x03

Definition at line 18 of file mplayer.h.

◆ PLAYER_MUTE

#define PLAYER_MUTE   0x0A

Definition at line 25 of file mplayer.h.

◆ PLAYER_KILL

#define PLAYER_KILL   0x0C

Definition at line 27 of file mplayer.h.

◆ PLAYER_PLAY

#define PLAYER_PLAY   0x0E

Definition at line 29 of file mplayer.h.

◆ PLAYER_STOP

#define PLAYER_STOP   0x0F

Definition at line 30 of file mplayer.h.

◆ PLAYER_PAUSE

#define PLAYER_PAUSE   0x10

Definition at line 31 of file mplayer.h.

◆ PLAYER_TOGGLE

#define PLAYER_TOGGLE   0x11

Definition at line 32 of file mplayer.h.

◆ PLAYER_FWD

#define PLAYER_FWD   0x12

Definition at line 33 of file mplayer.h.

◆ PLAYER_RWN

#define PLAYER_RWN   0x13

Definition at line 34 of file mplayer.h.

◆ PLAYER_NRM

#define PLAYER_NRM   0x14

Definition at line 35 of file mplayer.h.

◆ PLAYER_VOL_UP

#define PLAYER_VOL_UP   0x15

Definition at line 36 of file mplayer.h.

◆ PLAYER_VOL_DN

#define PLAYER_VOL_DN   0x16

Definition at line 37 of file mplayer.h.

◆ PLAYER_REPEAT1

#define PLAYER_REPEAT1   0x18

Definition at line 39 of file mplayer.h.

Function Documentation

◆ Send_MPlayer_Command()

static void Send_MPlayer_Command ( unsigned short cmd,
short substract )
inlinestatic

Definition at line 44 of file mplayer.h.

◆ MPlayer_VolChange()

static void MPlayer_VolChange ( short dir)
inlinestatic

Definition at line 48 of file mplayer.h.

◆ MPlayer_Stop()

static void MPlayer_Stop ( )
inlinestatic

Definition at line 59 of file mplayer.h.

◆ MPlayer_Start()

static void MPlayer_Start ( )
inlinestatic

Definition at line 60 of file mplayer.h.

◆ MPlayer_Next()

static void MPlayer_Next ( )
inlinestatic

Definition at line 61 of file mplayer.h.

◆ MPlayer_Prev()

static void MPlayer_Prev ( )
inlinestatic

Definition at line 62 of file mplayer.h.

◆ MPlayer_Toggle()

static void MPlayer_Toggle ( )
inlinestatic

Definition at line 63 of file mplayer.h.

◆ MPlayer_Shutdown()

static void MPlayer_Shutdown ( )
inlinestatic

Definition at line 64 of file mplayer.h.

◆ MPlayer_Mute()

static void MPlayer_Mute ( )
inlinestatic

Definition at line 65 of file mplayer.h.

◆ MPlayer_Pause()

static void MPlayer_Pause ( )
inlinestatic

Definition at line 66 of file mplayer.h.