Function

AgsBufferUtilchar_buffer_to_s16

since: 3.0.0

Declaration [src]

gint16*
ags_buffer_util_char_buffer_to_s16 (
  guchar* cbuffer,
  guint buffer_size
)

Description [src]

Unpack cbuffer to a gint16 buffer.

Available since: 3.0.0

Parameters

cbuffer

Type: guchar*

The guchar buffer.

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

Type: guint

The buffer size.

Return value

Type: gint16*

The gint16 buffer.

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