Virtual Method

AgsAudioSoundResourceset_presets

since: 3.0.0

Declaration [src]

void
set_presets (
  AgsSoundResource* sound_resource,
  guint channels,
  guint samplerate,
  guint buffer_size,
  AgsSoundcardFormat format
)

Description [src]

Set presets of sound_resource.

Available since: 3.0.0

Parameters

channels

Type: guint

Channels to set.

samplerate

Type: guint

Samplerate to set.

buffer_size

Type: guint

Buffer-size to set.

format

Type: AgsSoundcardFormat

Format to set.