Constructor

AgsAudioSetSampleratenew

since: 3.0.0

Declaration [src]

AgsSetSamplerate*
ags_set_samplerate_new (
  GObject* scope,
  guint samplerate
)

Description [src]

Create a new instance of AgsSetSamplerate.

Available since: 3.0.0

Parameters

scope

Type: GObject

The AgsSoundcard to reset.

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

Type: guint

The new samplerate.

Return value

Type: AgsSetSamplerate

The new AgsSetSamplerate.

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