AgsPlaybackDomain

AgsPlaybackDomain — Outputting to soundcard domain

Functions

Properties

GObject * domain Read / Write
GObject * playback Read / Write

Types and Values

Object Hierarchy

    GObject
    ╰── AgsPlaybackDomain

Implemented Interfaces

AgsPlaybackDomain implements AgsConnectable.

Includes

#include <ags/audio/ags_playback_domain.h>

Description

AgsPlaybackDomain represents a domain to output.

Functions

ags_playback_domain_set_audio_thread ()

void
ags_playback_domain_set_audio_thread (AgsPlaybackDomain *playback_domain,
                                      AgsThread *thread,
                                      guint scope);

Set audio thread to specified scope.

Parameters

playback_domain

the AgsPlaybackDomain

 

thread

the AgsThread

 

scope

the thread's scope

 

Since: 1.0.0.7


ags_playback_domain_get_audio_thread ()

AgsThread *
ags_playback_domain_get_audio_thread (AgsPlaybackDomain *playback_domain,
                                      guint scope);

Get audio thread of specified scope.

Parameters

playback_domain

the AgsPlaybackDomain

 

scope

the thread's scope

 

Returns

the matching AgsThread or NULL

Since: 1.0.0.7


ags_playback_domain_add_playback ()

void
ags_playback_domain_add_playback (AgsPlaybackDomain *playback_domain,
                                  GObject *playback);

Add playback to playback_domain .

Parameters

playback_domain

the AgsPlaybackDomain

 

playback

the AgsPlayback

 

Since: 1.0.0.7


ags_playback_domain_remove_playback ()

void
ags_playback_domain_remove_playback (AgsPlaybackDomain *playback_domain,
                                     GObject *playback);

Remove playback of playback_domain .

Parameters

playback_domain

the AgsPlaybackDomain

 

playback

the AgsPlayback

 

Since: 1.0.0.7


ags_playback_domain_new ()

AgsPlaybackDomain *
ags_playback_domain_new ();

Creates an AgsPlaybackDomain, refering to application_context .

Returns

a new AgsPlaybackDomain

Since: 1.0.0


AGS_IS_PLAYBACK_DOMAIN()

#define AGS_IS_PLAYBACK_DOMAIN(obj)             (G_TYPE_CHECK_INSTANCE_TYPE ((obj), AGS_TYPE_PLAYBACK_DOMAIN))

AGS_PLAYBACK_DOMAIN()

#define AGS_PLAYBACK_DOMAIN(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_PLAYBACK_DOMAIN, AgsPlaybackDomain))

AGS_PLAYBACK_DOMAIN_CLASS()

#define AGS_PLAYBACK_DOMAIN_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST(class, AGS_TYPE_PLAYBACK_DOMAIN, AgsPlaybackDomain))

AGS_PLAYBACK_DOMAIN_GET_CLASS()

#define AGS_PLAYBACK_DOMAIN_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_PLAYBACK_DOMAIN, AgsPlaybackDomainClass))

ags_playback_domain_get_type ()

GType
ags_playback_domain_get_type ();

Types and Values

enum AgsPlaybackDomainFlags

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

Members

AGS_PLAYBACK_DOMAIN_CONNECTED

indicates the playback domain was connected by calling AgsConnectable::connect()

 

AGS_PLAYBACK_DOMAIN_PLAYBACK

do playback

 

AGS_PLAYBACK_DOMAIN_SEQUENCER

do sequencer

 

AGS_PLAYBACK_DOMAIN_NOTATION

do notation

 

AGS_PLAYBACK_DOMAIN_SINGLE_THREADED

single threaded

 

AGS_PLAYBACK_DOMAIN_SUPER_THREADED_AUDIO

super threaded audio

 

enum AgsPlaybackDomainScope

Enum values to specify playback domain scope.

Members

AGS_PLAYBACK_DOMAIN_SCOPE_PLAYBACK

scope playback

 

AGS_PLAYBACK_DOMAIN_SCOPE_SEQUENCER

scope sequencer

 

AGS_PLAYBACK_DOMAIN_SCOPE_NOTATION

scope notation

 

AGS_TYPE_PLAYBACK_DOMAIN

#define AGS_TYPE_PLAYBACK_DOMAIN                (ags_playback_domain_get_type())

struct AgsPlaybackDomain

struct AgsPlaybackDomain;

struct AgsPlaybackDomainClass

struct AgsPlaybackDomainClass {
  GObjectClass gobject;
};

Property Details

The “domain” property

  “domain”                   GObject *

The assigned domain.

Flags: Read / Write

Since: 1.0.0.7


The “playback” property

  “playback”                 GObject *

The assigned playback.

Flags: Read / Write

Since: 1.0.0.7