Method

AgsAudioRecyclingContextreset_recycling

since: 3.0.0

Declaration [src]

AgsRecyclingContext*
ags_recycling_context_reset_recycling (
  AgsRecyclingContext* recycling_context,
  AgsRecycling* old_first_recycling,
  AgsRecycling* old_last_recycling,
  AgsRecycling* new_first_recycling,
  AgsRecycling* new_last_recycling
)

Description [src]

Modify recycling of context.

Available since: 3.0.0

Parameters

old_first_recycling

Type: AgsRecycling

The first recycling to replace.

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

Type: AgsRecycling

The last recycling to replace.

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

Type: AgsRecycling

The first recycling to insert.

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

Type: AgsRecycling

The last recycling to insert.

The data is owned by the caller of the function.

Return value

Type: AgsRecyclingContext

The new AgsRecyclingContext.

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