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 method.
old_last_recycling

Type: AgsRecycling

The last recycling to replace.

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

Type: AgsRecycling

The first recycling to insert.

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

Type: AgsRecycling

The last recycling to insert.

The data is owned by the caller of the method.

Return value

Type: AgsRecyclingContext

The new AgsRecyclingContext.

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