krähemann.com

AgsStartAudio

AgsStartAudio — start audio object to audio loop

Properties

AgsAudio * audio Read / Write
gint sound-scope Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsTask
        ╰── AgsStartAudio

Includes

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

Description

The AgsStartAudio task starts AgsAudio to AgsAudioLoop.

Functions

ags_start_audio_new ()

AgsStartAudio *
ags_start_audio_new (AgsAudio *audio,
                     gint sound_scope);

Create a new instance of AgsStartAudio.

Parameters

audio

the AgsAudio to start

 

sound_scope

the AgsSoundScope or -1 for all

 

Returns

the new AgsStartAudio.

Since: 3.0.0


AGS_IS_START_AUDIO()

#define AGS_IS_START_AUDIO(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_START_AUDIO))

AGS_IS_START_AUDIO_CLASS()

#define AGS_IS_START_AUDIO_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_START_AUDIO))

AGS_START_AUDIO()

#define AGS_START_AUDIO(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_START_AUDIO, AgsStartAudio))

AGS_START_AUDIO_CLASS()

#define AGS_START_AUDIO_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_START_AUDIO, AgsStartAudioClass))

AGS_START_AUDIO_GET_CLASS()

#define AGS_START_AUDIO_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_START_AUDIO, AgsStartAudioClass))

ags_start_audio_get_type ()

GType
ags_start_audio_get_type ();

Types and Values

AGS_TYPE_START_AUDIO

#define AGS_TYPE_START_AUDIO                (ags_start_audio_get_type())

struct AgsStartAudio

struct AgsStartAudio;

struct AgsStartAudioClass

struct AgsStartAudioClass {
  AgsTaskClass task;
};

Property Details

The “audio” property

  “audio”                    AgsAudio *

The assigned AgsAudio

Owner: AgsStartAudio

Flags: Read / Write

Since: 3.0.0


The “sound-scope” property

  “sound-scope”              gint

The effects sound-scope.

Owner: AgsStartAudio

Flags: Read / Write

Allowed values: [-1,5]

Default value: -1

Since: 3.0.0