misc/openalbridge/globals.h
changeset 3513 f589230fa21b
parent 3364 e5403e2bf02c
equal deleted inserted replaced
3512:6a8b5f313190 3513:f589230fa21b
    28 #include <syslog.h>
    28 #include <syslog.h>
    29 #else
    29 #else
    30 #include <process.h>
    30 #include <process.h>
    31 #endif
    31 #endif
    32 
    32 
    33 
       
    34 // control debug verbosity
       
    35 #ifdef TRACE
       
    36 #ifndef DEBUG
       
    37 #define DEBUG
       
    38 #endif
       
    39 #endif
       
    40 
    33 
    41 // 1.0 02/03/10 - Defines cross-platform sleep, usleep, etc. [Wu Yongwei]
    34 // 1.0 02/03/10 - Defines cross-platform sleep, usleep, etc. [Wu Yongwei]
    42 #ifndef _SLEEP_H
    35 #ifndef _SLEEP_H
    43 #define _SLEEP_H
    36 #define _SLEEP_H
    44 #ifdef _WIN32
    37 #ifdef _WIN32
    90 #define ENDIAN_BIG_32(x)    x
    83 #define ENDIAN_BIG_32(x)    x
    91 #define ENDIAN_LITTLE_16(x) bswap_16(x)
    84 #define ENDIAN_LITTLE_16(x) bswap_16(x)
    92 #define ENDIAN_BIG_16(x)    x
    85 #define ENDIAN_BIG_16(x)    x
    93 #endif
    86 #endif
    94 
    87 
    95 /*file format defines*/
    88 /* file format defines */
    96 #define OGG_FILE_FORMAT         0x4F676753
    89 #define OGG_FILE_FORMAT         0x4F676753
    97 #define WAV_FILE_FORMAT         0x52494646
    90 #define WAV_FILE_FORMAT         0x52494646
    98 #define WAV_HEADER_SUBCHUNK2ID  0x64617461
    91 #define WAV_HEADER_SUBCHUNK2ID  0x64617461
    99 
    92 
   100 
    93