amsip player interface
[SIP messages and call control API]


Functions

int am_player_start (int soundcard, const char *file, int loop)
int am_player_stop (int soundcard)
int am_player_stop_all (void)
int am_player_stop_terminated (void)

Function Documentation

int am_player_start ( int  soundcard,
const char *  file,
int  loop 
)

Configure amsip to play a file.

Parameters:
soundcard Device to use
file File to play
loop Play the file in a loop

int am_player_stop ( int  soundcard  ) 

Configure amsip to stop playing a file.

Parameters:
soundcard id of soundcard to stop.

int am_player_stop_all ( void   ) 

Configure amsip to stop release ressource in terminated players.

int am_player_stop_terminated ( void   ) 

Configure amsip to stop release ressource in terminated players.


Generated on Tue Jun 16 19:18:37 2009 for libamsip by  doxygen 1.5.9