Constructor

AgsAudioAudioSignalnew_with_length

since: 3.0.0

Declaration [src]

AgsAudioSignal*
ags_audio_signal_new_with_length (
  GObject* output_soundcard,
  GObject* recycling,
  GObject* recall_id,
  guint length
)

Description [src]

Creates a AgsAudioSignal, with defaults of soundcard, linking recycling tree and refering to recall_id. The audio data is tiled to length frame count.

Available since: 3.0.0

Parameters

output_soundcard

Type: GObject

The assigned output AgsSoundcard.

The data is owned by the caller of the function.
recycling

Type: GObject

The AgsRecycling.

The data is owned by the caller of the function.
recall_id

Type: GObject

The AgsRecallID, it can be NULL if AGS_AUDIO_SIGNAL_DEFAULT_TEMPLATE is set.

The data is owned by the caller of the function.
length

Type: guint

Audio data frame count.

Return value

Type: AgsAudioSignal

A new AgsAudioSignal.

The caller of the function takes ownership of the data, and is responsible for freeing it.