/[svn]/linuxsampler/trunk/src/common/global_private.h
ViewVC logotype

Diff of /linuxsampler/trunk/src/common/global_private.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1832 by iliev, Thu Feb 5 17:48:54 2009 UTC revision 1913 by senoner, Sun Jun 7 16:24:55 2009 UTC
# Line 46  Line 46 
46  /// defines globally the bit depth of used samples  /// defines globally the bit depth of used samples
47  typedef int16_t sample_t;  typedef int16_t sample_t;
48    
49    // macro to check for a certain version (or newer) of GCC
50    #define GNUC_VERSION_PREREQ(major,minor) (__GNUC__ > (major) || (__GNUC__ == (major) && __GNUC_MINOR__ >= (minor)))
51    // macro which checks if GCC vector extensions are avialable
52    #define HAVE_GCC_VECTOR_EXTENSIONS ( GNUC_VERSION_PREREQ(3,3) && ( defined(__i386__) || defined(__x86_64__) || defined(_ARCH_PPC) ) )
53    // v4sf is used by some routines that make use of GCC vector extensions (ie AudioChannel.cpp)
54    typedef float v4sf __attribute__ ((vector_size(16)));
55    
56  /**  /**
57   * Whether a function / method call was successful, or if warnings or even an   * Whether a function / method call was successful, or if warnings or even an
58   * error occured.   * error occured.

Legend:
Removed from v.1832  
changed lines
  Added in v.1913

  ViewVC Help
Powered by ViewVC