Changeset 2450:90bed3afd32e in roaraudio


Ignore:
Timestamp:
08/21/09 04:39:38 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added function stubs for init/free

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/ssynth.c

    r2448 r2450  
    2525#include "roard.h" 
    2626 
     27int ssynth_init_config(void) { 
     28 memset(&ssynth_conf, 0, sizeof(ssynth_conf)); 
     29 
     30 return 0; 
     31} 
     32 
     33int ssynth_init (void) { 
     34 if ( !ssynth_conf.enable ) 
     35  return 0; 
     36 
     37 return -1; 
     38} 
     39 
     40int ssynth_free (void) { 
     41 if ( !ssynth_conf.enable ) 
     42  return 0; 
     43 
     44 return -1; 
     45} 
     46 
    2747//ll 
Note: See TracChangeset for help on using the changeset viewer.