libamsip  4.8.0
Functions
amsip player interface
Various other 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)

Detailed Description

Function Documentation

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

Configure amsip to play a file.

Parameters
soundcardDevice to use
fileFile to play
loopPlay the file in a loop
int am_player_stop ( int  soundcard)

Configure amsip to stop playing a file.

Parameters
soundcardid 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.