Changeset 2926:ef036c16f643 in roaraudio


Ignore:
Timestamp:
10/16/09 19:47:32 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added ROAR_LIBROAR_CONFIG_PSET_VBR, added some other consts in order to void collissions with FLAG IDs

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroar/config.h

    r2895 r2926  
    4646#define ROAR_LIBROAR_CONFIG_PSET_DTX        0x0004 
    4747#define ROAR_LIBROAR_CONFIG_PSET_MAX_CC     0x0008 
     48#define ROAR_LIBROAR_CONFIG_PSET_ABR        0x0010 /* need to implement */ 
     49#define ROAR_LIBROAR_CONFIG_PSET_VAD        0x0020 /* need to implement */ 
     50#define ROAR_LIBROAR_CONFIG_PSET_AGC        0x0040 /* need to implement */ 
     51#define ROAR_LIBROAR_CONFIG_PSET_DENOISE    0x0080 /* need to implement */ 
     52#define ROAR_LIBROAR_CONFIG_PSET_VBR        0x0100 
    4853 
    4954struct roar_libroar_config_codec { 
     
    6065 // currectly bools: 
    6166 int dtx; 
     67 int vbr; 
    6268 
    6369 // sizes: 
  • libroar/config.c

    r2913 r2926  
    129129  codec_cfg->para_set |= ROAR_LIBROAR_CONFIG_PSET_MAX_CC; 
    130130  codec_cfg->max_cc = _P_INT(value_str); 
     131 } else if ( !strcmp(option_str, "vbr") ) { 
     132  codec_cfg->para_set |= ROAR_LIBROAR_CONFIG_PSET_VBR; 
     133  codec_cfg->vbr = _P_BOOL(value_str); 
    131134 } else { 
    132135  ROAR_WARN("roar_libroar_config_parse_codec(*): Unknown codec option: %s", option_str); 
Note: See TracChangeset for help on using the changeset viewer.