Commit 22374b29 authored by Simon Morlat's avatar Simon Morlat
Browse files

allow use of msmediaplayer.h API in C++

parent 8664bb77
......@@ -39,6 +39,11 @@ typedef enum {
MS_FILE_FORMAT_MATROSKA
} MSFileFormat;
#ifdef __cplusplus
extern "C"{
#endif
/**
* @brief Instanciate a media player
* @param snd_card Playback sound card
......@@ -148,4 +153,9 @@ MS2_PUBLIC bool_t ms_media_player_matroska_supported(void);
*/
MS2_PUBLIC MSFileFormat ms_media_player_get_file_format(const MSMediaPlayer *obj);
#ifdef __cplusplus
}
#endif
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment