Changeset 1175:96c01dfee3de in roaraudio
- Timestamp:
- 01/24/09 20:59:56 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r1173 r1175 58 58 EXEC_HELPER='' 59 59 60 ROAR_DRIVER_DEFAULT='' 61 60 62 echo -n "checking for C compiler... " 61 63 if [ "$CC" != '' ] … … 116 118 echo '--default-channels CHANNELS - Set default number of channels for roard and roarclients' 117 119 echo '--default-bits BITS - Set default number of bits per sample for roard and roarclients' 120 echo '--default-driver DRIVER - Set default driver for roard' 118 121 echo 119 122 echo '--without-alaw - Disable support of A-Law codec (de- and encoding)' … … 186 189 '--default-bits') 187 190 DEFAULT_BITS="$2" 191 shift; 192 ;; 193 '--default-driver') 194 ROAR_DRIVER_DEFAULT="$2" 188 195 shift; 189 196 ;; … … 434 441 echo '/* Date : ' $(date) '*/' 435 442 echo 436 [ "$DEFAULT_RATE" = '' ] || echo "#define ROAR_RATE_DEFAULT $DEFAULT_RATE" 437 [ "$DEFAULT_CHANNELS" = '' ] || echo "#define ROAR_CHANNELS_DEFAULT $DEFAULT_CHANNELS" 438 [ "$DEFAULT_BITS" = '' ] || echo "#define ROAR_BITS_DEFAULT $DEFAULT_BITS" 443 [ "$DEFAULT_RATE" = '' ] || echo "#define ROAR_RATE_DEFAULT $DEFAULT_RATE" 444 [ "$DEFAULT_CHANNELS" = '' ] || echo "#define ROAR_CHANNELS_DEFAULT $DEFAULT_CHANNELS" 445 [ "$DEFAULT_BITS" = '' ] || echo "#define ROAR_BITS_DEFAULT $DEFAULT_BITS" 446 [ "$ROAR_DRIVER_DEFAULT" = '' ] || echo "#define ROAR_DRIVER_DEFAULT \"$ROAR_DRIVER_DEFAULT\"" 439 447 echo 440 448 $ALAW && echo '#define ROAR_SUPPORT_ALAW' -
roard/include/driver.h
r950 r1175 30 30 #define DRIVER_USERDATA_T void * 31 31 32 #ifndef ROAR_DRIVER_DEFAULT 32 33 #ifdef ROAR_HAVE_ESD 33 34 #define ROAR_DRIVER_DEFAULT "esd" … … 43 44 44 45 #define ROAR_DRIVER_DEFAULT "null" 46 #endif 45 47 #endif 46 48 #endif
Note: See TracChangeset
for help on using the changeset viewer.