AgsSoundcard

AgsSoundcard — unique access to soundcards

Functions

void ags_soundcard_set_application_context ()
AgsApplicationContext * ags_soundcard_get_application_context ()
void ags_soundcard_set_application_mutex ()
pthread_mutex_t * ags_soundcard_get_application_mutex ()
void ags_soundcard_set_device ()
gchar * ags_soundcard_get_device ()
void ags_soundcard_set_presets ()
void ags_soundcard_get_presets ()
void ags_soundcard_list_cards ()
void ags_soundcard_pcm_info ()
GList * ags_soundcard_get_poll_fd ()
gboolean ags_soundcard_is_available ()
gboolean ags_soundcard_is_starting ()
gboolean ags_soundcard_is_playing ()
gboolean ags_soundcard_is_recording ()
gchar * ags_soundcard_get_uptime ()
void ags_soundcard_play_init ()
void ags_soundcard_play ()
void ags_soundcard_record_init ()
void ags_soundcard_record ()
void ags_soundcard_stop ()
void ags_soundcard_tic ()
void ags_soundcard_offset_changed ()
void * ags_soundcard_get_buffer ()
void * ags_soundcard_get_next_buffer ()
void * ags_soundcard_get_prev_buffer ()
void ags_soundcard_set_bpm ()
gdouble ags_soundcard_get_bpm ()
void ags_soundcard_set_delay_factor ()
gdouble ags_soundcard_get_delay_factor ()
gdouble ags_soundcard_get_absolute_delay ()
gdouble ags_soundcard_get_delay ()
guint ags_soundcard_get_attack ()
guint ags_soundcard_get_delay_counter ()
void ags_soundcard_set_note_offset ()
guint ags_soundcard_get_note_offset ()
void ags_soundcard_set_note_offset_absolute ()
guint ags_soundcard_get_note_offset_absolute ()
void ags_soundcard_set_loop ()
void ags_soundcard_get_loop ()
guint ags_soundcard_get_loop_offset ()
void ags_soundcard_set_audio ()
GList * ags_soundcard_get_audio ()
#define AGS_IS_SOUNDCARD()
#define AGS_IS_SOUNDCARD_INTERFACE()
#define AGS_SOUNDCARD()
#define AGS_SOUNDCARD_GET_INTERFACE()
#define AGS_SOUNDCARD_INTERFACE()
GType ags_soundcard_get_type ()

Signals

Types and Values

Object Hierarchy

    GInterface
    ╰── AgsSoundcard

Includes

#include <ags/object/ags_soundcard.h>

Description

The AgsSoundcard interface gives you a unique access to audio devices.

Functions

ags_soundcard_set_application_context ()

void
ags_soundcard_set_application_context (AgsSoundcard *soundcard,
                                       AgsApplicationContext *application_context);

Set application context.

Parameters

soundcard

the AgsSoundcard

 

application_context

the application context to set

 

Since: 1.0.0


ags_soundcard_get_application_context ()

AgsApplicationContext *
ags_soundcard_get_application_context (AgsSoundcard *soundcard);

Get application context.

Parameters

soundcard

the AgsSoundcard

 

Since: 1.0.0


ags_soundcard_set_application_mutex ()

void
ags_soundcard_set_application_mutex (AgsSoundcard *soundcard,
                                     pthread_mutex_t *application_mutex);

Set application mutex.

Parameters

soundcard

the AgsSoundcard

 

application_mutex

the application mutex to set

 

Since: 1.0.0


ags_soundcard_get_application_mutex ()

pthread_mutex_t *
ags_soundcard_get_application_mutex (AgsSoundcard *soundcard);

Get application mutex.

Parameters

soundcard

the AgsSoundcard

 

Returns

AgsApplicationMutex

Since: 1.0.0


ags_soundcard_set_device ()

void
ags_soundcard_set_device (AgsSoundcard *soundcard,
                          gchar *device_id);

Set device.

Parameters

soundcard

the AgsSoundcard

 

device_id

the device to set

 

Since: 1.0.0


ags_soundcard_get_device ()

gchar *
ags_soundcard_get_device (AgsSoundcard *soundcard);

Get device.

Parameters

soundcard

the AgsSoundcard

 

Returns

the device's identifier

Since: 1.0.0


ags_soundcard_set_presets ()

void
ags_soundcard_set_presets (AgsSoundcard *soundcard,
                           guint channels,
                           guint rate,
                           guint buffer_size,
                           guint format);

Set presets.

Parameters

soundcard

the AgsSoundcard

 

channels

the audio channels

 

rate

the samplerate

 

buffer_size

the buffer size

 

format

the format

 

Since: 1.0.0


ags_soundcard_get_presets ()

void
ags_soundcard_get_presets (AgsSoundcard *soundcard,
                           guint *channels,
                           guint *rate,
                           guint *buffer_size,
                           guint *format);

Get presets.

Parameters

soundcard

the AgsSoundcard

 

channels

the audio channels

 

rate

the samplerate

 

buffer_size

the buffer size

 

format

the format

 

Since: 1.0.0


ags_soundcard_list_cards ()

void
ags_soundcard_list_cards (AgsSoundcard *soundcard,
                          GList **card_id,
                          GList **card_name);

Retrieve card_id and card_name as a list of strings.

Parameters

soundcard

the AgsSoundcard

 

card_id

a list containing card ids

 

card_name

a list containing card names

 

Since: 1.0.0


ags_soundcard_pcm_info ()

void
ags_soundcard_pcm_info (AgsSoundcard *soundcard,
                        gchar *card_id,
                        guint *channels_min,
                        guint *channels_max,
                        guint *rate_min,
                        guint *rate_max,
                        guint *buffer_size_min,
                        guint *buffer_size_max,
                        GError **error);

Retrieve detailed information of card_id soundcard.

Parameters

soundcard

the AgsSoundcard

 

card_id

the selected soundcard by its string identifier

 

channels_min

min channels supported

 

channels_max

max channels supported

 

rate_min

min samplerate supported

 

rate_max

max samplerate supported

 

buffer_size_min

min buffer size supported by soundcard

 

buffer_size_max

max buffer size supported by soundcard

 

error

an error that may occure

 

Since: 1.0.0


ags_soundcard_get_poll_fd ()

GList *
ags_soundcard_get_poll_fd (AgsSoundcard *soundcard);

Get poll file descriptors.

Parameters

soundcard

the AgsSoundcard

 

Returns

a GList containing poll file descriptors

Since: 1.0.0


ags_soundcard_is_available ()

gboolean
ags_soundcard_is_available (AgsSoundcard *soundcard);

Get available.

Parameters

soundcard

the AgsSoundcard

 

Returns

TRUE if available, else FALSE

Since: 1.0.0


ags_soundcard_is_starting ()

gboolean
ags_soundcard_is_starting (AgsSoundcard *soundcard);

Get starting.

Parameters

soundcard

the AgsSoundcard

 

Returns

TRUE if starting, else FALSE

Since: 1.0.0


ags_soundcard_is_playing ()

gboolean
ags_soundcard_is_playing (AgsSoundcard *soundcard);

Get playing.

Parameters

soundcard

the AgsSoundcard

 

Returns

TRUE if playing, else FALSE

Since: 1.0.0


ags_soundcard_is_recording ()

gboolean
ags_soundcard_is_recording (AgsSoundcard *soundcard);

Get recording.

Parameters

soundcard

the AgsSoundcard

 

Returns

TRUE if recording, else FALSE

Since: 1.0.0


ags_soundcard_get_uptime ()

gchar *
ags_soundcard_get_uptime (AgsSoundcard *soundcard);

Get playback time as string.

Parameters

soundcard

the AgsSoundcard

 

Returns

playback time as string

Since: 1.0.0


ags_soundcard_play_init ()

void
ags_soundcard_play_init (AgsSoundcard *soundcard,
                         GError **error);

Initializes the soundcard for playback.

Parameters

soundcard

the AgsSoundcard

 

error

an error that may occure

 

Since: 1.0.0


ags_soundcard_play ()

void
ags_soundcard_play (AgsSoundcard *soundcard,
                    GError **error);

Plays the current buffer of soundcard.

Parameters

soundcard

the AgsSoundcard

 

error

an error that may occure

 

Since: 1.0.0


ags_soundcard_record_init ()

void
ags_soundcard_record_init (AgsSoundcard *soundcard,
                           GError **error);

Initializes the soundcard for recordback.

Parameters

soundcard

the AgsSoundcard

 

error

an error that may occure

 

Since: 1.0.0


ags_soundcard_record ()

void
ags_soundcard_record (AgsSoundcard *soundcard,
                      GError **error);

Records the current buffer of soundcard.

Parameters

soundcard

the AgsSoundcard

 

error

an error that may occure

 

Since: 1.0.0


ags_soundcard_stop ()

void
ags_soundcard_stop (AgsSoundcard *soundcard);

Stops the soundcard from playing to it.

Parameters

soundcard

the AgsSoundcard

 

Since: 1.0.0


ags_soundcard_tic ()

void
ags_soundcard_tic (AgsSoundcard *soundcard);

Every call to play may generate a tic.

Parameters

soundcard

the AgsSoundcard

 

Since: 1.0.0


ags_soundcard_offset_changed ()

void
ags_soundcard_offset_changed (AgsSoundcard *soundcard,
                              guint note_offset);

Callback when counter expires minor note offset.

Parameters

soundcard

the AgsSoundcard

 

note_offset

the current note offset

 

Since: 1.0.0


ags_soundcard_get_buffer ()

void *
ags_soundcard_get_buffer (AgsSoundcard *soundcard);

Get current playback buffer.

Parameters

soundcard

the AgsSoundcard

 

Returns

current playback buffer

Since: 1.0.0


ags_soundcard_get_next_buffer ()

void *
ags_soundcard_get_next_buffer (AgsSoundcard *soundcard);

Get future playback buffer.

Parameters

soundcard

the AgsSoundcard

 

Returns

next playback buffer

Since: 1.0.0


ags_soundcard_get_prev_buffer ()

void *
ags_soundcard_get_prev_buffer (AgsSoundcard *soundcard);

Get future playback buffer.

Parameters

soundcard

the AgsSoundcard

 

Returns

prev playback buffer

Since: 1.0.0


ags_soundcard_set_bpm ()

void
ags_soundcard_set_bpm (AgsSoundcard *soundcard,
                       gdouble bpm);

Set current playback bpm.

Parameters

soundcard

the AgsSoundcard

 

bpm

the bpm to set

 

Since: 1.0.0


ags_soundcard_get_bpm ()

gdouble
ags_soundcard_get_bpm (AgsSoundcard *soundcard);

Get current playback bpm.

Parameters

soundcard

the AgsSoundcard

 

Returns

bpm

Since: 1.0.0


ags_soundcard_set_delay_factor ()

void
ags_soundcard_set_delay_factor (AgsSoundcard *soundcard,
                                gdouble delay_factor);

Set current playback delay factor.

Parameters

soundcard

the AgsSoundcard

 

delay_factor

the delay factor to set

 

Since: 1.0.0


ags_soundcard_get_delay_factor ()

gdouble
ags_soundcard_get_delay_factor (AgsSoundcard *soundcard);

Get current playback delay factor.

Parameters

soundcard

the AgsSoundcard

 

Returns

delay factor

Since: 1.0.0


ags_soundcard_get_absolute_delay ()

gdouble
ags_soundcard_get_absolute_delay (AgsSoundcard *soundcard);

Get current playback delay.

Parameters

soundcard

the AgsSoundcard

 

Returns

delay

Since: 1.0.0


ags_soundcard_get_delay ()

gdouble
ags_soundcard_get_delay (AgsSoundcard *soundcard);

Get current playback delay.

Parameters

soundcard

the AgsSoundcard

 

Returns

delay

Since: 1.0.0


ags_soundcard_get_attack ()

guint
ags_soundcard_get_attack (AgsSoundcard *soundcard);

Get current playback attack.

Parameters

soundcard

the AgsSoundcard

 

Returns

attack

Since: 1.0.0


ags_soundcard_get_delay_counter ()

guint
ags_soundcard_get_delay_counter (AgsSoundcard *soundcard);

Get current playback note offset.

Parameters

soundcard

the AgsSoundcard

 

Returns

offset

Since: 1.0.0


ags_soundcard_set_note_offset ()

void
ags_soundcard_set_note_offset (AgsSoundcard *soundcard,
                               guint note_offset);

Set current playback note offset.

Parameters

soundcard

the AgsSoundcard

 

note_offset

the note offset to set

 

Since: 1.0.0


ags_soundcard_get_note_offset ()

guint
ags_soundcard_get_note_offset (AgsSoundcard *soundcard);

Get current playback note offset.

Parameters

soundcard

the AgsSoundcard

 

Returns

offset

Since: 1.0.0


ags_soundcard_set_note_offset_absolute ()

void
ags_soundcard_set_note_offset_absolute
                               (AgsSoundcard *soundcard,
                                guint note_offset);

Set current playback note offset.

Parameters

soundcard

the AgsSoundcard

 

note_offset

the note offset to set

 

Since: 1.0.0


ags_soundcard_get_note_offset_absolute ()

guint
ags_soundcard_get_note_offset_absolute
                               (AgsSoundcard *soundcard);

Get current playback note offset.

Parameters

soundcard

the AgsSoundcard

 

Returns

offset

Since: 1.0.0


ags_soundcard_set_loop ()

void
ags_soundcard_set_loop (AgsSoundcard *soundcard,
                        guint loop_left,
                        guint loop_right,
                        gboolean do_loop);

Set loop parameters of soundcard .

Parameters

soundcard

the AgsSoundcard

 

loop_left

loop position of region

 

loop_right

loop position of region

 

do_loop

if TRUE do loop, else don't loop

 

Since: 1.0.0


ags_soundcard_get_loop ()

void
ags_soundcard_get_loop (AgsSoundcard *soundcard,
                        guint *loop_left,
                        guint *loop_right,
                        gboolean *do_loop);

Get loop parameters of soundcard .

Parameters

soundcard

the AgsSoundcard

 

loop_left

return location of loop position's region

 

loop_right

return location of loop position's region

 

do_loop

return location of do loop

 

Since: 1.0.0


ags_soundcard_get_loop_offset ()

guint
ags_soundcard_get_loop_offset (AgsSoundcard *soundcard);

Get current playback loop offset.

Parameters

soundcard

the AgsSoundcard

 

Returns

offset

Since: 1.0.0


ags_soundcard_set_audio ()

void
ags_soundcard_set_audio (AgsSoundcard *soundcard,
                         GList *audio);

Set audio.

Parameters

soundcard

the AgsSoundcard

 

audio

the audio as GList to set

 

Since: 1.0.0


ags_soundcard_get_audio ()

GList *
ags_soundcard_get_audio (AgsSoundcard *soundcard);

Get audio.

Parameters

soundcard

the AgsSoundcard

 

Returns

a GList container AgsAudio

Since: 1.0.0


AGS_IS_SOUNDCARD()

#define AGS_IS_SOUNDCARD(obj)                 (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_SOUNDCARD))

AGS_IS_SOUNDCARD_INTERFACE()

#define AGS_IS_SOUNDCARD_INTERFACE(vtable)    (G_TYPE_CHECK_CLASS_TYPE((vtable), AGS_TYPE_SOUNDCARD))

AGS_SOUNDCARD()

#define AGS_SOUNDCARD(obj)                    (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_SOUNDCARD, AgsSoundcard))

AGS_SOUNDCARD_GET_INTERFACE()

#define AGS_SOUNDCARD_GET_INTERFACE(obj)      (G_TYPE_INSTANCE_GET_INTERFACE((obj), AGS_TYPE_SOUNDCARD, AgsSoundcardInterface))

AGS_SOUNDCARD_INTERFACE()

#define AGS_SOUNDCARD_INTERFACE(vtable)       (G_TYPE_CHECK_CLASS_CAST((vtable), AGS_TYPE_SOUNDCARD, AgsSoundcardInterface))

ags_soundcard_get_type ()

GType
ags_soundcard_get_type ();

Types and Values

AGS_SOUNDCARD_DEFAULT_DSP_CHANNELS

#define AGS_SOUNDCARD_DEFAULT_DSP_CHANNELS (2)

AGS_SOUNDCARD_DEFAULT_PCM_CHANNELS

#define AGS_SOUNDCARD_DEFAULT_PCM_CHANNELS (2)

AGS_SOUNDCARD_DEFAULT_SAMPLERATE

#define AGS_SOUNDCARD_DEFAULT_SAMPLERATE (48000.0)

AGS_SOUNDCARD_DEFAULT_FORMAT

#define AGS_SOUNDCARD_DEFAULT_FORMAT (AGS_SOUNDCARD_SIGNED_16_BIT)

AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE

#define AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE (1024)

AGS_SOUNDCARD_DEFAULT_BPM

#define AGS_SOUNDCARD_DEFAULT_BPM (120.0)

AGS_SOUNDCARD_DEFAULT_DELAY_FACTOR

#define AGS_SOUNDCARD_DEFAULT_DELAY_FACTOR (1.0 / 4.0)

AGS_SOUNDCARD_DEFAULT_JIFFIE

#define AGS_SOUNDCARD_DEFAULT_JIFFIE ((double) AGS_SOUNDCARD_DEFAULT_SAMPLERATE / (double) AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE)

AGS_SOUNDCARD_DEFAULT_TACT

#define AGS_SOUNDCARD_DEFAULT_TACT (1.0 / 1.0)

AGS_SOUNDCARD_DEFAULT_TACT_JIFFIE

#define AGS_SOUNDCARD_DEFAULT_TACT_JIFFIE (60.0 / AGS_SOUNDCARD_DEFAULT_BPM * AGS_SOUNDCARD_DEFAULT_TACT)

AGS_SOUNDCARD_DEFAULT_TACTRATE

#define AGS_SOUNDCARD_DEFAULT_TACTRATE (1.0 / AGS_SOUNDCARD_DEFAULT_TACT_JIFFIE)

AGS_SOUNDCARD_DEFAULT_SCALE

#define AGS_SOUNDCARD_DEFAULT_SCALE (1.0)

AGS_SOUNDCARD_DEFAULT_DELAY

#define AGS_SOUNDCARD_DEFAULT_DELAY ((60.0 * ((AGS_SOUNDCARD_DEFAULT_SAMPLERATE / AGS_SOUNDCARD_DEFAULT_BUFFER_SIZE) / AGS_SOUNDCARD_DEFAULT_BPM)) * ((1.0 / 16.0) * (1.0 / AGS_SOUNDCARD_DEFAULT_DELAY_FACTOR)))

AGS_SOUNDCARD_DEFAULT_PERIOD

#define AGS_SOUNDCARD_DEFAULT_PERIOD (64.0)

AGS_SOUNDCARD_DEFAULT_LOOP_LEFT

#define AGS_SOUNDCARD_DEFAULT_LOOP_LEFT (0)

AGS_SOUNDCARD_DEFAULT_LOOP_RIGHT

#define AGS_SOUNDCARD_DEFAULT_LOOP_RIGHT (64)

AGS_SOUNDCARD_DEFAULT_OVERCLOCK

#define AGS_SOUNDCARD_DEFAULT_OVERCLOCK (0.0)

enum AgsSoundcardFormat

AgsSoundcardFormat specifies the audio data representation to be used.

Members

AGS_SOUNDCARD_SIGNED_8_BIT

signed 8 bit raw pcm data

 

AGS_SOUNDCARD_SIGNED_16_BIT

signed 16 bit raw pcm data

 

AGS_SOUNDCARD_SIGNED_24_BIT

signed 24 bit raw pcm data

 

AGS_SOUNDCARD_SIGNED_32_BIT

signed 32 bit raw pcm data

 

AGS_SOUNDCARD_SIGNED_64_BIT

signed 64 bit raw pcm data

 

AGS_TYPE_SOUNDCARD

#define AGS_TYPE_SOUNDCARD                    (ags_soundcard_get_type())

AgsSoundcard

typedef struct _AgsSoundcard AgsSoundcard;

struct AgsSoundcardInterface

struct AgsSoundcardInterface {
  GTypeInterface ginterface;

  void (*set_application_context)(AgsSoundcard *soundcard,
				  AgsApplicationContext *application_context);
  AgsApplicationContext* (*get_application_context)(AgsSoundcard *soundcard);

  void (*set_application_mutex)(AgsSoundcard *soundcard,
				pthread_mutex_t *application_mutex);
  pthread_mutex_t* (*get_application_mutex)(AgsSoundcard *soundcard);

  void (*set_device)(AgsSoundcard *soundcard,
		     gchar *card_id);
  gchar* (*get_device)(AgsSoundcard *soundcard);

  void (*pcm_info)(AgsSoundcard *soundcard, gchar *card_id,
		   guint *channels_min, guint *channels_max,
		   guint *rate_min, guint *rate_max,
		   guint *buffer_size_min, guint *buffer_size_max,
		   GError **error);
  
  void (*set_presets)(AgsSoundcard *soundcard,
		      guint channels,
		      guint rate,
		      guint buffer_size,
		      guint format);
  void (*get_presets)(AgsSoundcard *soundcard,
		      guint *channels,
		      guint *rate,
		      guint *buffer_size,
		      guint *format);
  
  void (*list_cards)(AgsSoundcard *soundcard,
		     GList **card_id, GList **card_name);
  
  GList* (*get_poll_fd)(AgsSoundcard *soundcard);
  gboolean (*is_available)(AgsSoundcard *soundcard);
  
  gboolean (*is_starting)(AgsSoundcard *soundcard);
  gboolean (*is_playing)(AgsSoundcard *soundcard);
  gboolean (*is_recording)(AgsSoundcard *soundcard);

  gchar* (*get_uptime)(AgsSoundcard *soundcard);
  
  void (*play_init)(AgsSoundcard *soundcard,
		    GError **error);
  void (*play)(AgsSoundcard *soundcard,
	       GError **error);

  void (*record_init)(AgsSoundcard *soundcard,
		      GError **error);
  void (*record)(AgsSoundcard *soundcard,
		 GError **error);

  void (*stop)(AgsSoundcard *soundcard);

  void (*tic)(AgsSoundcard *soundcard);
  void (*offset_changed)(AgsSoundcard *soundcard,
			 guint note_offset);
  
  void* (*get_buffer)(AgsSoundcard *soundcard);
  void* (*get_next_buffer)(AgsSoundcard *soundcard);  
  void* (*get_prev_buffer)(AgsSoundcard *soundcard);  

  void (*set_bpm)(AgsSoundcard *soundcard,
		  gdouble bpm);
  gdouble (*get_bpm)(AgsSoundcard *soundcard);

  void (*set_delay_factor)(AgsSoundcard *soundcard,
			   gdouble delay_factor);
  gdouble (*get_delay_factor)(AgsSoundcard *soundcard);

  gdouble (*get_absolute_delay)(AgsSoundcard *soundcard);
  
  gdouble (*get_delay)(AgsSoundcard *soundcard);
  guint (*get_attack)(AgsSoundcard *soundcard);

  guint (*get_delay_counter)(AgsSoundcard *soundcard);

  void (*set_note_offset)(AgsSoundcard *soundcard,
			  guint note_offset);
  guint (*get_note_offset)(AgsSoundcard *soundcard);

  void (*set_note_offset_absolute)(AgsSoundcard *soundcard,
				   guint note_offset);
  guint (*get_note_offset_absolute)(AgsSoundcard *soundcard);

  void (*set_loop)(AgsSoundcard *soundcard,
		   guint loop_left, guint loop_right,
		   gboolean do_loop);
  void (*get_loop)(AgsSoundcard *soundcard,
		   guint *loop_left, guint *loop_right,
		   gboolean *do_loop);

  guint (*get_loop_offset)(AgsSoundcard *soundcard);

  void (*set_audio)(AgsSoundcard *soundcard,
		    GList *audio);
  GList* (*get_audio)(AgsSoundcard *soundcard);
};

Signal Details

The “offset-changed” signal

void
user_function (AgsSoundcard *soundcard,
               guint         note_offset,
               gpointer      user_data)

The ::offset-changed signal notifies about changed position within notation.

Parameters

soundcard

the object

 

note_offset

new notation offset

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 1.0.0


The “stop” signal

void
user_function (AgsSoundcard *soundcard,
               gpointer      user_data)

The ::stop signal is emitted every stop of the soundcard. This notifies about a newly played buffer.

Parameters

soundcard

the object

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 1.0.0


The “tic” signal

void
user_function (AgsSoundcard *soundcard,
               gpointer      user_data)

The ::tic signal is emitted every tic of the soundcard. This notifies about a newly played buffer.

Parameters

soundcard

the object

 

user_data

user data set when the signal handler was connected.

 

Flags: Run Last

Since: 1.0.0