libresample
0.1.3
Main Page
Data Structures
Files
File List
Globals
include
libresample.h
Go to the documentation of this file.
1
/**********************************************************************
2
3
resample.h
4
5
Real-time library interface by Dominic Mazzoni
6
7
Based on resample-1.7:
8
http://www-ccrma.stanford.edu/~jos/resample/
9
10
License: LGPL - see the file LICENSE.txt for more information
11
12
**********************************************************************/
13
20
#ifndef LIBRESAMPLE_INCLUDED
21
#define LIBRESAMPLE_INCLUDED
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
/* __cplusplus */
26
43
void
*
resample_open
(
int
highQuality,
44
double
minFactor,
45
double
maxFactor);
46
55
void
*
resample_dup
(
const
void
*handle);
56
64
int
resample_get_filter_width
(
const
void
*handle);
65
95
int
resample_process
(
void
*handle,
96
double
factor,
97
float
*inBuffer,
98
int
inBufferLen,
99
int
lastFlag,
100
int
*inBufferUsed,
101
float
*outBuffer,
102
int
outBufferLen);
103
114
void
resample_close
(
void
*handle);
115
116
#ifdef __cplusplus
117
}
/* extern "C" */
118
#endif
/* __cplusplus */
119
120
#endif
/* LIBRESAMPLE_INCLUDED */
Generated by
1.8.3.1