AgsSetAudioChannels

AgsSetAudioChannels — resizes audio channels

Functions

Properties

guint audio-channels Read / Write
GObject * soundcard Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsSetAudioChannels

Implemented Interfaces

AgsSetAudioChannels implements AgsConnectable.

Includes

#include <ags/audio/task/ags_set_audio_channels.h>

Description

The AgsSetAudioChannels task resizes audio channels of AgsSoundcard.

Functions

ags_set_audio_channels_new ()

AgsSetAudioChannels *
ags_set_audio_channels_new (GObject *soundcard,
                            guint audio_channels);

Creates an AgsSetAudioChannels.

Parameters

soundcard

the AgsSoundcard to reset

 

audio_channels

the new count of audio channels

 

Returns

an new AgsSetAudioChannels.

Since: 1.0.0


AGS_IS_SET_AUDIO_CHANNELS()

#define AGS_IS_SET_AUDIO_CHANNELS(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SET_AUDIO_CHANNELS))

AGS_SET_AUDIO_CHANNELS()

#define AGS_SET_AUDIO_CHANNELS(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannels))

AGS_SET_AUDIO_CHANNELS_CLASS()

#define AGS_SET_AUDIO_CHANNELS_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannelsClass))

AGS_SET_AUDIO_CHANNELS_GET_CLASS()

#define AGS_SET_AUDIO_CHANNELS_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_SET_AUDIO_CHANNELS, AgsSetAudioChannelsClass))

ags_set_audio_channels_get_type ()

GType
ags_set_audio_channels_get_type ();

Types and Values

AGS_TYPE_SET_AUDIO_CHANNELS

#define AGS_TYPE_SET_AUDIO_CHANNELS                (ags_set_audio_channels_get_type())

struct AgsSetAudioChannels

struct AgsSetAudioChannels;

struct AgsSetAudioChannelsClass

struct AgsSetAudioChannelsClass {
  AgsTaskClass task;
};

Property Details

The “audio-channels” property

  “audio-channels”           guint

The count of audio channels to apply to audio.

Flags: Read / Write

Default value: 0

Since: 1.0.0


The “soundcard” property

  “soundcard”                GObject *

The assigned AgsSoundcard instance.

Flags: Read / Write

Since: 1.0.0