Function

AgsBufferUtilfloat_to_char_buffer

since: 3.0.0

Declaration [src]

guchar*
ags_buffer_util_float_to_char_buffer (
  gfloat* buffer,
  guint buffer_length
)

Description [src]

Pack buffer into an guchar buffer.

Available since: 3.0.0

Parameters

buffer

Type: gfloat*

The gfloat buffer.

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

Type: guint

The buffer length.

Return value

Type: guchar*

The guchar buffer.

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