File: buzztrax-core-docs.xml

package info (click to toggle)
buzztrax 0.10.2-10
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 19,984 kB
  • sloc: ansic: 109,707; sh: 12,875; cpp: 10,882; xml: 6,081; makefile: 508; javascript: 338; asm: 116
file content (191 lines) | stat: -rw-r--r-- 7,710 bytes parent folder | download | duplicates (6)
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
<?xml version="1.0"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
               "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % version-entities SYSTEM "../../version.entities">
%version-entities;
<!ELEMENT xi:include (xi:fallback?) >
<!ATTLIST xi:include
    xmlns:xi   CDATA       #FIXED    "http://www.w3.org/2003/XInclude"
    href       CDATA       #IMPLIED
    parse      (xml|text)  "xml"
    xpointer   CDATA       #IMPLIED
    encoding   CDATA       #IMPLIED 
    accept     CDATA       #IMPLIED
    accept-language CDATA  #IMPLIED >

<!ELEMENT xi:fallback ANY>
<!ATTLIST xi:fallback
    xmlns:xi   CDATA   #FIXED   "http://www.w3.org/2003/XInclude" >

<!ATTLIST book
    xmlns:xi   CDATA       #FIXED    "http://www.w3.org/2003/XInclude" >

<!ENTITY % local.refentry.class "| xi:include">
]>
<book id="index" xmlns:xi="http://www.w3.org/2003/XInclude">
  <bookinfo>
    <title>Buzztrax Bt-Core Reference Manual</title>
    <releaseinfo>
      for Buzztrax &BT_VERSION;.
      The latest version of this documentation can be found on-line at
      <ulink role="online-location" url="http://www.buzztrax.org/files/apidocs/bt-core/">http://www.buzztrax.org/files/apidocs/bt-core/</ulink>.
    </releaseinfo>
  </bookinfo>

  <preface>
    <title>Introduction</title>
    <para>
      Buzztrax aims to be a successor of the freeware music tracker called Buzz
      with a focus on Linux. The development of Buzz for windows had been
      discontinued as the author lost all his source-codes. Buzztrax is only
      related to Buzz in the concepts, Buzztraxs source code is written from
      scratch.
    </para>
    <para>
      The homepage of the buzztrax project can be found at
      <ulink url="http://www.buzztrax.org">www.buzztrax.org</ulink>.
      It is a social site containing forums, a wiki and bug tracker and many
      other resoures.
    </para>
  </preface>

  <part label="I">
    <title>Overview</title>
    <chapter id="conventions">
      <title>Conventions</title>
      <para>
        During the API docs some conventions are used to avoid duplication and
        improve precision.
        <orderedlist>
          <listitem>
            <para>
              It is never valid to supply <symbol>NULL</symbol> for an object
              reference, unless it is explicitly said so.
            </para>
          </listitem>
          <listitem>
            <para>
              Methods do checking of preconditions using <function>g_return_if_fail()</function>
              or <function>g_return_val_if_fail()</function>.
              Therefore watch for the glib log messages indicating wrong API usage.
            </para>
          </listitem>
          <listitem>
            <para>
              All methods that return a pointer to an object, increase the reference counter.
              Therefore you should do release this reference by calling <function>g_object_unref()</function>
              when you are done with the object.
            </para>
          </listitem>
          <listitem>
            <para>
              When a return value is marked as <type>const</type> e.g. <type>const gchar *</type>
              or <type>const BtObjectName *</type> then this is a static reference.
              You must not call <function>g_free()</function> or <function>g_object_unref()</function>
              on it.
            </para>
          </listitem>
        </orderedlist>
      </para>
    </chapter>
  </part>

  <reference label="II" id="libbtcore">
    <title>API Reference</title>
    <partintro>
      <abstract>
        <para>
          libbuzztrax-core is the main library for the buzztrax software system.
          This library contains all classes needed for the components of a song
          like machines, patterns, wires and so on.
          It further defines bases classes for common operations such as
          song input/output. The synthesis engine and the low-level parts of the
          sequencer are built into <ulink url="http://gstreamer.freedesktop.org">GStreamer</ulink>.
          Please make sure you have read section <link linkend="conventions">conventions</link>
          before reading further.
        </para>
        <para>
          All data structures are encapsulated in objects based on <link linkend="GObject">GObject</link>.
          Central starting points are <link linkend="BtApplication">BtApplication</link> and <link linkend="BtSong">BtSong</link>.
          All the objects that belong to a song have their song-instance as their member.
          Likewise all objects that belong to the applications have their application instance as a member.
        </para>
      </abstract>
    </partintro>

    <chapter>
      <title>Core Class Reference</title>
      <xi:include href="xml/libbtcore.xml" />
      <xi:include href="xml/btapplication.xml" />
      <xi:include href="xml/btaudiosession.xml" />
      <xi:include href="xml/btsettings.xml" />
      <xi:include href="xml/btchildproxy.xml" />
      <xi:include href="xml/btpersistence.xml" />
    </chapter>
    <chapter>
      <title>Song Class Reference</title>
      <xi:include href="xml/btcmdpattern.xml" />
      <xi:include href="xml/btmachine.xml" />
      <xi:include href="xml/btparametergroup.xml" />
      <xi:include href="xml/btpattern.xml" />
      <xi:include href="xml/btpatterncontrolsource.xml" />
      <xi:include href="xml/btprocessormachine.xml" />
      <xi:include href="xml/btsequence.xml" />
      <xi:include href="xml/btsetup.xml" />
      <xi:include href="xml/btsinkbin.xml" />
      <xi:include href="xml/btsinkmachine.xml" />
      <xi:include href="xml/btsong.xml" />
      <xi:include href="xml/btsonginfo.xml" />
      <xi:include href="xml/btsourcemachine.xml" />
      <xi:include href="xml/btvaluegroup.xml" />
      <xi:include href="xml/btwave.xml" />
      <xi:include href="xml/btwavelevel.xml" />
      <xi:include href="xml/btwavetable.xml" />
      <xi:include href="xml/btwire.xml" />
    </chapter>
    <chapter>
      <title>Song IO Reference</title>
      <xi:include href="xml/btsongio.xml" />
      <xi:include href="xml/btsongionative.xml" />
      <xi:include href="xml/btsongionativebzt.xml" />
      <xi:include href="xml/btsongionativexml.xml" />
      <xi:include href="xml/btsongiobuzz.xml" />
    </chapter>
  </reference>

  <part label="III">
    <title>Appendix</title>

    <chapter id="objecttree">
      <title>Object Hierarchy</title>
      <xi:include href="xml/tree_index.sgml" />
    </chapter>

    <index id="api-index">
      <title>API Index</title>
      <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
    </index>
    <index id="api-index-deprecated" role="deprecated">
      <title>Index of deprecated API</title>
      <xi:include href="xml/api-index-deprecated.xml"><xi:fallback /></xi:include>
    </index>
    <index id="api-index-0-3" role="0.3">
      <title>Index of new API in 0.3</title>
      <xi:include href="xml/api-index-0.3.xml"><xi:fallback /></xi:include>
    </index>
    <index id="api-index-0-5" role="0.5">
      <title>Index of new API in 0.5</title>
      <xi:include href="xml/api-index-0.5.xml"><xi:fallback /></xi:include>
    </index>
    <index id="api-index-0-6" role="0.6">
      <title>Index of new API in 0.6</title>
      <xi:include href="xml/api-index-0.6.xml"><xi:fallback /></xi:include>
    </index>
    <index id="api-index-0-7" role="0.7">
      <title>Index of new API in 0.7</title>
      <xi:include href="xml/api-index-0.7.xml"><xi:fallback /></xi:include>
    </index>

    <xi:include href="xml/annotation-glossary.xml"><xi:fallback /></xi:include>
  </part>
</book>