1 /* FluidSynth - A Software Synthesizer
3 * Copyright (C) 2003 Peter Hanappe and others.
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public License
7 * as published by the Free Software Foundation; either version 2.1 of
8 * the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free
17 * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 #ifndef _FLUID_SAMPLECACHE_H
23 #define _FLUID_SAMPLECACHE_H
25 #include "fluid_sfont.h"
26 #include "fluid_sffile.h"
28 int fluid_samplecache_load(SFData *sf,
29 unsigned int sample_start, unsigned int sample_end, int sample_type,
30 int try_mlock, short **data, char **data24);
32 int fluid_samplecache_unload(const short *sample_data);
34 #endif /* _FLUID_SAMPLECACHE_H */