AgsAudioPreferences

AgsAudioPreferences — A composite widget to do audio related preferences

Stability Level

Stable, unless otherwise indicated

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GInitiallyUnowned
        ╰── GtkWidget
            ╰── GtkBox
                ╰── AgsAudioPreferences

Implemented Interfaces

AgsAudioPreferences implements GtkAccessible, GtkBuildable, GtkConstraintTarget, GtkOrientable, AgsConnectable and AgsApplicable.

Includes

#include <ags/app/ags_audio_preferences.h>

Description

AgsAudioPreferences enables you to make preferences of soundcard, audio channels, samplerate and buffer size.

Functions

ags_audio_preferences_get_soundcard_editor ()

GList *
ags_audio_preferences_get_soundcard_editor
                               (AgsAudioPreferences *audio_preferences);

Get line member of audio_preferences .

Parameters

audio_preferences

the AgsAudio_Preferences

 

Returns

the GList containing AgsSoundcardEditor

Since: 4.0.0


ags_audio_preferences_add_soundcard_editor ()

void
ags_audio_preferences_add_soundcard_editor
                               (AgsAudioPreferences *audio_preferences,
                                AgsSoundcardEditor *soundcard_editor);

Add soundcard_editor to audio_preferences .

Parameters

audio_preferences

the AgsAudio_Preferences

 

soundcard_editor

the AgsSoundcardEditor

 

x

the x position

 

y

the y position

 

width

the width

 

height

the height

 

Since: 4.0.0


ags_audio_preferences_remove_soundcard_editor ()

void
ags_audio_preferences_remove_soundcard_editor
                               (AgsAudioPreferences *audio_preferences,
                                AgsSoundcardEditor *soundcard_editor);

Remove soundcard_editor from audio_preferences .

Parameters

audio_preferences

the AgsAudio_Preferences

 

soundcard_editor

the AgsSoundcardEditor

 

Since: 4.0.0


ags_audio_preferences_new ()

AgsAudioPreferences *
ags_audio_preferences_new ();

Create a new instance of AgsAudioPreferences

Returns

the new AgsAudioPreferences

Since: 3.0.0


AGS_AUDIO_PREFERENCES()

#define AGS_AUDIO_PREFERENCES(obj)                (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferences))

AGS_AUDIO_PREFERENCES_CLASS()

#define AGS_AUDIO_PREFERENCES_CLASS(class)        (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferencesClass))

AGS_AUDIO_PREFERENCES_GET_CLASS()

#define AGS_AUDIO_PREFERENCES_GET_CLASS(obj)      (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_AUDIO_PREFERENCES, AgsAudioPreferencesClass))

AGS_IS_AUDIO_PREFERENCES()

#define AGS_IS_AUDIO_PREFERENCES(obj)             (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_AUDIO_PREFERENCES))

AGS_IS_AUDIO_PREFERENCES_CLASS()

#define AGS_IS_AUDIO_PREFERENCES_CLASS(class)     (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_AUDIO_PREFERENCES))

ags_audio_preferences_get_type ()

GType
ags_audio_preferences_get_type (void);

Types and Values

enum AgsAudioPreferencesFlags

Members

AGS_AUDIO_PREFERENCES_CONNECTED

   

AGS_TYPE_AUDIO_PREFERENCES

#define AGS_TYPE_AUDIO_PREFERENCES                (ags_audio_preferences_get_type())

struct AgsAudioPreferences

struct AgsAudioPreferences;

struct AgsAudioPreferencesClass

struct AgsAudioPreferencesClass {
  GtkBoxClass box;
};