Function

AgsAudiostream_alloc

since: 3.0.0

Declaration [src]

void*
ags_stream_alloc (
  guint buffer_size,
  AgsSoundcardFormat format
)

Description [src]

Allocs an audio buffer.

Available since: 3.0.0

Parameters

buffer_size

Type: guint

The buffer size.

format

Type: AgsSoundcardFormat

The format.

Return value

Type: void*

The audio data array.

The data is owned by the called function.
The return value can be NULL.