AgsAudioConnection

AgsAudioConnection — audio connections

Functions

Properties

GObject * audio Read / Write
guint audio-channel Read / Write
gulong channel-type Read / Write
guint line Read / Write
guint mapped-line Read / Write
guint pad Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsConnection
        ╰── AgsAudioConnection

Includes

#include <ags/audio/ags_audio_connection.h>

Description

The AgsAudioConnection specifies your audio connections.

Functions

ags_audio_connection_find ()

GList *
ags_audio_connection_find (GList *list,
                           GType channel_type,
                           guint pad,
                           guint audio_channel);

Find the specified audio connection matching channel_type , pad and audio_channel .

Parameters

list

the GList containing AgsAudioConnection

 

channel_type

the channel type to match

 

pad

the pad to match

 

audio_channel

the audio channel to match

 

Returns

the first matched GList, else NULL if no match

Since: 1.0.0


ags_audio_connection_new ()

AgsAudioConnection *
ags_audio_connection_new ();

Creates an AgsAudioConnection

Returns

a new AgsAudioConnection

Since: 1.0.0


AGS_AUDIO_CONNECTION()

#define AGS_AUDIO_CONNECTION(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_CONNECTION, AgsAudioConnection))

AGS_AUDIO_CONNECTION_CLASS()

#define AGS_AUDIO_CONNECTION_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_AUDIO_CONNECTION, AgsAudioConnection))

AGS_AUDIO_CONNECTION_GET_CLASS()

#define AGS_AUDIO_CONNECTION_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_AUDIO_CONNECTION, AgsAudioConnectionClass))

AGS_IS_AUDIO_CONNECTION()

#define AGS_IS_AUDIO_CONNECTION(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_AUDIO_CONNECTION))

ags_audio_connection_get_type ()

GType
ags_audio_connection_get_type ();

Types and Values

enum AgsAudioConnectionFlags

Enum values to control the behavior or indicate internal state of AgsAudioConnection by enable/disable as flags.

Members

AGS_AUDIO_CONNECTION_IS_AUDIO

the connection is related to audio

 

AGS_AUDIO_CONNECTION_IS_OUTPUT

the connection is related to output

 

AGS_AUDIO_CONNECTION_IS_INPUT

the connection is related to input

 

AGS_AUDIO_CONNECTION_IS_REMOTE

the connection is related to remote

 

AGS_AUDIO_CONNECTION_IS_SOUNDCARD_DATA

the connection is related to soundcard data

 

AGS_AUDIO_CONNECTION_IS_SEQUENCER_DATA

the connection is related to sequencer data

 

AGS_AUDIO_CONNECTION_SCOPE_AUDIO

it applies to audio scope

 

AGS_AUDIO_CONNECTION_SCOPE_CHANNEL

it applies to audio scope

 

AGS_AUDIO_CONNECTION_SCOPE_PAD

it applies to audio scope

 

AGS_AUDIO_CONNECTION_SCOPE_LINE

it applies to audio scope

 

AGS_TYPE_AUDIO_CONNECTION

#define AGS_TYPE_AUDIO_CONNECTION                (ags_audio_connection_get_type())

struct AgsAudioConnection

struct AgsAudioConnection;

struct AgsAudioConnectionClass

struct AgsAudioConnectionClass {
  AgsConnectionClass connection;
};

Property Details

The “audio” property

  “audio”                    GObject *

The AgsAudio belonging to.

Flags: Read / Write

Since: 1.0.0


The “audio-channel” property

  “audio-channel”            guint

The nth audio channel assigned with.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “channel-type” property

  “channel-type”             gulong

The GType of AgsChannel belonging to.

Flags: Read / Write

Since: 1.0.0


The “line” property

  “line”                     guint

The nth line assigned with.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “mapped-line” property

  “mapped-line”              guint

The nth mapped line assigned with.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “pad” property

  “pad”                      guint

The nth pad assigned with.

Flags: Read / Write

Default value: 0

Since: 1.0.0