Constructor

AgsAudioSetPresetsnew

since: 5.3.1

Declaration [src]

AgsSetPresets*
ags_set_presets_new (
  GObject* scope,
  guint buffer_size,
  AgsSoundcardFormat format,
  guint samplerate
)

Description [src]

Create a new instance of AgsSetPresets.

Available since: 5.3.1

Parameters

scope

Type: GObject

The AgsSoundcard to reset.

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

Type: guint

The new buffer size.

format

Type: AgsSoundcardFormat

The new format.

samplerate

Type: guint

The new samplerate.

Return value

Type: AgsSetPresets

The new AgsSetPresets.

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