Changeset 469:5197a7a67eb5 in roaraudio


Ignore:
Timestamp:
08/12/08 19:50:00 (16 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

make xine find the roar plugin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/xine/roar.c

    r468 r469  
    1717#include <xine/metronom.h> 
    1818 
    19 #define AO_OUT_ROAR_IFACE_VERSION 1 
     19#define AO_OUT_ROAR_IFACE_VERSION 8 
    2020 
    2121#define GAP_TOLERANCE         5000 
     
    5959  return (this->stream.info.bits * this->stream.info.channels)/8; 
    6060} 
     61 
    6162static int ao_roar_delay(ao_driver_t *this_gen) { 
     63 return 0; 
    6264} 
     65 
    6366static int ao_roar_write(ao_driver_t *this_gen, 
    6467                        int16_t* frame_buffer, uint32_t num_frames) { 
     
    8285 
    8386static int ao_roar_get_property (ao_driver_t *this_gen, int property) { 
     87 return 0; 
    8488} 
    8589static int ao_roar_set_property (ao_driver_t *this_gen, int property, int value) { 
     90 return ~value; 
    8691} 
    8792 
     
    107112   return NULL; 
    108113  } 
     114 
     115  this->fh = -1; 
    109116 
    110117  this->capabilities       = AO_CAP_MODE_MONO | AO_CAP_MODE_STEREO | AO_CAP_MIXER_VOL | AO_CAP_MUTE_VOL; 
Note: See TracChangeset for help on using the changeset viewer.