153a5a1b3Sopenharmony_ci#ifndef foosconv_s16befoo
253a5a1b3Sopenharmony_ci#define foosconv_s16befoo
353a5a1b3Sopenharmony_ci
453a5a1b3Sopenharmony_ci/***
553a5a1b3Sopenharmony_ci  This file is part of PulseAudio.
653a5a1b3Sopenharmony_ci
753a5a1b3Sopenharmony_ci  Copyright 2004-2006 Lennart Poettering
853a5a1b3Sopenharmony_ci
953a5a1b3Sopenharmony_ci  PulseAudio is free software; you can redistribute it and/or modify
1053a5a1b3Sopenharmony_ci  it under the terms of the GNU Lesser General Public License as published
1153a5a1b3Sopenharmony_ci  by the Free Software Foundation; either version 2.1 of the License,
1253a5a1b3Sopenharmony_ci  or (at your option) any later version.
1353a5a1b3Sopenharmony_ci
1453a5a1b3Sopenharmony_ci  PulseAudio is distributed in the hope that it will be useful, but
1553a5a1b3Sopenharmony_ci  WITHOUT ANY WARRANTY; without even the implied warranty of
1653a5a1b3Sopenharmony_ci  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1753a5a1b3Sopenharmony_ci  General Public License for more details.
1853a5a1b3Sopenharmony_ci
1953a5a1b3Sopenharmony_ci  You should have received a copy of the GNU Lesser General Public License
2053a5a1b3Sopenharmony_ci  along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
2153a5a1b3Sopenharmony_ci***/
2253a5a1b3Sopenharmony_ci
2353a5a1b3Sopenharmony_ci#include <inttypes.h>
2453a5a1b3Sopenharmony_ci
2553a5a1b3Sopenharmony_civoid pa_sconv_s16be_to_float32ne(unsigned n, const int16_t *a, float *b);
2653a5a1b3Sopenharmony_civoid pa_sconv_s16be_from_float32ne(unsigned n, const float *a, int16_t *b);
2753a5a1b3Sopenharmony_civoid pa_sconv_s16be_to_float32re(unsigned n, const int16_t *a, float *b);
2853a5a1b3Sopenharmony_civoid pa_sconv_s16be_from_float32re(unsigned n, const float *a, int16_t *b);
2953a5a1b3Sopenharmony_ci
3053a5a1b3Sopenharmony_civoid pa_sconv_s32be_to_float32ne(unsigned n, const int32_t *a, float *b);
3153a5a1b3Sopenharmony_civoid pa_sconv_s32be_from_float32ne(unsigned n, const float *a, int32_t *b);
3253a5a1b3Sopenharmony_civoid pa_sconv_s32be_to_float32re(unsigned n, const int32_t *a, float *b);
3353a5a1b3Sopenharmony_civoid pa_sconv_s32be_from_float32re(unsigned n, const float *a, int32_t *b);
3453a5a1b3Sopenharmony_ci
3553a5a1b3Sopenharmony_civoid pa_sconv_s24be_to_float32ne(unsigned n, const uint8_t *a, float *b);
3653a5a1b3Sopenharmony_civoid pa_sconv_s24be_from_float32ne(unsigned n, const float *a, uint8_t *b);
3753a5a1b3Sopenharmony_civoid pa_sconv_s24be_to_float32re(unsigned n, const uint8_t *a, float *b);
3853a5a1b3Sopenharmony_civoid pa_sconv_s24be_from_float32re(unsigned n, const float *a, uint8_t *b);
3953a5a1b3Sopenharmony_ci
4053a5a1b3Sopenharmony_civoid pa_sconv_s24_32be_to_float32ne(unsigned n, const uint32_t *a, float *b);
4153a5a1b3Sopenharmony_civoid pa_sconv_s24_32be_from_float32ne(unsigned n, const float *a, uint32_t *b);
4253a5a1b3Sopenharmony_civoid pa_sconv_s24_32be_to_float32re(unsigned n, const uint8_t *a, float *b);
4353a5a1b3Sopenharmony_civoid pa_sconv_s24_32be_from_float32re(unsigned n, const float *a, uint8_t *b);
4453a5a1b3Sopenharmony_ci
4553a5a1b3Sopenharmony_civoid pa_sconv_s32be_to_s16ne(unsigned n, const int32_t *a, int16_t *b);
4653a5a1b3Sopenharmony_civoid pa_sconv_s32be_from_s16ne(unsigned n, const int16_t *a, int32_t *b);
4753a5a1b3Sopenharmony_civoid pa_sconv_s32be_to_s16re(unsigned n, const int32_t *a, int16_t *b);
4853a5a1b3Sopenharmony_civoid pa_sconv_s32be_from_s16re(unsigned n, const int16_t *a, int32_t *b);
4953a5a1b3Sopenharmony_ci
5053a5a1b3Sopenharmony_civoid pa_sconv_s24be_to_s16ne(unsigned n, const uint8_t *a, int16_t *b);
5153a5a1b3Sopenharmony_civoid pa_sconv_s24be_from_s16ne(unsigned n, const int16_t *a, uint8_t *b);
5253a5a1b3Sopenharmony_civoid pa_sconv_s24be_to_s16re(unsigned n, const uint8_t *a, int16_t *b);
5353a5a1b3Sopenharmony_civoid pa_sconv_s24be_from_s16re(unsigned n, const int16_t *a, uint8_t *b);
5453a5a1b3Sopenharmony_ci
5553a5a1b3Sopenharmony_civoid pa_sconv_s24_32be_to_s16ne(unsigned n, const uint32_t *a, int16_t *b);
5653a5a1b3Sopenharmony_civoid pa_sconv_s24_32be_from_s16ne(unsigned n, const int16_t *a, uint32_t *b);
5753a5a1b3Sopenharmony_civoid pa_sconv_s24_32be_to_s16re(unsigned n, const uint8_t *a, int16_t *b);
5853a5a1b3Sopenharmony_civoid pa_sconv_s24_32be_from_s16re(unsigned n, const int16_t *a, uint8_t *b);
5953a5a1b3Sopenharmony_ci
6053a5a1b3Sopenharmony_ci#ifdef WORDS_BIGENDIAN
6153a5a1b3Sopenharmony_ci#define pa_sconv_float32be_to_s16ne pa_sconv_s16be_from_float32ne
6253a5a1b3Sopenharmony_ci#define pa_sconv_float32be_from_s16ne pa_sconv_s16be_to_float32ne
6353a5a1b3Sopenharmony_ci#define pa_sconv_float32le_to_s16ne pa_sconv_s16be_from_float32re
6453a5a1b3Sopenharmony_ci#define pa_sconv_float32le_from_s16ne pa_sconv_s16be_to_float32re
6553a5a1b3Sopenharmony_ci#endif
6653a5a1b3Sopenharmony_ci
6753a5a1b3Sopenharmony_ci#endif
68