This file is indexed.

/usr/share/gtk-doc/html/libinstpatch/IpatchDLS2Inst.html is in libinstpatch-doc 1.0.0-3.

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
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>IpatchDLS2Inst</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="ch04.html" title="DLS patches">
<link rel="prev" href="IpatchDLSWriter.html" title="IpatchDLSWriter">
<link rel="next" href="IpatchDLS2Region.html" title="IpatchDLS2Region">
<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="IpatchDLSWriter.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="ch04.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="IpatchDLS2Region.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#IpatchDLS2Inst.synopsis" class="shortcut">Top</a>
                 | 
                <a href="#IpatchDLS2Inst.description" class="shortcut">Description</a>
                 | 
                <a href="#IpatchDLS2Inst.object-hierarchy" class="shortcut">Object Hierarchy</a>
                 | 
                <a href="#IpatchDLS2Inst.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="IpatchDLS2Inst">
<a name="IpatchDLS2Inst"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="IpatchDLS2Inst.top_of_page"></a>IpatchDLS2Inst</span></h2>
<p>IpatchDLS2Inst — DLS instrument object</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1" title="Stability Level">
<a name="IpatchDLS2Inst.stability-level"></a><h2>Stability Level</h2>
Stable, unless otherwise indicated
</div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="IpatchDLS2Inst.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
                    <a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst-struct"
>IpatchDLS2Inst</a>;
#define             <a
href="../libinstpatch/IpatchDLS2Inst.html#IPATCH-DLS2-INST-BANK-MAX--CAPS"
>IPATCH_DLS2_INST_BANK_MAX</a>
enum                <a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2InstFlags"
>IpatchDLS2InstFlags</a>;
#define             <a
href="../libinstpatch/IpatchDLS2Inst.html#IPATCH-DLS2-INST-UNUSED-FLAG-SHIFT--CAPS"
>IPATCH_DLS2_INST_UNUSED_FLAG_SHIFT</a>
<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *    <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-new"
>ipatch_dls2_inst_new</a>                (void);
#define             <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-get-regions"
>ipatch_dls2_inst_get_regions</a>        (inst)
<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *    <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-first"
>ipatch_dls2_inst_first</a>              (<a
href="../libinstpatch/libinstpatch-IpatchIter.html#IpatchIter"
>IpatchIter</a> *iter);
<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *    <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-next"
>ipatch_dls2_inst_next</a>               (<a
href="../libinstpatch/libinstpatch-IpatchIter.html#IpatchIter"
>IpatchIter</a> *iter);
char *              <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-get-info"
>ipatch_dls2_inst_get_info</a>           (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> fourcc);
void                <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-set-info"
>ipatch_dls2_inst_set_info</a>           (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> fourcc,
                                                         const char *val);
void                <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-set-midi-locale"
>ipatch_dls2_inst_set_midi_locale</a>    (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         int bank,
                                                         int program);
void                <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-get-midi-locale"
>ipatch_dls2_inst_get_midi_locale</a>    (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         int *bank,
                                                         int *program);
int                 <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-compare"
>ipatch_dls2_inst_compare</a>            (const <a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *p1,
                                                         const <a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *p2);
<a
href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> *            <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-get-conns"
>ipatch_dls2_inst_get_conns</a>          (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst);
void                <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-set-conn"
>ipatch_dls2_inst_set_conn</a>           (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);
void                <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-unset-conn"
>ipatch_dls2_inst_unset_conn</a>         (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);
void                <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-unset-all-conns"
>ipatch_dls2_inst_unset_all_conns</a>    (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst);
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>               <a
href="../libinstpatch/IpatchDLS2Inst.html#ipatch-dls2-inst-conn-count"
>ipatch_dls2_inst_conn_count</a>         (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="IpatchDLS2Inst.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a
href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
   +----<a
href="../libinstpatch/IpatchItem.html"
>IpatchItem</a>
         +----<a
href="../libinstpatch/IpatchContainer.html"
>IpatchContainer</a>
               +----IpatchDLS2Inst
                     +----<a
href="../libinstpatch/IpatchGigInst.html"
>IpatchGigInst</a>
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="IpatchDLS2Inst.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--archive-location"
>archive-location</a>"         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--artist"
>artist</a>"                   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--bank"
>bank</a>"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--comment"
>comment</a>"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--commissioned"
>commissioned</a>"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--copyright"
>copyright</a>"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--date"
>date</a>"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--engineer"
>engineer</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--genre"
>genre</a>"                    <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--keywords"
>keywords</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--medium"
>medium</a>"                   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--name"
>name</a>"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--percussion"
>percussion</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--product"
>product</a>"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--program"
>program</a>"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--software"
>software</a>"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--source"
>source</a>"                   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--source-form"
>source-form</a>"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--subject"
>subject</a>"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
  "<a
href="../libinstpatch/IpatchDLS2Inst.html#IpatchDLS2Inst--technician"
>technician</a>"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
<a name="IpatchDLS2Inst.description"></a><h2>Description</h2>
<p>
Defines a DLS instrument object.  DLS instruments are the toplevel objects
in the DLS instrument file tree hierarchy.</p>
</div>
<div class="refsect1" title="Details">
<a name="IpatchDLS2Inst.details"></a><h2>Details</h2>
<div class="refsect2" title="IpatchDLS2Inst">
<a name="IpatchDLS2Inst-struct"></a><h3>IpatchDLS2Inst</h3>
<pre class="programlisting">typedef struct _IpatchDLS2Inst IpatchDLS2Inst;</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_DLS2_INST_BANK_MAX">
<a name="IPATCH-DLS2-INST-BANK-MAX--CAPS"></a><h3>IPATCH_DLS2_INST_BANK_MAX</h3>
<pre class="programlisting">#define IPATCH_DLS2_INST_BANK_MAX  0x3FFF
</pre>
</div>
<hr>
<div class="refsect2" title="enum IpatchDLS2InstFlags">
<a name="IpatchDLS2InstFlags"></a><h3>enum IpatchDLS2InstFlags</h3>
<pre class="programlisting">typedef enum
{
  IPATCH_DLS2_INST_PERCUSSION = 1 &lt;&lt; IPATCH_CONTAINER_UNUSED_FLAG_SHIFT
} IpatchDLS2InstFlags;
</pre>
</div>
<hr>
<div class="refsect2" title="IPATCH_DLS2_INST_UNUSED_FLAG_SHIFT">
<a name="IPATCH-DLS2-INST-UNUSED-FLAG-SHIFT--CAPS"></a><h3>IPATCH_DLS2_INST_UNUSED_FLAG_SHIFT</h3>
<pre class="programlisting">#define             IPATCH_DLS2_INST_UNUSED_FLAG_SHIFT</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_new ()">
<a name="ipatch-dls2-inst-new"></a><h3>ipatch_dls2_inst_new ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *    ipatch_dls2_inst_new                (void);</pre>
<p>
Create a new DLS instrument 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 DLS instrument with a reference count of 1. Caller
owns the reference and removing it will destroy the item, unless another
reference is added (if its parented for example).
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_get_regions()">
<a name="ipatch-dls2-inst-get-regions"></a><h3>ipatch_dls2_inst_get_regions()</h3>
<pre class="programlisting">#define             ipatch_dls2_inst_get_regions(inst)</pre>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_first ()">
<a name="ipatch-dls2-inst-first"></a><h3>ipatch_dls2_inst_first ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *    ipatch_dls2_inst_first              (<a
href="../libinstpatch/libinstpatch-IpatchIter.html#IpatchIter"
>IpatchIter</a> *iter);</pre>
<p>
Gets the first item in an instrument iterator. A convenience wrapper for
<a
href="../libinstpatch/libinstpatch-IpatchIter.html#ipatch-iter-first"
><code class="function">ipatch_iter_first()</code></a>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td> Patch item iterator containing <a
href="../libinstpatch/IpatchDLS2Inst.html"
><span class="type">IpatchDLS2Inst</span></a> items
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The first instrument in <em class="parameter"><code>iter</code></em> or <code class="literal">NULL</code> if empty.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_next ()">
<a name="ipatch-dls2-inst-next"></a><h3>ipatch_dls2_inst_next ()</h3>
<pre class="programlisting"><a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *    ipatch_dls2_inst_next               (<a
href="../libinstpatch/libinstpatch-IpatchIter.html#IpatchIter"
>IpatchIter</a> *iter);</pre>
<p>
Gets the next item in an instrument iterator. A convenience wrapper for
<a
href="../libinstpatch/libinstpatch-IpatchIter.html#ipatch-iter-next"
><code class="function">ipatch_iter_next()</code></a>.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>iter</code></em> :</span></p></td>
<td> Patch item iterator containing <a
href="../libinstpatch/IpatchDLS2Inst.html"
><span class="type">IpatchDLS2Inst</span></a> items
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The next instrument in <em class="parameter"><code>iter</code></em> or <code class="literal">NULL</code> if at the end of the list.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_get_info ()">
<a name="ipatch-dls2-inst-get-info"></a><h3>ipatch_dls2_inst_get_info ()</h3>
<pre class="programlisting">char *              ipatch_dls2_inst_get_info           (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> fourcc);</pre>
<p>
Get a DLS instrument info string by FOURCC integer ID (integer
representation of a 4 character RIFF chunk ID, see
<a
href="../libinstpatch/IpatchRiff.html"
><span class="type">IpatchRiff</span></a>).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> DLS instrument to get info from
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fourcc</code></em> :</span></p></td>
<td> FOURCC integer id of INFO to get
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New allocated info string value or <code class="literal">NULL</code> if no info with the
given <em class="parameter"><code>fourcc</code></em> ID. String should be freed when finished with it.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_set_info ()">
<a name="ipatch-dls2-inst-set-info"></a><h3>ipatch_dls2_inst_set_info ()</h3>
<pre class="programlisting">void                ipatch_dls2_inst_set_info           (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"
>guint32</a> fourcc,
                                                         const char *val);</pre>
<p>
Sets an INFO value in a DLS instrument object.
Emits changed signal.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> DLS instrument to set info of
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fourcc</code></em> :</span></p></td>
<td> FOURCC integer ID of INFO to set
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>val</code></em> :</span></p></td>
<td> Value to set info to or <code class="literal">NULL</code> to unset (clear) info.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_set_midi_locale ()">
<a name="ipatch-dls2-inst-set-midi-locale"></a><h3>ipatch_dls2_inst_set_midi_locale ()</h3>
<pre class="programlisting">void                ipatch_dls2_inst_set_midi_locale    (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         int bank,
                                                         int program);</pre>
<p>
Sets the MIDI locale of a DLS instrument (bank and program numbers).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> DLS instrument to set MIDI locale of
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>bank</code></em> :</span></p></td>
<td> MIDI bank number to assign to instrument
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>program</code></em> :</span></p></td>
<td> MIDI program number to assign to instrument
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_get_midi_locale ()">
<a name="ipatch-dls2-inst-get-midi-locale"></a><h3>ipatch_dls2_inst_get_midi_locale ()</h3>
<pre class="programlisting">void                ipatch_dls2_inst_get_midi_locale    (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         int *bank,
                                                         int *program);</pre>
<p>
Gets the MIDI locale of a DLS instrument (bank and program numbers).</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> Instrument to get MIDI locale from
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>bank</code></em> :</span></p></td>
<td> Location to store instrument's MIDI bank number or <code class="literal">NULL</code>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>program</code></em> :</span></p></td>
<td> Location to store instrument's MIDI program number or <code class="literal">NULL</code>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_compare ()">
<a name="ipatch-dls2-inst-compare"></a><h3>ipatch_dls2_inst_compare ()</h3>
<pre class="programlisting">int                 ipatch_dls2_inst_compare            (const <a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *p1,
                                                         const <a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *p2);</pre>
<p>
Instrument comparison function for sorting. Compare two instruments by their
MIDI bank:program numbers. Note that this function is compatible with
GCompareFunc and can therefore be used with g_list_sort, etc.
</p>
<p>
FIXME: Also note that percussion instruments are sorted after regular ones.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>p1</code></em> :</span></p></td>
<td> First instrument in comparison
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>p2</code></em> :</span></p></td>
<td> Second instrument in comparison
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Comparison result that is less than, equal to, or greater than zero
if <em class="parameter"><code>p1</code></em> is found, respectively, to be less than, to match, or be greater
than <em class="parameter"><code>p2</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_get_conns ()">
<a name="ipatch-dls2-inst-get-conns"></a><h3>ipatch_dls2_inst_get_conns ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"
>GSList</a> *            ipatch_dls2_inst_get_conns          (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst);</pre>
<p>
Gets a list of connections from a DLS instrument. List should be freed with
<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-free"
><code class="function">ipatch_dls2_conn_list_free()</code></a> (free_conns set to <code class="literal">TRUE</code>) when finished
with it.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> Instrument to get connections from
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> New list of connections (<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
><span class="type">IpatchDLS2Conn</span></a>) in <em class="parameter"><code>inst</code></em> or
<code class="literal">NULL</code> if no connections. Remember to free it when finished.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_set_conn ()">
<a name="ipatch-dls2-inst-set-conn"></a><h3>ipatch_dls2_inst_set_conn ()</h3>
<pre class="programlisting">void                ipatch_dls2_inst_set_conn           (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);</pre>
<p>
Set a global DLS connection in an instrument. See
<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-set"
><code class="function">ipatch_dls2_conn_list_set()</code></a> for more details.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> DLS instrument
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>conn</code></em> :</span></p></td>
<td> Connection
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_unset_conn ()">
<a name="ipatch-dls2-inst-unset-conn"></a><h3>ipatch_dls2_inst_unset_conn ()</h3>
<pre class="programlisting">void                ipatch_dls2_inst_unset_conn         (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst,
                                                         const <a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#IpatchDLS2Conn"
>IpatchDLS2Conn</a> *conn);</pre>
<p>
Remove a global DLS connection from an instrument. See
<a
href="../libinstpatch/libinstpatch-IpatchDLS2Conn.html#ipatch-dls2-conn-list-unset"
><code class="function">ipatch_dls2_conn_list_unset()</code></a> for more details.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> DLS instrument
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>conn</code></em> :</span></p></td>
<td> Connection
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_unset_all_conns ()">
<a name="ipatch-dls2-inst-unset-all-conns"></a><h3>ipatch_dls2_inst_unset_all_conns ()</h3>
<pre class="programlisting">void                ipatch_dls2_inst_unset_all_conns    (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst);</pre>
<p>
Remove all global connections in an instrument.</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> DLS instrument
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="ipatch_dls2_inst_conn_count ()">
<a name="ipatch-dls2-inst-conn-count"></a><h3>ipatch_dls2_inst_conn_count ()</h3>
<pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"
>guint</a>               ipatch_dls2_inst_conn_count         (<a
href="../libinstpatch/IpatchDLS2Inst.html"
>IpatchDLS2Inst</a> *inst);</pre>
<p>
Count number of connections in a instrument</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>inst</code></em> :</span></p></td>
<td> Instrument to count connections in
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> Count of connections
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="IpatchDLS2Inst.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "archive-location" property'>
<a name="IpatchDLS2Inst--archive-location"></a><h3>The <code class="literal">"archive-location"</code> property</h3>
<pre class="programlisting">  "archive-location"         <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Location where subject is archived.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "artist" property'>
<a name="IpatchDLS2Inst--artist"></a><h3>The <code class="literal">"artist"</code> property</h3>
<pre class="programlisting">  "artist"                   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Original artist.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "bank" property'>
<a name="IpatchDLS2Inst--bank"></a><h3>The <code class="literal">"bank"</code> property</h3>
<pre class="programlisting">  "bank"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>MIDI bank number.</p>
<p>Allowed values: [0,16383]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "comment" property'>
<a name="IpatchDLS2Inst--comment"></a><h3>The <code class="literal">"comment"</code> property</h3>
<pre class="programlisting">  "comment"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Comments.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "commissioned" property'>
<a name="IpatchDLS2Inst--commissioned"></a><h3>The <code class="literal">"commissioned"</code> property</h3>
<pre class="programlisting">  "commissioned"             <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Who commissioned the material.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "copyright" property'>
<a name="IpatchDLS2Inst--copyright"></a><h3>The <code class="literal">"copyright"</code> property</h3>
<pre class="programlisting">  "copyright"                <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Copyright.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "date" property'>
<a name="IpatchDLS2Inst--date"></a><h3>The <code class="literal">"date"</code> property</h3>
<pre class="programlisting">  "date"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Creation date (YYYY-MM-DD).</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "engineer" property'>
<a name="IpatchDLS2Inst--engineer"></a><h3>The <code class="literal">"engineer"</code> property</h3>
<pre class="programlisting">  "engineer"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Engineers separated by "; ".</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "genre" property'>
<a name="IpatchDLS2Inst--genre"></a><h3>The <code class="literal">"genre"</code> property</h3>
<pre class="programlisting">  "genre"                    <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Genre.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "keywords" property'>
<a name="IpatchDLS2Inst--keywords"></a><h3>The <code class="literal">"keywords"</code> property</h3>
<pre class="programlisting">  "keywords"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Keywords (separated by "; ").</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "medium" property'>
<a name="IpatchDLS2Inst--medium"></a><h3>The <code class="literal">"medium"</code> property</h3>
<pre class="programlisting">  "medium"                   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Original medium of the material (record, CD, etc).</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "name" property'>
<a name="IpatchDLS2Inst--name"></a><h3>The <code class="literal">"name"</code> property</h3>
<pre class="programlisting">  "name"                     <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Name.</p>
<p>Default value: "untitled"</p>
</div>
<hr>
<div class="refsect2" title='The "percussion" property'>
<a name="IpatchDLS2Inst--percussion"></a><h3>The <code class="literal">"percussion"</code> property</h3>
<pre class="programlisting">  "percussion"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>              : Read / Write</pre>
<p>Percussion instrument?.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "product" property'>
<a name="IpatchDLS2Inst--product"></a><h3>The <code class="literal">"product"</code> property</h3>
<pre class="programlisting">  "product"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Product intended for.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "program" property'>
<a name="IpatchDLS2Inst--program"></a><h3>The <code class="literal">"program"</code> property</h3>
<pre class="programlisting">  "program"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"
>gint</a>                  : Read / Write</pre>
<p>MIDI program number.</p>
<p>Allowed values: [0,127]</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "software" property'>
<a name="IpatchDLS2Inst--software"></a><h3>The <code class="literal">"software"</code> property</h3>
<pre class="programlisting">  "software"                 <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Editor software used.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "source" property'>
<a name="IpatchDLS2Inst--source"></a><h3>The <code class="literal">"source"</code> property</h3>
<pre class="programlisting">  "source"                   <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Source of the original material.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "source-form" property'>
<a name="IpatchDLS2Inst--source-form"></a><h3>The <code class="literal">"source-form"</code> property</h3>
<pre class="programlisting">  "source-form"              <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Original source that was digitized.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "subject" property'>
<a name="IpatchDLS2Inst--subject"></a><h3>The <code class="literal">"subject"</code> property</h3>
<pre class="programlisting">  "subject"                  <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Subject of the material.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "technician" property'>
<a name="IpatchDLS2Inst--technician"></a><h3>The <code class="literal">"technician"</code> property</h3>
<pre class="programlisting">  "technician"               <a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"
>gchar</a>*                : Read / Write</pre>
<p>Technician who sampled the material.</p>
<p>Default value: NULL</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.11</div>
</body>
</html>