From d95ee07775f6a63d80323e5ea242c530adf9c79b Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Mon, 9 May 2011 22:22:14 -0500 Subject: [PATCH] Revert "add indexing support" This reverts commit e84e000b3ec9d393d720845a5f5fd05aa2ee7302. I need to think more about how to implement this. --- espeak.c | 6 ------ espeakup.h | 1 - softsynth.c | 3 --- 3 files changed, 10 deletions(-) diff --git a/espeak.c b/espeak.c index b192177..8015fc4 100644 --- a/espeak.c +++ b/espeak.c @@ -185,7 +185,6 @@ static void synth_queue_clear() static void queue_process_entry(struct synth_t *s) { espeak_ERROR error; - char markbuff[50]; static struct espeak_entry_t *current = NULL; if (current != queue_peek(synth_queue)) { @@ -198,11 +197,6 @@ static void queue_process_entry(struct synth_t *s) case CMD_SET_FREQUENCY: error = set_frequency(s, current->value, current->adjust); break; - case CMD_SET_MARK: - sprintf(markbuff, "", current->value); - error = espeak_Synth(markbuff, strlen(markbuff)+1, 0, POS_CHARACTER, - 0, espeakSSML, NULL, NULL); - break; case CMD_SET_PITCH: error = set_pitch(s, current->value, current->adjust); break; diff --git a/espeakup.h b/espeakup.h index 38187ac..57a3f29 100644 --- a/espeakup.h +++ b/espeakup.h @@ -38,7 +38,6 @@ enum espeakup_mode_t { enum command_t { CMD_SET_FREQUENCY, - CMD_SET_MARK, CMD_SET_PITCH, CMD_SET_PUNCTUATION, CMD_SET_RATE, diff --git a/softsynth.c b/softsynth.c index a2c281b..9c5af80 100644 --- a/softsynth.c +++ b/softsynth.c @@ -123,9 +123,6 @@ static int process_command(struct synth_t *s, char *buf, int start) case 'f': cmd = CMD_SET_FREQUENCY; break; - case 'i': - cmd = CMD_SET_MARK; - break; case 'p': cmd = CMD_SET_PITCH; break;