AgsRecycling

AgsRecycling — recycling container of audio signals

Functions

Properties

gpointer audio-signal Read / Write
guint buffer-size Read / Write
AgsChannel * channel Read / Write
guint format Read / Write
GObject * input-soundcard Read / Write
int input-soundcard-channel Read / Write
AgsRecycling * next Read / Write
GObject * output-soundcard Read / Write
int output-soundcard-channel Read / Write
AgsRecycling * parent Read / Write
AgsRecycling * prev Read / Write
guint samplerate Read / Write

Signals

void add-audio-signal Run Last
void data-request Run Last
void remove-audio-signal Run Last

Types and Values

Object Hierarchy

    GObject
    ╰── AgsRecycling

Implemented Interfaces

AgsRecycling implements AgsConnectable.

Includes

#include <ags/audio/ags_recycling.h>

Description

AgsRecycling forms the nested tree of AgsChannel. Every channel owning audio signal contains therefor an AgsRecycling.

Functions

AGS_RECYCLING_GET_OBJ_MUTEX()

#define AGS_RECYCLING_GET_OBJ_MUTEX(obj) (&(((AgsRecycling *) obj)->obj_mutex))

ags_recycling_get_obj_mutex ()

GRecMutex *
ags_recycling_get_obj_mutex (AgsRecycling *recycling);

Get object mutex.

Parameters

recycling

the AgsRecycling

 

Returns

the GRecMutex to lock recycling

Since: 3.1.0


ags_recycling_test_flags ()

gboolean
ags_recycling_test_flags (AgsRecycling *recycling,
                          guint flags);

Test flags to be set on recycling .

Parameters

recycling

the AgsRecycling

 

flags

the flags

 

Returns

TRUE if flags are set, else FALSE

Since: 3.0.0


ags_recycling_set_flags ()

void
ags_recycling_set_flags (AgsRecycling *recycling,
                         guint flags);

Enable a feature of recycling .

Parameters

recycling

the AgsRecycling

 

flags

see AgsRecyclingFlags

 

Since: 3.0.0


ags_recycling_unset_flags ()

void
ags_recycling_unset_flags (AgsRecycling *recycling,
                           guint flags);

Disable a feature of recycling .

Parameters

recycling

the AgsRecycling

 

flags

see AgsRecyclingFlags

 

Since: 3.0.0


ags_recycling_get_channel ()

GObject *
ags_recycling_get_channel (AgsRecycling *recycling);

Get channel.

Parameters

recycling

the AgsRecycling

 

Returns

the AgsChannel.

[transfer full]

Since: 3.1.0


ags_recycling_set_channel ()

void
ags_recycling_set_channel (AgsRecycling *recycling,
                           GObject *channel);

Set channel.

Parameters

recycling

the AgsRecycling

 

channel

the AgsChannel

 

Since: 3.1.0


ags_recycling_next ()

AgsRecycling *
ags_recycling_next (AgsRecycling *recycling);

Iterate recycling .

Parameters

recycling

the AgsRecycling

 

Returns

the next of AgsRecycling if available, otherwise NULL.

[transfer full]

Since: 3.0.0


ags_recycling_prev ()

AgsRecycling *
ags_recycling_prev (AgsRecycling *recycling);

Iterate recycling .

Parameters

recycling

the AgsRecycling

 

Returns

the prev of AgsRecycling if available, otherwise NULL.

[transfer full]

Since: 3.0.0


ags_recycling_get_output_soundcard ()

GObject *
ags_recycling_get_output_soundcard (AgsRecycling *recycling);

Get the output soundcard object of recycling .

Parameters

recycling

the AgsRecycling

 

Returns

the output soundcard.

[transfer full]

Since: 3.1.0


ags_recycling_set_output_soundcard ()

void
ags_recycling_set_output_soundcard (AgsRecycling *recycling,
                                    GObject *output_soundcard);

Set the output soundcard object of recycling .

Parameters

recycling

the AgsRecycling

 

output_soundcard

the GObject implementing AgsSoundcard

 

Since: 3.0.0


ags_recycling_get_input_soundcard ()

GObject *
ags_recycling_get_input_soundcard (