summaryrefslogtreecommitdiffstats
path: root/Graphic_Equalizer/include/sample.hch
blob: 27b4733503e9e721564d3b5cc95057c0c86ff390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*! \file sample.hch
 *
 * \section generic Mousedriver API
 *
 * \section project Project information.
 * Project Graphic Equalizer\n
 * \author O.M. Schinagl
 * \date 20041011
 * \version 0.1
 *
 * \section copyright Copyright
 * Copyright ©2004 Koninklijke Philips Electronics N.V. All rights reserved
 *
 * \section history Change history
 * 20041011: O.M. Schinagl\n	Initial version
 *
 ********************************************************************/
 
#ifndef _SAMPLE_HCH
#define _SAMPLE_HCH 1



/*
 * This procedure adds the supplied sample to the input buffer.
 */
void sample_add(in_sample);



/*
 * This procedure rotates our buffers around if 64 samples are read into our
 * current buffer. It returns 1 when 64 samples have passed, 0 otherwise.
 */
unsigned 1 sample_rotate_buffers(void);

#else
#error "ERROR file sample.hch multiple times included"
#endif /* --- _SAMPLE_HCH --- */