| Top |
BtWaveBtWave — one BtWavetable entry that keeps a list of BtWavelevels |
| guint | channels | Read / Write / Construct |
| gulong | index | Read / Write / Construct |
| BtWaveLoopMode | loop-mode | Read / Write / Construct |
| gchar * | name | Read / Write / Construct |
| BtSong * | song | Read / Write / Construct Only |
| gchar * | uri | Read / Write / Construct |
| gdouble | volume | Read / Write / Construct |
| gpointer | wavelevels | Read |
gboolean bt_wave_add_wavelevel (const BtWave * const self,const BtWavelevel * const wavelevel);
Add the supplied wavelevel to the wave. This is automatically done by
bt_wavelevel_new().
BtWavelevel * bt_wave_get_level_by_index (const BtWave * const self,const gulong index);
Search the wave for a wavelevel by the supplied index.
The wavelevel must have been added previously to this wave with
bt_wave_add_wavelevel().
BtWavelevel instance or NULL if not found. Unref
the wavelevel, when done with it.
[transfer full]
BtWave * bt_wave_new (const BtSong * const song,const gchar * const name,const gchar * const uri,const gulong index,const gdouble volume,const BtWaveLoopMode loop_mode,const guint channels);
Create a new instance
“channels” property“channels” guint
number of channels in the sample.
Flags: Read / Write / Construct
Allowed values: <= 2
Default value: 0
“index” property“index” gulong
The index of the wave in the wavtable.
Flags: Read / Write / Construct
Allowed values: >= 1
“loop-mode” property“loop-mode” BtWaveLoopMode
mode of loop playback.
Flags: Read / Write / Construct
Default value: off
“name” property“name” gchar *
The name of the wave.
Flags: Read / Write / Construct
Default value: "unamed wave"
“song” property“song” BtSong *
Set song object, the wave belongs to.
Flags: Read / Write / Construct Only
“uri” property“uri” gchar *
The uri of the wave.
Flags: Read / Write / Construct
Default value: NULL
“volume” property“volume” gdouble
The volume of the wave in the wavtable.
Flags: Read / Write / Construct
Allowed values: [0,1]
Default value: 1