l_rate = (long)( ((mtime_t)l_units * 1000000)
/ (p_fifo->date[p_fifo->l_next_frame] - p_fifo->date[p_fifo->l_start_frame]) );
+ intf_DbgMsg( "aout debug: %li frame(s), %lli µs, %li Hz\n",
+ (p_fifo->l_next_frame - p_fifo->l_start_frame) & AOUT_FIFO_SIZE,
+ p_fifo->date[p_fifo->l_next_frame] - p_fifo->date[p_fifo->l_start_frame],
+ l_rate );
+
InitializeIncrement( &p_fifo->unit_increment, l_rate, p_aout->dsp.l_rate );
p_fifo->l_units = (((l_units - (p_fifo->l_unit -
/* usage: */ "vlan synchro\n" \
"vlan [intf=<interface>] request\n" \
"vlan [intf=<interface>] join <vlan>\n" \
- "vlan [intf=<interface>] leave"
+ "vlan [intf=<interface>] leave",
/* help: */ "Perform various operations on vlans. 'synchro' resynchronize " \
"with the server. 'request' ask which is the current vlan (for the default " \
"interface or for a given one). 'join' and 'leave' try to change vlan." },
/* If called with an argument: look for the command and display it's help */
if( i_argc == 2 )
{
+fprintf( stderr, "maxx debug: coin\n" );
for( i_index = 0; control_command[i_index].psz_name
&& strcmp( control_command[i_index].psz_name, p_argv[1].psz_str );
i_index++ )
{
;
}
+fprintf( stderr, "maxx debug: meuh\n" );
/* Command has been found in list */
if( control_command[i_index].psz_name )
{
+fprintf( stderr, "maxx debug: meow\n" );
intf_IntfMsg( control_command[i_index].psz_usage );
+fprintf( stderr, "maxx debug: blah\n" );
intf_IntfMsg( control_command[i_index].psz_help );
+fprintf( stderr, "maxx debug: blih\n" );
}
/* Command is unknown */
else