Constructor

AgsAudioTogglePatternBitnew

since: 3.0.0

Declaration [src]

AgsTogglePatternBit*
ags_toggle_pattern_bit_new (
  AgsPattern* pattern,
  guint line,
  guint index_i,
  guint index_j,
  guint bit
)

Description [src]

Creates an AgsTogglePatternBit.

Available since: 3.0.0

Parameters

pattern

Type: AgsPattern

The AgsPattern to toggle.

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

Type: guint

The affected line.

index_i

Type: guint

Bank 0

index_j

Type: guint

Bank 1

bit

Type: guint

The index within pattern.

Return value

Type: AgsTogglePatternBit

An new AgsTogglePatternBit.

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