Ticket #114: libao2.afmt.h2.patch
| File libao2.afmt.h2.patch, 910 bytes (added by , 22 years ago) |
|---|
-
libao2/afmt.h
old new 32 32 # define AFMT_AC3 0x00000400 /* Dolby Digital AC3 */ 33 33 #endif 34 34 35 #ifndef __FreeBSD__ 36 35 37 /* 24 bit formats from the linux kernel */ 36 38 #ifndef AFMT_S24_LE 37 39 #define AFMT_S24_LE 0x00000800 … … 46 48 #define AFMT_S32_BE 0x00010000 47 49 #define AFMT_U32_LE 0x00020000 48 50 #define AFMT_U32_BE 0x00040000 51 #endif 52 # else 53 #define AFMT_S24_LE 0x00010000 54 #define AFMT_S24_BE 0x00020000 55 #define AFMT_U24_LE 0x00040000 56 #define AFMT_U24_BE 0x00200000 49 57 #endif 50 58 51 59 /* native endian formats */ -
libao2/pl_format.c
old new 12 12 #include <string.h> 13 13 #include <unistd.h> 14 14 #include <inttypes.h> 15 #include <sys/soundcard.h> 15 16 16 17 #include "audio_out.h" 17 18 #include "audio_plugin.h"
