Thomas Tsou | 9471d76 | 2013-08-20 21:24:24 -0400 | [diff] [blame] | 1 | #ifndef _CONVERT_H_ |
| 2 | #define _CONVERT_H_ |
| 3 | |
Tom Tsou | f147b17 | 2015-03-25 12:55:11 -0700 | [diff] [blame] | 4 | void convert_float_short(short *out, const float *in, float scale, int len); |
Philipp Maier | fe97698 | 2017-03-16 14:50:25 +0100 | [diff] [blame] | 5 | |
Tom Tsou | f147b17 | 2015-03-25 12:55:11 -0700 | [diff] [blame] | 6 | void convert_short_float(float *out, const short *in, int len); |
Philipp Maier | fe97698 | 2017-03-16 14:50:25 +0100 | [diff] [blame] | 7 | |
| 8 | void base_convert_float_short(short *out, const float *in, |
| 9 | float scale, int len); |
| 10 | |
| 11 | void base_convert_short_float(float *out, const short *in, int len); |
| 12 | |
Philipp Maier | 7e07cf2 | 2017-03-15 18:09:35 +0100 | [diff] [blame] | 13 | void convert_init(void); |
Thomas Tsou | 9471d76 | 2013-08-20 21:24:24 -0400 | [diff] [blame] | 14 | |
| 15 | #endif /* _CONVERT_H_ */ |