1
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
2
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
3
<title>libfluidsynth: _fluid_sfont_t Struct Reference</title>
4
4
<link href="doxygen.css" rel="stylesheet" type="text/css">
5
<link href="tabs.css" rel="stylesheet" type="text/css">
6
<!-- Generated by Doxygen 1.4.4 -->
7
<div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="dirs.html">Directories</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div>
7
<!-- Generated by Doxygen 1.5.3 -->
10
<li><a href="index.html"><span>Main Page</span></a></li>
11
<li class="current"><a href="annotated.html"><span>Data Structures</span></a></li>
12
<li><a href="files.html"><span>Files</span></a></li>
17
<li><a href="annotated.html"><span>Data Structures</span></a></li>
18
<li><a href="functions.html"><span>Data Fields</span></a></li>
8
21
<h1>_fluid_sfont_t Struct Reference</h1><!-- doxytag: class="_fluid_sfont_t" --><table border="0" cellpadding="0" cellspacing="0">
10
23
<tr><td colspan="2"><br><h2>Data Fields</h2></td></tr>
11
<tr><td class="memItemLeft" nowrap align="right" valign="top">void * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#o0">data</a></td></tr>
13
<tr><td class="memItemLeft" nowrap align="right" valign="top">unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#o1">id</a></td></tr>
15
<tr><td class="memItemLeft" nowrap align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#o2">free</a> )(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont)</td></tr>
17
<tr><td class="mdescLeft"> </td><td class="mdescRight">The 'free' callback function should return 0 when it was able to free all resources. <a href="#o2"></a><br></td></tr>
18
<tr><td class="memItemLeft" nowrap align="right" valign="top">char *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#o3">get_name</a> )(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont)</td></tr>
20
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name of the sfont. <a href="#o3"></a><br></td></tr>
21
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct__fluid__preset__t.html">fluid_preset_t</a> *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#o4">get_preset</a> )(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont, unsigned int bank, unsigned int prenum)</td></tr>
23
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the preset with the specified bank and preset number. <a href="#o4"></a><br></td></tr>
24
<tr><td class="memItemLeft" nowrap align="right" valign="top">void(* </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#o5">iteration_start</a> )(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont)</td></tr>
26
<tr><td class="memItemLeft" nowrap align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#o6">iteration_next</a> )(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont, <a class="el" href="struct__fluid__preset__t.html">fluid_preset_t</a> *preset)</td></tr>
24
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5a79644021fa078479da5273c4ebfbbc"></a><!-- doxytag: member="_fluid_sfont_t::data" ref="5a79644021fa078479da5273c4ebfbbc" args="" -->
25
void * </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#5a79644021fa078479da5273c4ebfbbc">data</a></td></tr>
27
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="e955816cff10890c6369ac04733d37fb"></a><!-- doxytag: member="_fluid_sfont_t::id" ref="e955816cff10890c6369ac04733d37fb" args="" -->
28
unsigned int </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#e955816cff10890c6369ac04733d37fb">id</a></td></tr>
30
<tr><td class="memItemLeft" nowrap align="right" valign="top">int(* </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#7e57ed204828e112df6ac3b6fe0285f3">free</a> )(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont)</td></tr>
32
<tr><td class="mdescLeft"> </td><td class="mdescRight">The 'free' callback function should return 0 when it was able to free all resources. <a href="#7e57ed204828e112df6ac3b6fe0285f3"></a><br></td></tr>
33
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="05299d68a39b2084a16c54f6c86c0561"></a><!-- doxytag: member="_fluid_sfont_t::get_name" ref="05299d68a39b2084a16c54f6c86c0561" args=")(fluid_sfont_t *sfont)" -->
34
char *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#05299d68a39b2084a16c54f6c86c0561">get_name</a> )(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont)</td></tr>
36
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the name of the sfont. <br></td></tr>
37
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="struct__fluid__preset__t.html">fluid_preset_t</a> *(* </td><td class="memItemRight" valign="bottom"><a class="el" href="struct__fluid__sfont__t.html#115f22a8b4cd766d38b223e785b8e983">get_preset</a> )(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont, unsigned int bank, unsigned int prenum)</td></tr>
39
<tr><td class="mdescLeft"> </td><td class="mdescRight">Return the preset with the specified bank and preset number. <a href="#115f22a8b4cd766d38b223e785b8e983"></a><br></td></tr>
29
41
<hr><a name="_details"></a><h2>Detailed Description</h2>
34
Definition at line <a class="el" href="sfont_8h-source.html#l00092">92</a> of file <a class="el" href="sfont_8h-source.html">sfont.h</a>.<hr><h2>Field Documentation</h2>
35
<a class="anchor" name="o0"></a><!-- doxytag: member="_fluid_sfont_t::data" ref="o0" args="" --><p>
36
<table class="mdTable" cellpadding="2" cellspacing="0">
39
<table cellpadding="0" cellspacing="0" border="0">
41
<td class="md" nowrap valign="top">void* <a class="el" href="struct__fluid__sfont__t.html#o0">_fluid_sfont_t::data</a> </td>
47
<table cellspacing="5" cellpadding="0" border="0">
57
Definition at line <a class="el" href="sfont_8h-source.html#l00093">93</a> of file <a class="el" href="sfont_8h-source.html">sfont.h</a>. </td>
60
<a class="anchor" name="o2"></a><!-- doxytag: member="_fluid_sfont_t::free" ref="o2" args=")(fluid_sfont_t *sfont)" --><p>
61
<table class="mdTable" cellpadding="2" cellspacing="0">
64
<table cellpadding="0" cellspacing="0" border="0">
66
<td class="md" nowrap valign="top">int(* <a class="el" href="struct__fluid__sfont__t.html#o2">_fluid_sfont_t::free</a>)(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont) </td>
72
<table cellspacing="5" cellpadding="0" border="0">
43
<p>Definition at line <a class="el" href="sfont_8h-source.html#l00092">92</a> of file <a class="el" href="sfont_8h-source.html">sfont.h</a>.</p>
44
<hr><h2>Field Documentation</h2>
45
<a class="anchor" name="7e57ed204828e112df6ac3b6fe0285f3"></a><!-- doxytag: member="_fluid_sfont_t::free" ref="7e57ed204828e112df6ac3b6fe0285f3" args=")(fluid_sfont_t *sfont)" -->
47
<div class="memproto">
48
<table class="memname">
50
<td class="memname">int(* <a class="el" href="struct__fluid__sfont__t.html#7e57ed204828e112df6ac3b6fe0285f3">_fluid_sfont_t::free</a>)(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont) </td>
80
57
The 'free' callback function should return 0 when it was able to free all resources.
82
It should return a non-zero value if some of the samples could not be freed because they are still in use. </td>
85
<a class="anchor" name="o3"></a><!-- doxytag: member="_fluid_sfont_t::get_name" ref="o3" args=")(fluid_sfont_t *sfont)" --><p>
86
<table class="mdTable" cellpadding="2" cellspacing="0">
89
<table cellpadding="0" cellspacing="0" border="0">
91
<td class="md" nowrap valign="top">char*(* <a class="el" href="struct__fluid__sfont__t.html#o3">_fluid_sfont_t::get_name</a>)(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont) </td>
97
<table cellspacing="5" cellpadding="0" border="0">
105
Return the name of the sfont.
110
<a class="anchor" name="o4"></a><!-- doxytag: member="_fluid_sfont_t::get_preset" ref="o4" args=")(fluid_sfont_t *sfont, unsigned int bank, unsigned int prenum)" --><p>
111
<table class="mdTable" cellpadding="2" cellspacing="0">
114
<table cellpadding="0" cellspacing="0" border="0">
116
<td class="md" nowrap valign="top"><a class="el" href="struct__fluid__preset__t.html">fluid_preset_t</a>*(* <a class="el" href="struct__fluid__sfont__t.html#o4">_fluid_sfont_t::get_preset</a>)(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont, unsigned int bank, unsigned int prenum) </td>
122
<table cellspacing="5" cellpadding="0" border="0">
59
It should return a non-zero value if some of the samples could not be freed because they are still in use.
62
<a class="anchor" name="115f22a8b4cd766d38b223e785b8e983"></a><!-- doxytag: member="_fluid_sfont_t::get_preset" ref="115f22a8b4cd766d38b223e785b8e983" args=")(fluid_sfont_t *sfont, unsigned int bank, unsigned int prenum)" -->
64
<div class="memproto">
65
<table class="memname">
67
<td class="memname"><a class="el" href="struct__fluid__preset__t.html">fluid_preset_t</a>*(* <a class="el" href="struct__fluid__sfont__t.html#115f22a8b4cd766d38b223e785b8e983">_fluid_sfont_t::get_preset</a>)(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont, unsigned int bank, unsigned int prenum) </td>
130
74
Return the preset with the specified bank and preset number.
132
All the fields, including the 'sfont' field, should * be filled in. If the preset cannot be found, the function returns NULL. </td>
135
<a class="anchor" name="o1"></a><!-- doxytag: member="_fluid_sfont_t::id" ref="o1" args="" --><p>
136
<table class="mdTable" cellpadding="2" cellspacing="0">
139
<table cellpadding="0" cellspacing="0" border="0">
141
<td class="md" nowrap valign="top">unsigned int <a class="el" href="struct__fluid__sfont__t.html#o1">_fluid_sfont_t::id</a> </td>
147
<table cellspacing="5" cellpadding="0" border="0">
157
Definition at line <a class="el" href="sfont_8h-source.html#l00094">94</a> of file <a class="el" href="sfont_8h-source.html">sfont.h</a>. </td>
160
<a class="anchor" name="o6"></a><!-- doxytag: member="_fluid_sfont_t::iteration_next" ref="o6" args=")(fluid_sfont_t *sfont, fluid_preset_t *preset)" --><p>
161
<table class="mdTable" cellpadding="2" cellspacing="0">
164
<table cellpadding="0" cellspacing="0" border="0">
166
<td class="md" nowrap valign="top">int(* <a class="el" href="struct__fluid__sfont__t.html#o6">_fluid_sfont_t::iteration_next</a>)(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont, <a class="el" href="struct__fluid__preset__t.html">fluid_preset_t</a> *preset) </td>
172
<table cellspacing="5" cellpadding="0" border="0">
183
<a class="anchor" name="o5"></a><!-- doxytag: member="_fluid_sfont_t::iteration_start" ref="o5" args=")(fluid_sfont_t *sfont)" --><p>
184
<table class="mdTable" cellpadding="2" cellspacing="0">
187
<table cellpadding="0" cellspacing="0" border="0">
189
<td class="md" nowrap valign="top">void(* <a class="el" href="struct__fluid__sfont__t.html#o5">_fluid_sfont_t::iteration_start</a>)(<a class="el" href="struct__fluid__sfont__t.html">fluid_sfont_t</a> *sfont) </td>
195
<table cellspacing="5" cellpadding="0" border="0">
76
All the fields, including the 'sfont' field, should * be filled in. If the preset cannot be found, the function returns NULL.
206
79
<hr>The documentation for this struct was generated from the following file:<ul>
207
<li><a class="el" href="sfont_8h-source.html">sfont.h</a></ul>
208
<hr size="1"><address style="align: right;"><small>Generated on Sun Feb 19 02:34:30 2006 for libfluidsynth by
80
<li>include/fluidsynth/<a class="el" href="sfont_8h-source.html">sfont.h</a></ul>
81
<hr size="1"><address style="text-align: right;"><small>Generated on Sat Nov 17 13:40:24 2007 for libfluidsynth by
209
82
<a href="http://www.doxygen.org/index.html">
210
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.4.4 </small></address>
83
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.3 </small></address>