AgsEffectBridge

AgsEffectBridge — A composite widget to visualize a bunch of AgsChannel

Functions

Properties

AgsAudio * audio Read / Write

Signals

gpointer find-port Run Last
void map-recall Run Last
void resize-audio-channels Run Last
void resize-pads Run Last

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkObject
            ╰── GtkWidget
                ╰── GtkContainer
                    ╰── GtkBox
                        ╰── GtkVBox
                            ╰── AgsEffectBridge
                                ├── AgsFFPlayerBridge
                                ╰── AgsMatrixBridge

Includes

#include <ags/X/ags_effect_bridge.h>

Description

AgsEffectBridge is a composite widget containing AgsEffectBulk or AgsEffectPad. It should be packed by an AgsMachine.

Functions

ags_effect_bridge_resize_audio_channels ()

void
ags_effect_bridge_resize_audio_channels
                               (AgsEffectBridge *effect_bridge,
                                guint new_size,
                                guint old_size);

Resize audio channel allocation.

Parameters

effect_bridge

the AgsEffectBridge

 

new_size

new allocation

 

old_size

old allocation

 

Since: 0.7.0


ags_effect_bridge_resize_pads ()

void
ags_effect_bridge_resize_pads (AgsEffectBridge *effect_bridge,
                               GType channel_type,
                               guint new_size,
                               guint old_size);

Resize pad allocation.

Parameters

effect_bridge

the AgsEffectBridge

 

channel_type

the channel GType

 

new_size

new allocation

 

old_size

old allocation

 

Since: 0.7.0


ags_effect_bridge_map_recall ()

void
ags_effect_bridge_map_recall (AgsEffectBridge *effect_bridge);

You may want the effect_bridge to add its default recall.

Parameters

effect_bridge

the AgsEffectBridge to add its default recall.

 

ags_effect_bridge_find_port ()

GList *
ags_effect_bridge_find_port (AgsEffectBridge *effect_bridge);

Parameters

effect_bridge

the AgsEffectBridge

 

Returns

an GList containing all related AgsPort

Lookup ports of associated recalls.

Since: 0.7.8


ags_effect_bridge_new ()

AgsEffectBridge *
ags_effect_bridge_new (AgsAudio *audio);

Creates an AgsEffectBridge

Parameters

audio

the AgsAudio to visualize

 

Returns

a new AgsEffectBridge

Since: 0.7.0

Types and Values

AGS_EFFECT_BRIDGE_DEFAULT_VERSION

#define AGS_EFFECT_BRIDGE_DEFAULT_VERSION "0.7.8\0"

AGS_EFFECT_BRIDGE_DEFAULT_BUILD_ID

#define AGS_EFFECT_BRIDGE_DEFAULT_BUILD_ID "CEST 01-03-2016 00:23\0"

AGS_EFFECT_BRIDGE_MAX_COLUMNS

#define AGS_EFFECT_BRIDGE_MAX_COLUMNS (2)

enum AgsEffectBridgeFlags

Members

AGS_EFFECT_BRIDGE_MAPPED_RECALL

   

AGS_EFFECT_BRIDGE_PREMAPPED_RECALL

   

AGS_EFFECT_BRIDGE_CONNECTED

   

AGS_EFFECT_BRIDGE_DISPLAY_INPUT

   

AGS_EFFECT_BRIDGE_BULK_OUTPUT

   

AGS_EFFECT_BRIDGE_DISPLAY_OUTPUT

   

AGS_EFFECT_BRIDGE_BULK_INPUT

   

Property Details

The “audio” property

  “audio”                    AgsAudio *

The start of a bunch of AgsAudio to visualize.

Flags: Read / Write

Since: 0.7.0

Signal Details

The “find-port” signal

gpointer
user_function (AgsEffectBridge *effect_bridge,
               gpointer         user_data)

Parameters

effect_bridge

the AgsEffectBridge to resize

 

user_data

user data set when the signal handler was connected.

 

Returns

a GList with associated ports

The ::find-port as recall should be mapped

Flags: Run Last


The “map-recall” signal

void
user_function (AgsEffectBridge *effect_bridge,
               gpointer         user_data)

The ::map-recall should be used to add the effect_bridge's default recall.

Parameters

effect_bridge

the AgsEffectBridge

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “resize-audio-channels” signal

void
user_function (AgsEffectBridge *effect_bridge,
               guint            channel,
               guint            new_size,
               gpointer         user_data)

The ::resize-audio-channels signal notifies about changed channel allocation within audio.

Parameters

effect_bridge

the AgsEffectBridge to modify

 

channel

the AgsChannel to set

 

new_size

the new size

 

old_size

the old size

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last


The “resize-pads” signal

void
user_function (AgsEffectBridge *effect_bridge,
               gulong           channel,
               guint            channel_type,
               guint            new_size,
               gpointer         user_data)

The ::resize-pads signal notifies about changed channel allocation within audio.

Parameters

effect_bridge

the AgsEffectBridge to modify

 

channel

the AgsChannel to set

 

channel_type

either AGS_TYPE_INPUT or AGS_TYPE_OUTPUT

 

new_size

the new size

 

old_size

the old size

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last