mm_player_close()

Close the connection to a player.

Synopsis:

#include <mmplayer/mmplayerclient.h>
 
int mm_player_close( mmplayer_hdl_t *hdl, 
                     const char *player_name )

Arguments:

hdl
The mm-player connection handle
player_name
The player to disconnect from

Library:

mmplayerclient

Description:

Close the connection to the player specified by player_name. If you want to use the same player again, you must call mm_player_open() again.

Returns:

0 on success, -1 on failure