AgsSoundProvider

AgsSoundProvider — provide accoustics

Functions

Types and Values

Object Hierarchy

    GInterface
    ╰── AgsSoundProvider

Known Implementations

AgsSoundProvider is implemented by AgsAudioApplicationContext.

Includes

#include <ags/thread/ags_sound_provider.h>

Description

The AgsSoundProvider provides you the advanced audio capabilities.

Functions

ags_sound_provider_set_soundcard ()

void
ags_sound_provider_set_soundcard (AgsSoundProvider *sound_provider,
                                  GList *soundcard);

Set soundcards.

Parameters

sound_provider

the AgsSoundProvider

 

soundcard

a GList-struc containing AgsSoundcard

 

Since: 0.7.4


ags_sound_provider_get_soundcard ()

GList *
ags_sound_provider_get_soundcard (AgsSoundProvider *sound_provider);

Get soundcards.

Parameters

sound_provider

the AgsSoundProvider

 

Returns

a GList containing AgsSoundcard

Since: 0.7.4


ags_sound_provider_set_default_soundcard_thread ()

void
ags_sound_provider_set_default_soundcard_thread
                               (AgsSoundProvider *sound_provider,
                                GObject *soundcard_thread);

set default soundcard thread.

Parameters

sound_provider

the AgsSoundProvider

 

soundcard_thread

the default AgsThread

 

Since: 0.7.65


ags_sound_provider_get_default_soundcard_thread ()

GObject *
ags_sound_provider_get_default_soundcard_thread
                               (AgsSoundProvider *sound_provider);

Get default soundcard thread.

Parameters

sound_provider

the AgsSoundProvider

 

Returns

the AgsThread

Since: 0.7.65


ags_sound_provider_set_sequencer ()

void
ags_sound_provider_set_sequencer (AgsSoundProvider *sound_provider,
                                  GList *sequencer);

Set sequencers.

Parameters

sound_provider

the AgsSoundProvider

 

sequencer

a GList-struc containing AgsSequencer

 

Since: 0.7.4


ags_sound_provider_get_sequencer ()

GList *
ags_sound_provider_get_sequencer (AgsSoundProvider *sound_provider);

Get sequencers.

Parameters

sound_provider

the AgsSoundProvider

 

Returns

a GList containing AgsSequencer

Since: 0.7.4


ags_sound_provider_set_distributed_manager ()

void
ags_sound_provider_set_distributed_manager
                               (AgsSoundProvider *sound_provider,
                                GList *distributed_manager);

Set distributed manager.

Parameters

sound_provider

the AgsSoundProvider

 

distributed_manager

a GList containing AgsDistributedManager

 

Since: 0.7.4


ags_sound_provider_get_distributed_manager ()

GList *
ags_sound_provider_get_distributed_manager
                               (AgsSoundProvider *sound_provider);

Set distributed manager.

Parameters

sound_provider

the AgsSoundProvider

 

Returns

a GList containing AgsDistributedManager

Since: 0.7.4


AGS_IS_SOUND_PROVIDER()

#define AGS_IS_SOUND_PROVIDER(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SOUND_PROVIDER))


AGS_IS_SOUND_PROVIDER_INTERFACE()

#define AGS_IS_SOUND_PROVIDER_INTERFACE(vtable)    (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_SOUND_PROVIDER))


AGS_SOUND_PROVIDER()

#define AGS_SOUND_PROVIDER(obj)                    (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SOUND_PROVIDER, AgsSoundProvider))


AGS_SOUND_PROVIDER_GET_INTERFACE()

#define AGS_SOUND_PROVIDER_GET_INTERFACE(obj)      (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_SOUND_PROVIDER, AgsSoundProviderInterface))


AGS_SOUND_PROVIDER_INTERFACE()

#define AGS_SOUND_PROVIDER_INTERFACE(vtable)       (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_SOUND_PROVIDER, AgsSoundProviderInterface))


ags_sound_provider_get_type ()

GType
ags_sound_provider_get_type ();

Types and Values

AGS_TYPE_SOUND_PROVIDER

#define AGS_TYPE_SOUND_PROVIDER                    (ags_sound_provider_get_type())


AgsSoundProvider

typedef struct _AgsSoundProvider AgsSoundProvider;


struct AgsSoundProviderInterface

struct AgsSoundProviderInterface {
  GTypeInterface interface;

  void (*set_soundcard)(AgsSoundProvider *sound_provider,
			GList *soundcard);
  GList* (*get_soundcard)(AgsSoundProvider *sound_provider);

  void (*set_default_soundcard_thread)(AgsSoundProvider *sound_provider,
				       GObject *soundcard_thread);
  GObject* (*get_default_soundcard_thread)(AgsSoundProvider *sound_provider);
  
  void (*set_sequencer)(AgsSoundProvider *sound_provider,
			GList *sequencer);
  GList* (*get_sequencer)(AgsSoundProvider *sound_provider);

  void (*set_distributed_manager)(AgsSoundProvider *sound_provider,
				 GList *distributed_manager);
  GList* (*get_distributed_manager)(AgsSoundProvider *sound_provider);
};