• Bug#266679: libsoundtouch1: st_assert (from ardour CVS) (4/4)

    From Robert Jordens@1:229/2 to All on Wed Aug 18 20:00:16 2004
    [continued from previous message]

    FIFOSampleBuffer inputBuffer;
    - BOOL bQuickseek;
    - BOOL bMMX;
    - BOOL bMidBufferDirty;
    + bool bQuickseek;
    + bool bMMX;
    + bool bMidBufferDirty;

    uint seekBestOverlapPositionStereo(const Sample *refPos);
    uint seekBestOverlapPositionStereoQuick(const Sample *refPos);
    @@ -115,10 +115,10 @@

    // Enables/disables the quick position seeking algorithm. Zero to disable,
    // nonzero to enable
    - void enableQuickSeek(const BOOL enable);
    + void enableQuickSeek(const bool enable);

    // Returns nonzero if the quick seeking algorithm is enabled.
    - BOOL isQuickSeekEnabled() const;
    + bool isQuickSeekEnabled() const;

    // Sets routine control parameters. These control are certain time constants
    // defining how the sound is stretched to the desired duration.
    --- orig/libs/soundtouch/soundtouch/mmx.h
    +++ mod/libs/soundtouch/soundtouch/mmx.h
    @@ -38,10 +38,10 @@


    // Checks if the processor supports MMX instructions. Returns '1' if it the

    // processor supports MMX instructions, otherwise '0'

    -BOOL mmxDetect(void);

    +bool mmxDetect(void);



    // Forces the 'detect_mmx' function to report no MMX support, if called with

    // nonzero value in parameter 'disable'.

    -void mmxDisable(const BOOL disable);

    +void mmxDisable(const bool disable);



    #endif


    --opJtzjQTFsWo+cga
    Content-Type: text/plain; charset=us-ascii
    Content-Disposition: attachment; filename="ardour--sf--0--patch-918.patch" Content-Transfer-Encoding: quoted-printable

    --- orig/libs/soundtouch/configure.ac
    +++ mod/libs/soundtouch/configure.ac
    @@ -8,7 +8,7 @@

    LIBSOUNDTOUCH_MAJOR_VERSION=1
    LIBSOUNDTOUCH_MINOR_VERSION=1
    -LIBSOUNDTOUCH_MICRO_VERSION=0
    +LIBSOUNDTOUCH_MICRO_VERSION=1

    AC_SUBST(LIBSOUNDTOUCH_MAJOR_VERSION)
    AC_SUBST(LIBSOUNDTOUCH_MINOR_VERSION