| Advanced Gtk+ Sequencer Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
#include <ags/audio/ags_recycling.h> struct AgsRecycling; struct AgsRecyclingClass; enum AgsRecyclingFlags;void ags_recycling_add_audio_signal (AgsRecycling *recycling,AgsAudioSignal *audio_signal);void ags_recycling_create_audio_signal_with_defaults (AgsRecycling *recycling,AgsAudioSignal *audio_signal,,gdouble delay);guint attackvoid ags_recycling_create_audio_signal_with_frame_count (AgsRecycling *recycling,AgsAudioSignal *audio_signal,,guint frame_count,gdouble delay); AgsRecycling * ags_recycling_find_next_channel (guint attackAgsRecycling *start_region,AgsRecycling *end_region,); AgsRecycling * ags_recycling_new (GObject *prev_channel);GObject *devoutgint ags_recycling_position (AgsRecycling *start_recycling,AgsRecycling *end_region,AgsRecycling *recycling);void ags_recycling_remove_audio_signal (AgsRecycling *recycling,AgsAudioSignal *audio_signal);void ags_recycling_set_devout (AgsRecycling *recycling,);GObject *devout
AgsRecycling forms the nested tree of AgsChannel. Ever channel having own audio signal contains therefor an AgsRecycling
struct AgsRecycling {
GObject object;
guint flags;
GObject *channel;
GObject *devout;
AgsRecycling *parent;
AgsRecycling *next;
AgsRecycling *prev;
GList *audio_signal;
};
struct AgsRecyclingClass {
GObjectClass object;
void (*add_audio_signal)(AgsRecycling *recycling,
AgsAudioSignal *audio_signal);
void (*remove_audio_signal)(AgsRecycling *recycling,
AgsAudioSignal *audio_signal);
};
void ags_recycling_add_audio_signal (AgsRecycling *recycling,AgsAudioSignal *audio_signal);
Add AgsAudioSignal to recycling.
|
an AgsRecycling |
|
the AgsAudioSignal to add |
Since 0.3
void ags_recycling_create_audio_signal_with_defaults (AgsRecycling *recycling,AgsAudioSignal *audio_signal,,gdouble delay);guint attack
Create audio signal with defaults.
|
an AgsRecycling |
|
the AgsAudioSignal to apply defaults |
Since 0.4
void ags_recycling_create_audio_signal_with_frame_count (AgsRecycling *recycling,AgsAudioSignal *audio_signal,,guint frame_count,gdouble delay);guint attack
Create audio signal with frame count.
|
an AgsRecycling |
|
the AgsAudioSignal to apply defaults |
|
the audio data size |
Since 0.4
AgsRecycling * ags_recycling_find_next_channel (AgsRecycling *start_region,AgsRecycling *end_region,);GObject *prev_channel
Retrieve next recycling with different channel.
|
boundary start |
|
boundary end |
|
previous channel |
Returns : |
Matching recycling. |
Since 0.4
AgsRecycling * ags_recycling_new (GObject *devout);
Creates a AgsRecycling, with defaults of devout.
|
the AgsDevout |
Returns : |
a new AgsRecycling |
Since 0.3
gint ags_recycling_position (AgsRecycling *start_recycling,AgsRecycling *end_region,AgsRecycling *recycling);
Retrieve position of recycling.
|
boundary start |
|
boundary end |
|
matching recycling |
Returns : |
position within boundary. |
Since 0.4
void ags_recycling_remove_audio_signal (AgsRecycling *recycling,AgsAudioSignal *audio_signal);
Remove AgsAudioSignal of recycling.
|
an AgsRecycling |
|
the AgsAudioSignal to remove |
Since 0.3
void ags_recycling_set_devout (AgsRecycling *recycling,);GObject *devout
Sets AgsDevout to recycling.
|
an AgsRecycling |
|
the AgsDevout to set |
Since 0.3