This file is indexed.

/usr/share/gtk-doc/html/libinstpatch/IpatchSF2File.html is in libinstpatch-doc 1.0.0-4.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IpatchSF2File</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.1">
<link rel="home" href="index.html" title="libinstpatch Reference Manual">
<link rel="up" href="ch05.html" title="SoundFont patches">
<link rel="prev" href="IpatchSF2.html" title="IpatchSF2">
<link rel="next" href="IpatchSF2Reader.html" title="IpatchSF2Reader">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="ch01.html" title="Base objects and functions">
<link rel="chapter" href="ch02.html" title="Utility objects and functions">
<link rel="chapter" href="ch03.html" title="Sample data objects and functions">
<link rel="chapter" href="ch04.html" title="DLS patches">
<link rel="chapter" href="ch05.html" title="SoundFont patches">
<link rel="chapter" href="ch06.html" title="GigaSampler patches">
<link rel="chapter" href="ch07.html" title="Virtual banks">
<link rel="chapter" href="object-tree.html" title="Object Hierarchy">
<link rel="index" href="api-index-full.html" title="API Index">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="IpatchSF2.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch05.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">libinstpatch Reference Manual</th>
<td><a accesskey="n" href="IpatchSF2Reader.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#IpatchSF2File.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#IpatchSF2File.description" class="shortcut">Description</a>
                 | 
                <a href="#IpatchSF2File.object-hierarchy" class="shortcut">Object Hierarchy</a>
                 | 
                <a href="#IpatchSF2File.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="IpatchSF2File">
<a name="IpatchSF2File"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="IpatchSF2File.top_of_page"></a>IpatchSF2File</span></h2>
<p>IpatchSF2File — SoundFont file object</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="IpatchSF2File.stability-level"></a><h2>Stability Level</h2>
Stable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="IpatchSF2File.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
                    <a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2Phdr"
>IpatchSF2Phdr</a>;
                    <a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2Ihdr"
>IpatchSF2Ihdr</a>;
                    <a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2Shdr"
>IpatchSF2Shdr</a>;
                    <a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2Bag"
>IpatchSF2Bag</a>;
                    <a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2File-struct"
>IpatchSF2File</a>;
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-SFBK--CAPS"
>IPATCH_SFONT_FOURCC_SFBK</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-INFO--CAPS"
>IPATCH_SFONT_FOURCC_INFO</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-SDTA--CAPS"
>IPATCH_SFONT_FOURCC_SDTA</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-PDTA--CAPS"
>IPATCH_SFONT_FOURCC_PDTA</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-SMPL--CAPS"
>IPATCH_SFONT_FOURCC_SMPL</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-SM24--CAPS"
>IPATCH_SFONT_FOURCC_SM24</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-PHDR--CAPS"
>IPATCH_SFONT_FOURCC_PHDR</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-PBAG--CAPS"
>IPATCH_SFONT_FOURCC_PBAG</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-PMOD--CAPS"
>IPATCH_SFONT_FOURCC_PMOD</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-PGEN--CAPS"
>IPATCH_SFONT_FOURCC_PGEN</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-INST--CAPS"
>IPATCH_SFONT_FOURCC_INST</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-IBAG--CAPS"
>IPATCH_SFONT_FOURCC_IBAG</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-IMOD--CAPS"
>IPATCH_SFONT_FOURCC_IMOD</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-IGEN--CAPS"
>IPATCH_SFONT_FOURCC_IGEN</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-SHDR--CAPS"
>IPATCH_SFONT_FOURCC_SHDR</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-IFIL--CAPS"
>IPATCH_SFONT_FOURCC_IFIL</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-ISNG--CAPS"
>IPATCH_SFONT_FOURCC_ISNG</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-INAM--CAPS"
>IPATCH_SFONT_FOURCC_INAM</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-IROM--CAPS"
>IPATCH_SFONT_FOURCC_IROM</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-IVER--CAPS"
>IPATCH_SFONT_FOURCC_IVER</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-ICRD--CAPS"
>IPATCH_SFONT_FOURCC_ICRD</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-IENG--CAPS"
>IPATCH_SFONT_FOURCC_IENG</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-IPRD--CAPS"
>IPATCH_SFONT_FOURCC_IPRD</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-ICOP--CAPS"
>IPATCH_SFONT_FOURCC_ICOP</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-ICMT--CAPS"
>IPATCH_SFONT_FOURCC_ICMT</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-FOURCC-ISFT--CAPS"
>IPATCH_SFONT_FOURCC_ISFT</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-VERSION-SIZE--CAPS"
>IPATCH_SFONT_VERSION_SIZE</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-PHDR-SIZE--CAPS"
>IPATCH_SFONT_PHDR_SIZE</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-INST-SIZE--CAPS"
>IPATCH_SFONT_INST_SIZE</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-SHDR-SIZE--CAPS"
>IPATCH_SFONT_SHDR_SIZE</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-BAG-SIZE--CAPS"
>IPATCH_SFONT_BAG_SIZE</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-MOD-SIZE--CAPS"
>IPATCH_SFONT_MOD_SIZE</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-GEN-SIZE--CAPS"
>IPATCH_SFONT_GEN_SIZE</a>
#define             <a
href="../libinstpatch/IpatchSF2File.html#IPATCH-SFONT-NAME-SIZE--CAPS"
>IPATCH_SFONT_NAME_SIZE</a>
enum                <a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2FileSampleType"
>IpatchSF2FileSampleType</a>;
<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *     <a
href="../libinstpatch/IpatchSF2File.html#ipatch-sf2-file-new"
>ipatch_sf2_file_new</a>                 (void);
void                <a
href="../libinstpatch/IpatchSF2File.html#ipatch-sf2-file-set-sample-pos"
>ipatch_sf2_file_set_sample_pos</a>      (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a> sample_pos);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               <a
href="../libinstpatch/IpatchSF2File.html#ipatch-sf2-file-get-sample-pos"
>ipatch_sf2_file_get_sample_pos</a>      (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file);
void                <a
href="../libinstpatch/IpatchSF2File.html#ipatch-sf2-file-set-sample-size"
>ipatch_sf2_file_set_sample_size</a>     (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a> sample_size);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               <a
href="../libinstpatch/IpatchSF2File.html#ipatch-sf2-file-get-sample-size"
>ipatch_sf2_file_get_sample_size</a>     (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file);
void                <a
href="../libinstpatch/IpatchSF2File.html#ipatch-sf2-file-set-sample24-pos"
>ipatch_sf2_file_set_sample24_pos</a>    (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a> sample24_pos);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               <a
href="../libinstpatch/IpatchSF2File.html#ipatch-sf2-file-get-sample24-pos"
>ipatch_sf2_file_get_sample24_pos</a>    (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="IpatchSF2File.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a>
         +----<a
href="../libinstpatch/IpatchFile.html"
>IpatchFile</a>
               +----IpatchSF2File
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="IpatchSF2File.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2File--sample-pos"
>sample-pos</a>"               <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2File--sample-size"
>sample-size</a>"              <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
  "<a
href="../libinstpatch/IpatchSF2File.html#IpatchSF2File--sample24-pos"
>sample24-pos</a>"             <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
<a name="IpatchSF2File.description"></a><h2>Description</h2>
<p>
A <a
href="../libinstpatch/IpatchFile.html"
><span class="type">IpatchFile</span></a> object type specifically for SoundFont files.</p>
</div>
<div class="refsect1" title="Details">
<a name="IpatchSF2File.details"></a><h2>Details</h2>
<div class="refsect2" title="IpatchSF2Phdr">
<a name="IpatchSF2Phdr"></a><h3>IpatchSF2Phdr</h3>
<pre class="programlisting">typedef struct {
  char name[20];		/* preset name */
  guint16 program;		/* MIDI program number */
  guint16 bank;			/* MIDI bank number */
  guint16 bag_index;	      /* index into preset bag (#IPFileBag) */
  guint32 library;		/* Not used (preserved) */
  guint32 genre;		/* Not used (preserved) */
  guint32 morphology;		/* Not used (preserved) */
} IpatchSF2Phdr;
</pre>
</div>
<hr>
<div class="refsect2" title="IpatchSF2Ihdr">
<a name="IpatchSF2Ihdr"></a><h3>IpatchSF2Ihdr</h3>
<pre class="programlisting">typedef struct {
  char name[20];		/* name of instrument */
  guint16 bag_index;		/* instrument bag index (#IPFileBag) */
} IpatchSF2Ihdr;
</pre>
</div>
<hr>
<div class="refsect2" title="IpatchSF2Shdr">
<a name="IpatchSF2Shdr"></a><h3>IpatchSF2Shdr</h3>
<pre class="programlisting">typedef struct {
  char name[20];		/* sample name */
  guint32 start;		/* offset to start of sample */
  guint32 end;			/* offset to end of sample */
  guint32 loop_start;		/* offset to start of loop */
  guint32 loop_end;		/* offset to end of loop */
  guint32 rate;			/* sample rate recorded at */
  guint8 root_note;		/* root midi note number */
  gint8 fine_tune;		/* pitch correction in cents */
  guint16 link_index;	  /* linked sample index for stereo samples */
  guint16 type;	       /* type of sample (see IpatchSF2SampleFlags) */
} IpatchSF2Shdr;
</pre>
</div>
<hr>
<div class="refsect2" title="IpatchSF2Bag">
<a name="IpatchSF2Bag"></a><h3>IpatchSF2Bag</h3>
<pre class="programlisting">typedef struct {
  guint16 mod_index;		/* index into modulator list */
  guint16 gen_index;		/* index into generator list */
} IpatchSF2Bag;
</pre>
</div>
<hr>
<div class="refsect2" title="IpatchSF2File">
<a name="IpatchSF2File-struct"></a><h3>IpatchSF2File</h3>
<pre class="programlisting">typedef struct _IpatchSF2File IpatchSF2File;</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_SFBK">
<a name="IPATCH-SFONT-FOURCC-SFBK--CAPS"></a><h3>IPATCH_SFONT_FOURCC_SFBK</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_SFBK  IPATCH_FOURCC ('s','f','b','k')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_INFO">
<a name="IPATCH-SFONT-FOURCC-INFO--CAPS"></a><h3>IPATCH_SFONT_FOURCC_INFO</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_INFO  IPATCH_FOURCC ('I','N','F','O')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_SDTA">
<a name="IPATCH-SFONT-FOURCC-SDTA--CAPS"></a><h3>IPATCH_SFONT_FOURCC_SDTA</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_SDTA  IPATCH_FOURCC ('s','d','t','a')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_PDTA">
<a name="IPATCH-SFONT-FOURCC-PDTA--CAPS"></a><h3>IPATCH_SFONT_FOURCC_PDTA</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_PDTA  IPATCH_FOURCC ('p','d','t','a')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_SMPL">
<a name="IPATCH-SFONT-FOURCC-SMPL--CAPS"></a><h3>IPATCH_SFONT_FOURCC_SMPL</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_SMPL  IPATCH_FOURCC ('s','m','p','l')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_SM24">
<a name="IPATCH-SFONT-FOURCC-SM24--CAPS"></a><h3>IPATCH_SFONT_FOURCC_SM24</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_SM24  IPATCH_FOURCC ('s','m','2','4')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_PHDR">
<a name="IPATCH-SFONT-FOURCC-PHDR--CAPS"></a><h3>IPATCH_SFONT_FOURCC_PHDR</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_PHDR  IPATCH_FOURCC ('p','h','d','r')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_PBAG">
<a name="IPATCH-SFONT-FOURCC-PBAG--CAPS"></a><h3>IPATCH_SFONT_FOURCC_PBAG</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_PBAG  IPATCH_FOURCC ('p','b','a','g')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_PMOD">
<a name="IPATCH-SFONT-FOURCC-PMOD--CAPS"></a><h3>IPATCH_SFONT_FOURCC_PMOD</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_PMOD  IPATCH_FOURCC ('p','m','o','d')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_PGEN">
<a name="IPATCH-SFONT-FOURCC-PGEN--CAPS"></a><h3>IPATCH_SFONT_FOURCC_PGEN</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_PGEN  IPATCH_FOURCC ('p','g','e','n')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_INST">
<a name="IPATCH-SFONT-FOURCC-INST--CAPS"></a><h3>IPATCH_SFONT_FOURCC_INST</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_INST  IPATCH_FOURCC ('i','n','s','t')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_IBAG">
<a name="IPATCH-SFONT-FOURCC-IBAG--CAPS"></a><h3>IPATCH_SFONT_FOURCC_IBAG</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_IBAG  IPATCH_FOURCC ('i','b','a','g')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_IMOD">
<a name="IPATCH-SFONT-FOURCC-IMOD--CAPS"></a><h3>IPATCH_SFONT_FOURCC_IMOD</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_IMOD  IPATCH_FOURCC ('i','m','o','d')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_IGEN">
<a name="IPATCH-SFONT-FOURCC-IGEN--CAPS"></a><h3>IPATCH_SFONT_FOURCC_IGEN</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_IGEN  IPATCH_FOURCC ('i','g','e','n')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_SHDR">
<a name="IPATCH-SFONT-FOURCC-SHDR--CAPS"></a><h3>IPATCH_SFONT_FOURCC_SHDR</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_SHDR  IPATCH_FOURCC ('s','h','d','r')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_IFIL">
<a name="IPATCH-SFONT-FOURCC-IFIL--CAPS"></a><h3>IPATCH_SFONT_FOURCC_IFIL</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_IFIL  IPATCH_FOURCC ('i','f','i','l')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_ISNG">
<a name="IPATCH-SFONT-FOURCC-ISNG--CAPS"></a><h3>IPATCH_SFONT_FOURCC_ISNG</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_ISNG  IPATCH_FOURCC ('i','s','n','g')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_INAM">
<a name="IPATCH-SFONT-FOURCC-INAM--CAPS"></a><h3>IPATCH_SFONT_FOURCC_INAM</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_INAM  IPATCH_FOURCC ('I','N','A','M')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_IROM">
<a name="IPATCH-SFONT-FOURCC-IROM--CAPS"></a><h3>IPATCH_SFONT_FOURCC_IROM</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_IROM  IPATCH_FOURCC ('i','r','o','m')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_IVER">
<a name="IPATCH-SFONT-FOURCC-IVER--CAPS"></a><h3>IPATCH_SFONT_FOURCC_IVER</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_IVER  IPATCH_FOURCC ('i','v','e','r')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_ICRD">
<a name="IPATCH-SFONT-FOURCC-ICRD--CAPS"></a><h3>IPATCH_SFONT_FOURCC_ICRD</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_ICRD  IPATCH_FOURCC ('I','C','R','D')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_IENG">
<a name="IPATCH-SFONT-FOURCC-IENG--CAPS"></a><h3>IPATCH_SFONT_FOURCC_IENG</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_IENG  IPATCH_FOURCC ('I','E','N','G')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_IPRD">
<a name="IPATCH-SFONT-FOURCC-IPRD--CAPS"></a><h3>IPATCH_SFONT_FOURCC_IPRD</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_IPRD  IPATCH_FOURCC ('I','P','R','D')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_ICOP">
<a name="IPATCH-SFONT-FOURCC-ICOP--CAPS"></a><h3>IPATCH_SFONT_FOURCC_ICOP</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_ICOP  IPATCH_FOURCC ('I','C','O','P')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_ICMT">
<a name="IPATCH-SFONT-FOURCC-ICMT--CAPS"></a><h3>IPATCH_SFONT_FOURCC_ICMT</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_ICMT  IPATCH_FOURCC ('I','C','M','T')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_FOURCC_ISFT">
<a name="IPATCH-SFONT-FOURCC-ISFT--CAPS"></a><h3>IPATCH_SFONT_FOURCC_ISFT</h3>
<pre class="programlisting">#define IPATCH_SFONT_FOURCC_ISFT  IPATCH_FOURCC ('I','S','F','T')
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_VERSION_SIZE">
<a name="IPATCH-SFONT-VERSION-SIZE--CAPS"></a><h3>IPATCH_SFONT_VERSION_SIZE</h3>
<pre class="programlisting">#define IPATCH_SFONT_VERSION_SIZE 4 /* file version info size */
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_PHDR_SIZE">
<a name="IPATCH-SFONT-PHDR-SIZE--CAPS"></a><h3>IPATCH_SFONT_PHDR_SIZE</h3>
<pre class="programlisting">#define IPATCH_SFONT_PHDR_SIZE 38  /* file preset header size */
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_INST_SIZE">
<a name="IPATCH-SFONT-INST-SIZE--CAPS"></a><h3>IPATCH_SFONT_INST_SIZE</h3>
<pre class="programlisting">#define IPATCH_SFONT_INST_SIZE 22  /* file instrument header size */
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_SHDR_SIZE">
<a name="IPATCH-SFONT-SHDR-SIZE--CAPS"></a><h3>IPATCH_SFONT_SHDR_SIZE</h3>
<pre class="programlisting">#define IPATCH_SFONT_SHDR_SIZE 46  /* file sample header size */
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_BAG_SIZE">
<a name="IPATCH-SFONT-BAG-SIZE--CAPS"></a><h3>IPATCH_SFONT_BAG_SIZE</h3>
<pre class="programlisting">#define IPATCH_SFONT_BAG_SIZE  4   /* file bag (zone) size */
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_MOD_SIZE">
<a name="IPATCH-SFONT-MOD-SIZE--CAPS"></a><h3>IPATCH_SFONT_MOD_SIZE</h3>
<pre class="programlisting">#define IPATCH_SFONT_MOD_SIZE  10  /* file modulator size */
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_GEN_SIZE">
<a name="IPATCH-SFONT-GEN-SIZE--CAPS"></a><h3>IPATCH_SFONT_GEN_SIZE</h3>
<pre class="programlisting">#define IPATCH_SFONT_GEN_SIZE  4   /* file generator size */
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_SFONT_NAME_SIZE">
<a name="IPATCH-SFONT-NAME-SIZE--CAPS"></a><h3>IPATCH_SFONT_NAME_SIZE</h3>
<pre class="programlisting">#define IPATCH_SFONT_NAME_SIZE 20  /* name string size (Preset/Inst/Sample) */
</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchSF2FileSampleType">
<a name="IpatchSF2FileSampleType"></a><h3>enum IpatchSF2FileSampleType</h3>
<pre class="programlisting">typedef enum
{
  IPATCH_SF2_FILE_SAMPLE_TYPE_MONO      = 1 &lt;&lt; 0,
  IPATCH_SF2_FILE_SAMPLE_TYPE_RIGHT     = 1 &lt;&lt; 1,
  IPATCH_SF2_FILE_SAMPLE_TYPE_LEFT      = 1 &lt;&lt; 2,
  IPATCH_SF2_FILE_SAMPLE_TYPE_LINKED    = 1 &lt;&lt; 3,
  IPATCH_SF2_FILE_SAMPLE_TYPE_ROM       = 1 &lt;&lt; 15
} IpatchSF2FileSampleType;
</pre>
<p>
SoundFont file sample channel mode</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="IPATCH-SF2-FILE-SAMPLE-TYPE-MONO--CAPS"></a><span class="term"><code class="literal">IPATCH_SF2_FILE_SAMPLE_TYPE_MONO</code></span></p></td>
<td> Mono channel
</td>
</tr>
<tr>
<td><p><a name="IPATCH-SF2-FILE-SAMPLE-TYPE-RIGHT--CAPS"></a><span class="term"><code class="literal">IPATCH_SF2_FILE_SAMPLE_TYPE_RIGHT</code></span></p></td>
<td> Right channel of a stereo pair
</td>
</tr>
<tr>
<td><p><a name="IPATCH-SF2-FILE-SAMPLE-TYPE-LEFT--CAPS"></a><span class="term"><code class="literal">IPATCH_SF2_FILE_SAMPLE_TYPE_LEFT</code></span></p></td>
<td> Left channel of a stereo pair
</td>
</tr>
<tr>
<td><p><a name="IPATCH-SF2-FILE-SAMPLE-TYPE-LINKED--CAPS"></a><span class="term"><code class="literal">IPATCH_SF2_FILE_SAMPLE_TYPE_LINKED</code></span></p></td>
<td> Linked list of samples (not yet used)
</td>
</tr>
<tr>
<td><p><a name="IPATCH-SF2-FILE-SAMPLE-TYPE-ROM--CAPS"></a><span class="term"><code class="literal">IPATCH_SF2_FILE_SAMPLE_TYPE_ROM</code></span></p></td>
<td> A ROM sample
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_sf2_file_new ()">
<a name="ipatch-sf2-file-new"></a><h3>ipatch_sf2_file_new ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *     ipatch_sf2_file_new                 (void);</pre>
<p>
Create a new SoundFont file object.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New SoundFont file object (derived from IpatchFile) with a
reference count of 1. Caller owns the reference and removing it will
destroy the item.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_sf2_file_set_sample_pos ()">
<a name="ipatch-sf2-file-set-sample-pos"></a><h3>ipatch_sf2_file_set_sample_pos ()</h3>
<pre class="programlisting">void                ipatch_sf2_file_set_sample_pos      (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a> sample_pos);</pre>
<p>
Sets the position of the sample data chunk in a SoundFont file object.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
<td> SoundFont file object to set position of sample chunk
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sample_pos</code></em> :</span></p></td>
<td> Position in the SoundFont file of the first sample of the
  sample data chunk, in bytes
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_sf2_file_get_sample_pos ()">
<a name="ipatch-sf2-file-get-sample-pos"></a><h3>ipatch_sf2_file_get_sample_pos ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               ipatch_sf2_file_get_sample_pos      (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file);</pre>
<p>
Gets the position of the sample data chunk in a SoundFont file object.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
<td> SoundFont file object to get position of sample chunk from
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Position in the SoundFont file of the first sample of the
  sample data chunk, in bytes
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_sf2_file_set_sample_size ()">
<a name="ipatch-sf2-file-set-sample-size"></a><h3>ipatch_sf2_file_set_sample_size ()</h3>
<pre class="programlisting">void                ipatch_sf2_file_set_sample_size     (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a> sample_size);</pre>
<p>
Sets the size of the sample data chunk in a SoundFont file object.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
<td> SoundFont file object to set the size of the sample chunk
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sample_size</code></em> :</span></p></td>
<td> Size of the sample data chunk, in samples
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_sf2_file_get_sample_size ()">
<a name="ipatch-sf2-file-get-sample-size"></a><h3>ipatch_sf2_file_get_sample_size ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               ipatch_sf2_file_get_sample_size     (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file);</pre>
<p>
Gets the size of the sample data chunk in a SoundFont file object.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
<td> SoundFont file object to get the size of the sample chunk from
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Size of the sample data chunk, in samples
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_sf2_file_set_sample24_pos ()">
<a name="ipatch-sf2-file-set-sample24-pos"></a><h3>ipatch_sf2_file_set_sample24_pos ()</h3>
<pre class="programlisting">void                ipatch_sf2_file_set_sample24_pos    (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file,
                                                         <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a> sample24_pos);</pre>
<p>
Sets the position of the sample 24 data chunk in a SoundFont file object.
This optional chunk contains the lower significant bytes of 24 bit samples.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
<td> SoundFont file object to set position of sample24 chunk
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sample24_pos</code></em> :</span></p></td>
<td> Position in the SoundFont file of the first sample of the
  sample 24 data chunk, in bytes
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_sf2_file_get_sample24_pos ()">
<a name="ipatch-sf2-file-get-sample24-pos"></a><h3>ipatch_sf2_file_get_sample24_pos ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>               ipatch_sf2_file_get_sample24_pos    (<a
href="../libinstpatch/IpatchSF2File.html"
>IpatchSF2File</a> *file);</pre>
<p>
Gets the position of the sample24 data chunk in a SoundFont file object.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>file</code></em> :</span></p></td>
<td> SoundFont file object to get position of sample24 chunk from
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Position in the SoundFont file of the first byte of the
  sample24 data chunk, in bytes
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="IpatchSF2File.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "sample-pos" property'>
<a name="IpatchSF2File--sample-pos"></a><h3>The <code class="literal">"sample-pos"</code> property</h3>
<pre class="programlisting">  "sample-pos"               <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>Position in file of sample data chunk.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "sample-size" property'>
<a name="IpatchSF2File--sample-size"></a><h3>The <code class="literal">"sample-size"</code> property</h3>
<pre class="programlisting">  "sample-size"              <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>Size of sample data chunk, in samples.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "sample24-pos" property'>
<a name="IpatchSF2File--sample24-pos"></a><h3>The <code class="literal">"sample24-pos"</code> property</h3>
<pre class="programlisting">  "sample24-pos"             <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#guint"
>guint</a>                 : Read / Write</pre>
<p>Position in file of 24 bit sample chunk.</p>
<p>Default value: 0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>