X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fhumperdink%2Fclient.c;h=bd69d06f783f3a5feeb24d14a090e585a9aa0719;hb=3902731cb8a9622204d584c4962c74e2a5a35428;hp=0705c1466b9dff899a9ccea0c23845b240f8b3a2;hpb=80a5c8297b313b09add80814a637a71ba9e0fa05;p=melted diff --git a/src/humperdink/client.c b/src/humperdink/client.c index 0705c14..bd69d06 100644 --- a/src/humperdink/client.c +++ b/src/humperdink/client.c @@ -1,5 +1,5 @@ /* - * client.c -- dv1394d client demo + * client.c -- Valerie client demo * Copyright (C) 2002-2003 Ushodaya Enterprises Limited * Author: Charles Yates * @@ -147,7 +147,7 @@ void dv_demo_show_status( dv_demo demo, valerie_status status ) break; } - sprintf( temp + strlen( temp ), " %9lld %9lld %9lld ", status->in, status->position, status->out ); + sprintf( temp + strlen( temp ), " %9d %9d %9d ", status->in, status->position, status->out ); strcat( temp, status->clip ); printf( "%-80.80s\r", temp ); @@ -415,7 +415,7 @@ valerie_error_code dv_demo_execute( dv_demo demo ) char command[ 10240 ]; int terminated = 0; - printf( "DV1394D Shell\n" ); + printf( "Miracle Shell\n" ); printf( "Enter an empty command to exit.\n\n" ); while ( !terminated ) @@ -423,7 +423,7 @@ valerie_error_code dv_demo_execute( dv_demo demo ) terminated = 1; printf( "Command> " ); - if ( chomp( get_string( command, 10240, "" ) ) != NULL ) + if ( chomp( io_get_string( command, 10240, "" ) ) != NULL ) { if ( strcmp( command, "" ) ) { @@ -1023,4 +1023,3 @@ void dv_demo_close( dv_demo demo ) { free( demo ); } -