15 #include "../include/tscope5/video_internal.h"
16 #include "../include/tscope5/system_internal.h"
17 #include "../include/tscope5/audio_internal.h"
19 #include <allegro5/allegro_video.h>
36 ts5_log(TS5_LOGLEVEL_6,
"%s: ts5_check_video\n", calling_function);
64 ts5_log(TS5_LOGLEVEL_1,
"%s: Installing Tscope5 video\n",
67 if (!al_init_video_addon()) {
68 ts5_fatal(
"%s: could not install Tscope5 video\n",
86 ts5_log(TS5_LOGLEVEL_1,
"Uninstalling Tscope5 video\n");
88 al_shutdown_video_addon();
int _ts5_is_tscope5_installed
Is Tscope5 installed?
int _ts5_is_audio_installed
Is the audio subsystem installed?
void ts5_install_video(char *calling_function)
Install the video subsystem.
void ts5_check_video(char *calling_function)
Do some checks at the start of each video function.
void ts5_log(const unsigned int level, const char *format,...)
Send info to a logging window.
void ts5_install_tscope5(char *calling_function)
Install Tscope5.
int _ts5_is_video_installed
Is the video subsystem installed?
void ts5_uninstall_video()
Uninstall the video subsystem.
void ts5_install_audio(char *calling_function)
Install the audio subsystem.
void ts5_fatal(const char *format,...)
Exit safely with an error message.