Changeset 3593:81af1674e14f in roaraudio for roard/driver_roar.c


Ignore:
Timestamp:
02/28/10 06:05:21 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

done cleanup for roar driver

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/driver_roar.c

    r3517 r3593  
    22 
    33/* 
    4  *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008 
     4 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008-2010 
    55 * 
    66 *  This file is part of roard a part of RoarAudio, 
     
    4646 } 
    4747 
    48  if ( (fh = roar_simple_stream(info->rate, info->channels, info->bits, info->codec, device, dir, "roard")) == -1 ) { 
     48 if ( roar_vio_simple_stream(inst, info->rate, info->channels, info->bits, info->codec, device, dir, "roard") == -1 ) { 
    4949  return -1; 
    5050 } 
    51  
    52  roar_vio_set_fh(inst, fh); 
    5351 
    5452 return 0; 
    5553} 
    5654 
    57 int driver_roar_close(DRIVER_USERDATA_T   inst) { 
    58  return roar_simple_close(roar_vio_get_fh((struct roar_vio_calls *)inst)); 
    59 } 
    60  
    6155//ll 
Note: See TracChangeset for help on using the changeset viewer.