Changeset 3593:81af1674e14f in roaraudio


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

done cleanup for roar driver

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • TODO

    r3591 r3593  
    1616 * (0.3 W/H/-) Get into Debian 
    1717 * (0.3 W/N/-) Clean and update libroarpulse 
    18  * (0.3 W/h/-) Cleanup driver: DMX, Roar 
    1918 * (0.3 W/N/-) Implement ALSA support 
    2019 * (0.3 W/L/-) Implement support for ICY Meta Data 
  • roard/driver.c

    r3591 r3593  
    3535 { "roar", "RoarAudio driver", "localhost, remote.host.dom", DRV_FLAG_NONE, 
    3636   ROAR_SUBSYS_WAVEFORM|ROAR_SUBSYS_MIDI|ROAR_SUBSYS_LIGHT|ROAR_SUBSYS_COMPLEX, 
    37    NULL, driver_roar_close, driver_roar_open_vio}, 
     37   NULL, NULL, driver_roar_open_vio}, 
    3838#ifdef ROAR_HAVE_IO_POSIX 
    3939 { "raw",  "RAW driver", "/some/file", DRV_FLAG_FHSEC, 
  • 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 
  • roard/include/driver_roar.h

    r3517 r3593  
    2828 
    2929int driver_roar_open_vio(struct roar_vio_calls * inst, char * device, struct roar_audio_info * info, int fh, struct roar_stream_server * sstream); 
    30 int driver_roar_close(DRIVER_USERDATA_T   inst); 
    31 int driver_roar_pause(DRIVER_USERDATA_T   inst, int newstate); 
    32 int driver_roar_flush(DRIVER_USERDATA_T   inst); 
    3330 
    3431#endif 
Note: See TracChangeset for help on using the changeset viewer.