aboutsummaryrefslogtreecommitdiffstats
path: root/src/jo_n_speak.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 17:15:51 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-04-17 17:15:51 +0200
commitd78062b1643006c59e325d4821361e56d9bd3b71 (patch)
tree79b233e0ab801b7bb9d64be526157d27b7abe301 /src/jo_n_speak.c
parentUsing libespeak and libnotify (diff)
downloadlowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.gz
lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.bz2
lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.xz
lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.tar.zst
lowbat-bsd-d78062b1643006c59e325d4821361e56d9bd3b71.zip
Starting the main program, bus error somehow
Diffstat (limited to 'src/jo_n_speak.c')
-rw-r--r--src/jo_n_speak.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jo_n_speak.c b/src/jo_n_speak.c
index 4db4113..5fc935e 100644
--- a/src/jo_n_speak.c
+++ b/src/jo_n_speak.c
@@ -15,15 +15,15 @@
void
jo_n_speak(const char *msg)
{
- espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, 0x0, 0);
+ espeak_Initialize(AUDIO_OUTPUT_PLAYBACK, 0, NULL, 0);
espeak_Synth(msg,
strlen(msg),
0,
POS_CHARACTER,
0,
espeakCHARS_UTF8 | espeakENDPAUSE,
- 0x0,
- 0x0);
+ NULL,
+ NULL);
espeak_Synchronize();
espeak_Terminate();
}