summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 3963e88..673dd24 100644
--- a/src/main.c
+++ b/src/main.c
@@ -24,6 +24,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include "screen.h"
#include "speech.h"
static const char *program_name;
@@ -54,6 +55,7 @@ int
main(int argc, char **argv)
{
struct speech *speech;
+ struct screen *screen;
set_program_name(argv[0]);
@@ -62,7 +64,12 @@ main(int argc, char **argv)
error("Failed to initialize speech synthesis engine");
return EXIT_FAILURE;
}
+
+ screen = screen_new();
+
speech_play_time(speech);
+
+ screen_destroy(&screen);
speech_destroy(&speech);
return EXIT_SUCCESS;