Changeset 1668:eaa86ade177c in roaraudio
- Timestamp:
- 05/09/09 18:32:38 (15 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/include/output.h
r1062 r1668 31 31 //#define ROAR_OUTPUT_BUFFER_SAMPLES 1024 32 32 #ifdef DEBUG 33 // in case of debugging we use a big number of samples to make lager cycles 33 34 #define ROAR_OUTPUT_BUFFER_SAMPLES 2048 34 35 #else 35 36 //#define ROAR_OUTPUT_BUFFER_SAMPLES 441 37 38 // in normal case we use 100 cycles per sec, as we do not know the sample 39 // rate at compile time we guess it's normaly the default rate. 40 // on OpenBSD we need to set a lower freq, use 20 cycles per sec here as 41 // it seems to work. 42 // FIXME: find out what the problem is and how to fix 43 #ifdef ROAR_OS_OPENBSD 44 #define ROAR_OUTPUT_BUFFER_SAMPLES (ROAR_RATE_DEFAULT/20) 45 #else 36 46 #define ROAR_OUTPUT_BUFFER_SAMPLES (ROAR_RATE_DEFAULT/100) 47 #endif 48 37 49 #endif 38 50
Note: See TracChangeset
for help on using the changeset viewer.