Changeset 3013:fc3c4811bacd in roaraudio


Ignore:
Timestamp:
10/29/09 09:17:29 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

use vio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roarclients/roarphone.c

    r3008 r3013  
    165165 g_cons.state |= CON_CON; 
    166166 
    167  // TODO: find out if this can be done more nicely by using VIOs 
    168  
    169  if ( (fh = roar_simple_new_stream_obj(&(g_cons.con), &(g_cons.stream), 
    170                                        info->rate, info->channels, info->bits, info->codec, 
    171                                        ROAR_DIR_BIDIR 
    172                                       )) == -1 ) 
     167 if ( (fh = roar_vio_simple_new_stream_obj(vio, &(g_cons.con), &(g_cons.stream), 
     168                                           info->rate, info->channels, info->bits, info->codec, 
     169                                           ROAR_DIR_BIDIR 
     170                                          )) == -1 ) 
    173171  return -1; 
    174  
    175  roar_vio_open_fh_socket(vio, fh); 
    176172 
    177173 g_cons.state |= CON_STREAM; 
Note: See TracChangeset for help on using the changeset viewer.