Gegl.AudioFragment

g GObject.Object GObject.Object Gegl.AudioFragment Gegl.AudioFragment GObject.Object->Gegl.AudioFragment

Subclasses:

None

Methods

Inherited:

GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (sample_rate, channels, channel_layout, max_samples)

get_channel_layout ()

get_channels ()

get_max_samples ()

get_pos ()

get_sample_count ()

get_sample_rate ()

set_channel_layout (channel_layout)

set_channels (channels)

set_max_samples (max_samples)

set_pos (pos)

set_sample_count (sample_count)

set_sample_rate (sample_rate)

Virtual Methods

Inherited:

GObject.Object (7)

Properties

Name

Type

Flags

Short Description

string

str

r/w

A String representation of the Gegl.AudioFragment

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Name

Type

Access

Description

data

[float]

r

parent_instance

GObject.Object

r

Class Details

class Gegl.AudioFragment(**kwargs)
Bases:

GObject.Object

Abstract:

No

Structure:

Gegl.AudioFragmentClass

classmethod new(sample_rate, channels, channel_layout, max_samples)
Parameters:
  • sample_rate (int) –

  • channels (int) –

  • channel_layout (int) –

  • max_samples (int) –

Return type:

Gegl.AudioFragment

get_channel_layout()
Return type:

int

get_channels()
Return type:

int

get_max_samples()
Return type:

int

get_pos()
Return type:

int

get_sample_count()
Return type:

int

get_sample_rate()
Return type:

int

set_channel_layout(channel_layout)
Parameters:

channel_layout (int) –

set_channels(channels)
Parameters:

channels (int) –

set_max_samples(max_samples)
Parameters:

max_samples (int) –

set_pos(pos)
Parameters:

pos (int) –

set_sample_count(sample_count)
Parameters:

sample_count (int) –

set_sample_rate(sample_rate)
Parameters:

sample_rate (int) –

Property Details

Gegl.AudioFragment.props.string
Name:

string

Type:

str

Default Value:

''

Flags:

READABLE, WRITABLE

A String representation of the Gegl.AudioFragment