Changeset 5010:065b9de0acf7 in roaraudio for libroar/config.c


Ignore:
Timestamp:
05/26/11 09:26:00 (11 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

Updated roar_reset() (Closes: #131)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/config.c

    r5006 r5010  
    8484 
    8585 return config; 
     86} 
     87 
     88int    roar_libroar_reset_config(void) { 
     89 struct roar_libroar_config * config = roar_libroar_get_config_ptr(); 
     90 
     91 if ( config->codecs.codec != NULL ) { 
     92  roar_mm_free(config->codecs.codec); 
     93  config->codecs.num = 0; 
     94 } 
     95 
     96 return 0; 
    8697} 
    8798 
Note: See TracChangeset for help on using the changeset viewer.