| Top |
| #define | AGS_RECYCLING_GET_OBJ_MUTEX() |
| pthread_mutex_t * | ags_recycling_get_class_mutex () |
| gboolean | ags_recycling_test_flags () |
| void | ags_recycling_set_flags () |
| void | ags_recycling_unset_flags () |
| AgsRecycling * | ags_recycling_next () |
| AgsRecycling * | ags_recycling_prev () |
| void | ags_recycling_set_output_soundcard () |
| void | ags_recycling_set_input_soundcard () |
| void | ags_recycling_set_samplerate () |
| void | ags_recycling_set_buffer_size () |
| void | ags_recycling_set_format () |
| void | ags_recycling_add_audio_signal () |
| void | ags_recycling_remove_audio_signal () |
| void | ags_recycling_data_request () |
| gint | ags_recycling_position () |
| AgsRecycling * | ags_recycling_find_next_channel () |
| gboolean | ags_recycling_is_active () |
| void | ags_recycling_create_audio_signal_with_defaults () |
| void | ags_recycling_create_audio_signal_with_frame_count () |
| AgsRecycling * | ags_recycling_new () |
| #define | AGS_IS_RECYCLING() |
| #define | AGS_RECYCLING() |
| #define | AGS_RECYCLING_CLASS() |
| #define | AGS_RECYCLING_GET_CLASS() |
| GType | ags_recycling_get_type () |
| gpointer | audio-signal | Read / Write |
| guint | buffer-size | Read / Write |
| AgsChannel * | channel | Read / Write |
| guint | format | Read / Write |
| GObject * | input-soundcard | Read / Write |
| gint | input-soundcard-channel | Read / Write |
| AgsRecycling * | next | Read / Write |
| GObject * | output-soundcard | Read / Write |
| gint | output-soundcard-channel | Read / Write |
| AgsRecycling * | parent | Read / Write |
| AgsRecycling * | prev | Read / Write |
| guint | samplerate | Read / Write |
| enum | AgsRecyclingFlags |
| #define | AGS_TYPE_RECYCLING |
| struct | AgsRecycling |
| struct | AgsRecyclingClass |
AgsRecycling forms the nested tree of AgsChannel. Every channel owning audio signal contains therefor an AgsRecycling.
#define AGS_RECYCLING_GET_OBJ_MUTEX(obj) (((AgsRecycling *) obj)->obj_mutex)
pthread_mutex_t *
ags_recycling_get_class_mutex ();
Use this function's returned mutex to access mutex fields.
Since: 2.0.0
gboolean ags_recycling_test_flags (AgsRecycling *recycling,guint flags);
Test flags
to be set on recycling
.
Since: 2.0.0
void ags_recycling_set_flags (AgsRecycling *recycling,guint flags);
Enable a feature of recycling
.
Since: 2.0.0
void ags_recycling_unset_flags (AgsRecycling *recycling,guint flags);
Disable a feature of recycling
.
Since: 2.0.0
AgsRecycling *
ags_recycling_next (AgsRecycling *recycling);
Iterate recycling
.
Since: 2.1.61
AgsRecycling *
ags_recycling_prev (AgsRecycling *recycling);
Iterate recycling
.
Since: 2.1.61
void ags_recycling_set_output_soundcard (AgsRecycling *recycling,GObject *output_soundcard);
Set output_soundcard
of recycling
.
Since: 2.0.0
void ags_recycling_set_input_soundcard (AgsRecycling *recycling,GObject *input_soundcard);
Set input_soundcard
of recycling
.
Since: 2.0.0
void ags_recycling_set_samplerate (AgsRecycling *recycling,guint samplerate);
Sets buffer-size.
Since: 2.0.0
void ags_recycling_set_buffer_size (AgsRecycling *recycling,guint buffer_size);
Set buffer size.
Since: 2.0.0
void ags_recycling_set_format (AgsRecycling *recycling,guint format);
Set format.
Since: 2.0.0
void ags_recycling_add_audio_signal (AgsRecycling *recycling,AgsAudioSignal *audio_signal);
Add audio_signal
to recycling
.
Since: 2.0.0
void ags_recycling_remove_audio_signal (AgsRecycling *recycling,AgsAudioSignal *audio_signal);
Remove audio_signal
of recycling
.
Since: 2.0.0
void ags_recycling_data_request (AgsRecycling *recycling,AgsAudioSignal *audio_signal);
Request data of audio_signal
.
Since: 2.0.0
gint ags_recycling_position (AgsRecycling *start_region,AgsRecycling *end_region,AgsRecycling *recycling);
Retrieve position of recycling.
Since: 2.0.0
AgsRecycling * ags_recycling_find_next_channel (AgsRecycling *start_region,AgsRecycling *end_region,GObject *prev_channel);
Retrieve next recycling with different channel.
Since: 2.0.0
gboolean ags_recycling_is_active (AgsRecycling *start_region,AgsRecycling *end_region,GObject *recall_id);
Check if is active.
Since: 2.0.0
void ags_recycling_create_audio_signal_with_defaults (AgsRecycling *recycling,AgsAudioSignal *audio_signal,gdouble delay,guint attack);
Create audio signal with defaults.
recycling |
the AgsRecycling |
|
audio_signal |
the AgsAudioSignal to apply defaults |
|
delay |
the delay |
|
attack |
the attack |
Since: 2.0.0
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.
recycling |
the AgsRecycling |
|
audio_signal |
the AgsAudioSignal to apply defaults |
|
frame_count |
the audio data size |
|
delay |
the delay |
|
attack |
the attack |
Since: 2.0.0
AgsRecycling *
ags_recycling_new (GObject *channel);
Creates a AgsRecycling, with defaults of soundcard
.
Since: 2.0.0
#define AGS_IS_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_RECYCLING))
#define AGS_RECYCLING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_RECYCLING, AgsRecycling))
#define AGS_RECYCLING_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_RECYCLING, AgsRecyclingClass))
#define AGS_RECYCLING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), AGS_TYPE_RECYCLING, AgsRecyclingClass))
Enum values to control the behavior or indicate internal state of AgsRecycling by enable/disable as flags.
struct AgsRecyclingClass {
GObjectClass object;
void (*add_audio_signal)(AgsRecycling *recycling,
AgsAudioSignal *audio_signal);
void (*remove_audio_signal)(AgsRecycling *recycling,
AgsAudioSignal *audio_signal);
void (*data_request)(AgsRecycling *recycling,
AgsAudioSignal *audio_signal);
};
“audio-signal” property“audio-signal” gpointer
The containing AgsAudioSignal.
Flags: Read / Write
Since: 2.0.0
“buffer-size” property“buffer-size” guint
The buffer size.
Flags: Read / Write
Default value: 0
Since: 2.0.0
“channel” property“channel” AgsChannel *
The assigned AgsChannel.
Flags: Read / Write
Since: 2.0.0
“input-soundcard” property“input-soundcard” GObject *
The assigned input soundcard.
Flags: Read / Write
Since: 2.0.0
“input-soundcard-channel” property“input-soundcard-channel” gint
The input soundcard channel.
Flags: Read / Write
Allowed values: >= -1
Default value: 0
Since: 2.0.0
“next” property“next” AgsRecycling *
The assigned next AgsRecycling.
Flags: Read / Write
Since: 2.0.0
“output-soundcard” property“output-soundcard” GObject *
The assigned output soundcard acting as default sink.
Flags: Read / Write
Since: 2.0.0
“output-soundcard-channel” property“output-soundcard-channel” gint
The output soundcard channel.
Flags: Read / Write
Allowed values: >= -1
Default value: 0
Since: 2.0.0
“parent” property“parent” AgsRecycling *
The assigned parent AgsRecycling.
Flags: Read / Write
Since: 2.0.0
“prev” property“prev” AgsRecycling *
The assigned prev AgsRecycling.
Flags: Read / Write
Since: 2.0.0
“samplerate” property“samplerate” guint
The samplerate.
Flags: Read / Write
Default value: 0
Since: 2.0.0
“add-audio-signal” signalvoid user_function (AgsRecycling *recycling, GObject *audio_signal, gpointer user_data)
The ::add-audio-signal signal is emited as adding AgsAudioSignal.
recycling |
an AgsRecycling |
|
audio_signal |
the AgsAudioSignal to add |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“data-request” signalvoid user_function (AgsRecycling *recycling, GObject *audio_signal, gpointer user_data)
The ::data-request signal is emited as requesting data for audio_signal
.
recycling |
an AgsRecycling |
|
audio_signal |
the AgsAudioSignal to request |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0
“remove-audio-signal” signalvoid user_function (AgsRecycling *recycling, GObject *audio_signal, gpointer user_data)
The ::remove-audio-signal signal is emited as removing AgsAudioSignal.
recycling |
an AgsRecycling |
|
audio_signal |
the AgsAudioSignal to remove |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 2.0.0