2 This file is part of PulseAudio.
4 Copyright 2004-2006 Lennart Poettering
6 PulseAudio is free software; you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published
8 by the Free Software Foundation; either version 2.1 of the License,
9 or (at your option) any later version.
11 PulseAudio is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
16 You should have received a copy of the GNU Lesser General Public License
17 along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
24 #include "endianmacros.h"
26 #define INT16_FROM PA_INT16_FROM_BE
27 #define INT16_TO PA_INT16_TO_BE
28 #define UINT16_FROM PA_UINT16_FROM_BE
29 #define UINT16_TO PA_UINT16_TO_BE
31 #define INT32_FROM PA_INT32_FROM_BE
32 #define INT32_TO PA_INT32_TO_BE
33 #define UINT32_FROM PA_UINT32_FROM_BE
34 #define UINT32_TO PA_UINT32_TO_BE
36 #define READ24 PA_READ24BE
37 #define WRITE24 PA_WRITE24BE
39 #define pa_sconv_s16le_to_float32ne pa_sconv_s16be_to_float32ne
40 #define pa_sconv_s16le_from_float32ne pa_sconv_s16be_from_float32ne
41 #define pa_sconv_s16le_to_float32re pa_sconv_s16be_to_float32re
42 #define pa_sconv_s16le_from_float32re pa_sconv_s16be_from_float32re
44 #define pa_sconv_s32le_to_float32ne pa_sconv_s32be_to_float32ne
45 #define pa_sconv_s32le_from_float32ne pa_sconv_s32be_from_float32ne
46 #define pa_sconv_s32le_to_float32re pa_sconv_s32be_to_float32re
47 #define pa_sconv_s32le_from_float32re pa_sconv_s32be_from_float32re
49 #define pa_sconv_s24le_to_float32ne pa_sconv_s24be_to_float32ne
50 #define pa_sconv_s24le_from_float32ne pa_sconv_s24be_from_float32ne
51 #define pa_sconv_s24le_to_float32re pa_sconv_s24be_to_float32re
52 #define pa_sconv_s24le_from_float32re pa_sconv_s24be_from_float32re
54 #define pa_sconv_s24_32le_to_float32ne pa_sconv_s24_32be_to_float32ne
55 #define pa_sconv_s24_32le_from_float32ne pa_sconv_s24_32be_from_float32ne
56 #define pa_sconv_s24_32le_to_float32re pa_sconv_s24_32be_to_float32re
57 #define pa_sconv_s24_32le_from_float32re pa_sconv_s24_32be_from_float32re
59 #define pa_sconv_s32le_to_s16ne pa_sconv_s32be_to_s16ne
60 #define pa_sconv_s32le_from_s16ne pa_sconv_s32be_from_s16ne
61 #define pa_sconv_s32le_to_s16re pa_sconv_s32be_to_s16re
62 #define pa_sconv_s32le_from_s16re pa_sconv_s32be_from_s16re
64 #define pa_sconv_s24le_to_s16ne pa_sconv_s24be_to_s16ne
65 #define pa_sconv_s24le_from_s16ne pa_sconv_s24be_from_s16ne
66 #define pa_sconv_s24le_to_s16re pa_sconv_s24be_to_s16re
67 #define pa_sconv_s24le_from_s16re pa_sconv_s24be_from_s16re
69 #define pa_sconv_s24_32le_to_s16ne pa_sconv_s24_32be_to_s16ne
70 #define pa_sconv_s24_32le_from_s16ne pa_sconv_s24_32be_from_s16ne
71 #define pa_sconv_s24_32le_to_s16re pa_sconv_s24_32be_to_s16re
72 #define pa_sconv_s24_32le_from_s16re pa_sconv_s24_32be_from_s16re
74 #ifdef WORDS_BIGENDIAN
80 #include "sconv-s16le.h"
81 #include "sconv-s16le.c"