PS2SDK
PS2 Homebrew Libraries
upsamplers.h
Go to the documentation of this file.
1 /*
2 # _____ ___ ____ ___ ____
3 # ____| | ____| | | |____|
4 # | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5 #-----------------------------------------------------------------------
6 # Copyright 2005, ps2dev - http://www.ps2dev.org
7 # Licenced under GNU Library General Public License version 2
8 */
9 
15 #ifndef __UPSAMPLERS_INCLUDED__
16 #define __UPSAMPLERS_INCLUDED__
17 
18 typedef struct upsample_t
19 {
20  short *left;
21  short *right;
22  const unsigned char *src;
23 } upsample_t;
24 
25 typedef int (*upsampler_t)(struct upsample_t *up);
26 
27 extern upsampler_t find_upsampler(int freq, int bits, int channels);
28 
29 #endif
find_upsampler
upsampler_t find_upsampler(int freq, int bits, int channels)
Definition: upsamplers.c:636
upsample_t
Definition: upsamplers.h:18