Cleanup license declarations and remove dv1394d references.
[melted] / src / humperdink / client.c
index 0705c14..bd69d06 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * client.c -- dv1394d client demo
+ * client.c -- Valerie client demo
  * Copyright (C) 2002-2003 Ushodaya Enterprises Limited
  * Author: Charles Yates <charles.yates@pandora.be>
  *
@@ -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 );
 }
-