indentation fixes

This commit is contained in:
William Hubbs 2009-06-20 13:09:57 -05:00
commit 08e46c58a8
3 changed files with 5 additions and 5 deletions

View file

@ -110,7 +110,7 @@ int main(int argc, char **argv)
}
/* open the softsynth. */
if (! open_softsynth()) {
if (!open_softsynth()) {
perror("Unable to open the softsynth device");
return 3;
}

View file

@ -66,7 +66,7 @@ extern espeak_ERROR set_frequency(struct synth_t *s, int freq,
extern espeak_ERROR set_pitch(struct synth_t *s, int pitch,
enum adjust_t adj);
extern espeak_ERROR set_punctuation(struct synth_t *s, int punct,
enum adjust_t adj);
enum adjust_t adj);
extern espeak_ERROR set_rate(struct synth_t *s, int rate,
enum adjust_t adj);
extern espeak_ERROR set_voice(struct synth_t *s, char *voice);
@ -77,7 +77,7 @@ extern espeak_ERROR speak_text(struct synth_t *s);
extern int open_softsynth(void);
extern void close_softsynth(void);
extern void main_loop(struct synth_t *s);
extern void * queue_runner(void *arg);
extern void *queue_runner(void *arg);
extern int init_audio(void);
extern volatile int stopped;

View file

@ -127,12 +127,12 @@ static void process_buffer(struct synth_t *s, char *buf, ssize_t length)
int open_softsynth(void)
{
int rc;
int rc;
softFD = open("/dev/softsynth", O_RDWR | O_NONBLOCK);
if (softFD < 0)
rc = 0;
else
else
rc = 1;
return rc;
}