|
libamsip
5.2.1
|
Functions | |
| int | am_player_start (int soundcard, const char *file, int loop) |
| int | am_player_start_with_callback (int soundcard, const char *file, int loop, MSFilterNotifyFunc cb_fileplayer_eof, void *userdata) |
| int | am_player_stop (int soundcard) |
| int | am_player_stop_all (void) |
| int | am_player_stop_terminated (void) |
| int am_player_start | ( | int | soundcard, |
| const char * | file, | ||
| int | loop | ||
| ) |
Configure amsip to play a file.
| soundcard | Device to use |
| file | File to play |
| loop | Play the file in a loop |
| int am_player_start_with_callback | ( | int | soundcard, |
| const char * | file, | ||
| int | loop, | ||
| MSFilterNotifyFunc | cb_fileplayer_eof, | ||
| void * | userdata | ||
| ) |
Configure amsip to play a file.
| soundcard | Device to use |
| file | File to play |
| loop | Play the file in a loop |
| cb_fileplayer_eof | callback when file finished to play |
| userdata | userdata |
| int am_player_stop | ( | int | soundcard | ) |
Configure amsip to stop playing a file.
| 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.