AgsSoundcardUtil

AgsSoundcardUtil — soundcard util

Stability Level

Stable, unless otherwise indicated

Functions

Object Hierarchy

    GBoxed
    ╰── AgsSoundcardUtil

Includes

#include <ags/audio/ags_soundcard_util.h>

Description

Soundcard utility functions.

Functions

ags_soundcard_util_get_obj_mutex ()

GRecMutex *
ags_soundcard_util_get_obj_mutex (GObject *soundcard);

Get object mutex of soundcard .

Parameters

soundcard

the GObject sub-type implementing AgsSoundcard

 

Returns

GRecMutex pointer.

[transfer none]

Since: 3.0.0


ags_soundcard_util_calc_system_time ()

gint64
ags_soundcard_util_calc_system_time (GObject *soundcard);

ags_soundcard_util_calc_system_time is deprecated and should not be used in newly-written code.

Offset of soundcard to system time.

Parameters

soundcard

the GObject sub-type implementing AgsSoundcard

 

Returns

the system time

Since: 5.0.0


ags_soundcard_util_calc_time_samples ()

gint64
ags_soundcard_util_calc_time_samples (GObject *soundcard);

Offset of soundcard to system time.

Parameters

soundcard

the GObject sub-type implementing AgsSoundcard

 

Returns

the system time

Since: 5.0.0


ags_soundcard_util_calc_time_samples_absolute ()

gint64
ags_soundcard_util_calc_time_samples_absolute
                               (GObject *soundcard);

Offset of soundcard to system time.

Parameters

soundcard

the GObject sub-type implementing AgsSoundcard

 

Returns

the system time

Since: 5.0.0