Method

AgsAudioAudioBufferUtilget_float_as_s16

since: 7.0.0

Declaration [src]

void
ags_audio_buffer_util_get_float_as_s16 (
  AgsAudioBufferUtil* audio_buffer_util,
  gint16* destination,
  guint destination_stride,
  gfloat* source,
  guint source_stride,
  guint count
)

Description [src]

Read vector with single precision floating point data as signed 16 bit.

Available since: 7.0.0

Parameters

destination

Type: gint16*

Destination vector.

The data is owned by the caller of the method.
destination_stride

Type: guint

Destination vector’s count of channels.

source

Type: gfloat*

Source buffer.

The data is owned by the caller of the method.
source_stride

Type: guint

Source buffer’s count of channels.

count

Type: guint

Number of frames to copy.