Changeset 2735:9a7a06c18ec4 in roaraudio


Ignore:
Timestamp:
09/20/09 23:42:36 (15 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

do not set cfreq and num of buffer samples based on DEBUG

File:
1 edited

Legend:

Unmodified
Added
Removed
  • roard/include/output.h

    r2510 r2735  
    2828#include <roaraudio.h> 
    2929 
    30 //#define ROAR_OUTPUT_BUFFER_SAMPLES 1024 
    31 //#define ROAR_OUTPUT_BUFFER_SAMPLES 1024 
    32 #ifdef DEBUG 
    33 // in case of debugging we use a big number of samples to make lager cycles 
    34 #define ROAR_OUTPUT_BUFFER_SAMPLES 2048 
    35 #else 
    36 //#define ROAR_OUTPUT_BUFFER_SAMPLES 441 
     30// NOTE: we do not set ROAR_OUTPUT_BUFFER_SAMPLES depending on DEBUG anymore 
     31//       as it caused a lot problems with partly enabled debugging 
    3732 
    3833#ifdef ROAR_OUTPUT_CFREQ 
     
    5045#define ROAR_OUTPUT_BUFFER_SAMPLES (ROAR_RATE_DEFAULT/100) 
    5146#define ROAR_OUTPUT_CFREQ          100 
    52 #endif 
    5347#endif 
    5448 
Note: See TracChangeset for help on using the changeset viewer.