ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/PDL-Audio/xlib.h
Revision: 1.1
Committed: Tue Dec 28 01:05:16 2004 UTC (19 years, 4 months ago) by root
Content type: text/plain
Branch: MAIN
CVS Tags: rel-1_1, rel-1_2, HEAD
Log Message:
*** empty log message ***

File Contents

# Content
1 /* this is an icluded .c file, _not_ a header file */
2 /* likewise, xaudio.c is an included xs file, _not_ a c file */
3 /* but well, so's life! */
4
5 #include <math.h>
6 #include <stdlib.h>
7
8 #include "remez.h"
9
10 #ifndef M_PI
11 # define M_PI 3.1415926535897932384626433832795029
12 #endif
13 #ifndef M_2PI
14 # define M_2PI (2. * M_PI)
15 #endif
16
17 unsigned char st_linear_to_ulaw(int sample);
18 int st_ulaw_to_linear(unsigned char ulawbyte);
19 unsigned char st_linear_to_Alaw(int sample);
20 int st_Alaw_to_linear(unsigned char Alawbyte);
21
22 typedef double Float;
23
24 void mus_src (Float *input, int inpsize, Float *output, int outsize, Float srate, Float *sr_mod, int width);
25 void mus_granulate (Float *input, int insize,
26 Float *output, int outsize,
27 Float expansion, Float flength, Float scaler,
28 Float hop, Float ramp, Float jitter, int max_size);
29 void mus_convolve (Float * input, Float * output, int size, Float * filter, int fftsize, int filtersize);
30