Changeset 2885:04969b340351 in roaraudio


Ignore:
Timestamp:
10/10/09 02:00:50 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

new header for codec options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/config.h

    r2648 r2885  
    4242#define ROAR_LIBROAR_CONFIG_WAS_USE_EXECED  0x01 
    4343 
     44struct roar_libroar_config_codec { 
     45 unsigned int codec; // Codec ID 
     46 // the folloing ints are 256 times there correct value 
     47 // to emulate a .8 bit fixed point float. 
     48 int q; 
     49 int complexity; 
     50 
     51 // currectly bools: 
     52 int dtx; 
     53 
     54 // sizes: 
     55 size_t max_cc; 
     56}; 
     57 
    4458struct roar_libroar_config { 
    4559 struct { 
     
    5064  int sysio; 
    5165 } warnings; 
     66 struct { 
     67  size_t num; 
     68  struct roar_libroar_config_codec * codec; 
     69 } codecs; 
    5270}; 
    5371 
    5472struct roar_libroar_config * roar_libroar_get_config_ptr(void); 
    5573struct roar_libroar_config * roar_libroar_get_config(void); 
     74 
     75int    roar_libroar_config_parse(char * txt, char * delm); 
     76 
     77struct roar_libroar_config_codec * roar_libroar_config_codec_get(int codec, int create); 
    5678 
    5779int    roar_libroar_set_server(char * server); 
Note: See TracChangeset for help on using the changeset viewer.