Browse Source

Fix a logical error.

master
Reece H. Dunn 9 years ago
parent
commit
975ffade6c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/libespeak-ng/speak_lib.c

+ 1
- 1
src/libespeak-ng/speak_lib.c View File

option_waveout = 1; // inhibit portaudio callback from wavegen.cpp option_waveout = 1; // inhibit portaudio callback from wavegen.cpp
out_samplerate = 0; out_samplerate = 0;


if (output_mode == ENOUTPUT_MODE_SYNCHRONOUS | ENOUTPUT_MODE_SPEAK_AUDIO) {
if (output_mode == (ENOUTPUT_MODE_SYNCHRONOUS | ENOUTPUT_MODE_SPEAK_AUDIO)) {
option_waveout = 0; option_waveout = 0;
WavegenInitSound(); WavegenInitSound();
} }

Loading…
Cancel
Save