//
// $Id$
-#ifdef HAVE_CONFIG_H
-# include "config.h"
-#endif
-
+#include <Main/globals.hxx>
#include <sstream>
#include <simgear/compiler.h>
#include <Main/fg_props.hxx>
-#include <Main/globals.hxx>
#include "voice.hxx"
#define VOICE "/sim/sound/voices"
char buf[4];
int len = _sock->read(buf, 3);
if (len != 3 || buf[0] != 'L' || buf[1] != 'P') {
- SG_LOG(SG_IO, SG_ALERT, "VOICE: something is listening to "
- << host << ':' << port << "', but it doesn't seem "
- "to be Festival");
+ SG_LOG(SG_IO, SG_ALERT, "VOICE: unexpected or no response from `"
+ << host << ':' << port << "'. Either it's not " << endl
+ << " Festival listening, or Festival couldn't open a "
+ "sound device.");
_connected = false;
return;
}