"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "audio/esd.cc" between
speech_tools-2.4-release.tar.gz and speech_tools-2.5.0-release.tar.gz

About: The speech_tools - Edinburgh Speech Tools Library (used by the Festival Speech Synthesis System).

esd.cc  (speech_tools-2.4-release):esd.cc  (speech_tools-2.5.0-release)
skipping to change at line 77 skipping to change at line 77
static int endian_int = 1; static int endian_int = 1;
#define ESD_BIG_ENDIAN (((char *)&endian_int)[0] == 0) #define ESD_BIG_ENDIAN (((char *)&endian_int)[0] == 0)
EST_String server; EST_String server;
void get_server(EST_Option &al) void get_server(EST_Option &al)
{ {
if (al.present("-display")) if (al.present("-display"))
{ {
EST_String display = al.val("-display"); EST_String display = (const char *)al.val("-display");
if (display.contains(":")) if (display.contains(":"))
{ {
server = display.before(":"); server = display.before(":");
} }
else else
{ {
server = display; server = display;
} }
} }
else else
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)