mirror of
https://github.com/linux-speakup/espeakup.git
synced 2026-08-22 23:54:17 +02:00
indentation fixes
This commit is contained in:
parent
d373fb2aa7
commit
08e46c58a8
3 changed files with 5 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue