Changeset 5102:04186989eedd in roaraudio


Ignore:
Timestamp:
07/24/11 16:19:28 (13 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

roard now starts up in 32 bit mode by default. (configure option has been addded) (Closes: #48)

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r5099 r5102  
    33        * Added new error codes (mostly from POSIX) 
    44        * Corrected targets for complibs symlinks (Closes: #168) 
     5        * roard now starts up in 32 bit mode by default. 
     6          (configure option has been addded) (Closes: #48) 
    57 
    68v. 0.4beta7 - Sun Jul 10 2011 13:26 CEST 
  • configure

    r5089 r5102  
    138138ROAR_DRIVER_CODEC='' 
    139139 
     140ROARD_BITS=''  # Bits per sample used by roard. 
    140141ROARD_CFREQ='' # cycle frequens for roard, normally 100Hz 
    141142 
     
    295296   echo '                            - Sets distribution part of version string' 
    296297   echo 
    297    echo '--roard-cfreq FREQ          - Sets the cycle frequency of roard in Hz.' 
     298   echo '--roard-cfreq FREQ          - Sets the cycle frequency of roard in Hz' 
     299   echo '--roard-bits  BITS          - Sets the number of bits per sample used by roard' 
    298300   echo '--vorbis-bits BITS          - Sets bits per sample used by Vorbis code' 
    299301   echo 
     
    510512  '--roard-cfreq') 
    511513   ROARD_CFREQ="$2" 
     514   shift; 
     515  ;; 
     516  '--roard-bits') 
     517   ROARD_BITS="$2" 
    512518   shift; 
    513519  ;; 
     
    14071413 echo 
    14081414 [ "$ROARD_CFREQ"         = '' ] || echo "#define ROAR_OUTPUT_CFREQ     $ROARD_CFREQ" 
    1409  echo "#define ROAR_VORBIS_BITS     $VORBIS_BITS" 
     1415 [ "$ROARD_BITS"          = '' ] || echo "#define ROAR_ROARD_BITS       $ROARD_BITS" 
     1416 echo "#define ROAR_VORBIS_BITS      $VORBIS_BITS" 
    14101417 echo 
    14111418 $MINIMAL      && echo '#define ROAR_MINIMAL' 
  • roard/include/roard.h

    r4955 r5102  
    182182int g_terminate; 
    183183 
     184#ifndef ROAR_ROARD_BITS 
     185#define ROAR_ROARD_BITS 32 
     186#endif 
     187 
    184188struct roar_audio_info * g_sa, * g_max_sa; 
    185189 
  • roard/roard.c

    r5096 r5102  
    14321432 g_verbose       = ROAR_DBG_INFO_NONE; 
    14331433 
    1434  sa.bits     = ROAR_BITS_DEFAULT; 
     1434 sa.bits     = ROAR_ROARD_BITS; 
    14351435 sa.channels = ROAR_CHANNELS_DEFAULT; 
    14361436 sa.rate     = ROAR_RATE_DEFAULT; 
Note: See TracChangeset for help on using the changeset viewer.