Ticket #114: afmt_compile.diff

File afmt_compile.diff, 586 bytes (added by reimar, 22 years ago)

another variant

  • libao2/afmt.h

     
    3434
    3535/* 24 bit formats from the linux kernel */
    3636#ifndef AFMT_S24_LE
     37
     38// FreeBSD fix...
     39#if AFMT_S32_LE == 0x4000
     40
     41#define AFMT_S24_LE             0x00010000
     42#define AFMT_S24_BE             0x00020000
     43#define AFMT_U24_LE             0x00040000
     44#define AFMT_U24_BE             0x00080000
     45
     46#else
     47
    3748#define AFMT_S24_LE             0x00000800
    3849#define AFMT_S24_BE             0x00001000
    3950#define AFMT_U24_LE             0x00002000
    4051#define AFMT_U24_BE             0x00004000
     52
     53#endif
     54
    4155#endif
    4256
    4357/* 32 bit formats from the linux kernel */