AgsAudio.Sndfile

g Ags.Connectable Ags.Connectable AgsAudio.Sndfile AgsAudio.Sndfile Ags.Connectable->AgsAudio.Sndfile AgsAudio.SoundResource AgsAudio.SoundResource AgsAudio.SoundResource->AgsAudio.Sndfile GObject.GInterface GObject.GInterface GObject.GInterface->Ags.Connectable GObject.GInterface->AgsAudio.SoundResource GObject.Object GObject.Object GObject.Object->AgsAudio.Sndfile

Subclasses:None

Properties

Name Type Flags Short Description
audio-channels int r/w The audio channels to be used
buffer-size int r/w The buffer size to be used
file int r/w The assigned file
format int r/w The format to be used

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
audio_channel_written int r  
audio_channels int r  
buffer object r  
buffer_offset int r  
buffer_size int r  
current int r  
file object r  
flags int r  
format int r  
full_buffer object r  
gobject GObject.Object r  
info object r  
length int r  
obj_mutex GLib.RecMutex r  
offset int r  
pointer int r  
uuid Ags.UUID r  

Class Details

class AgsAudio.Sndfile(**kwargs)
Bases:GObject.Object, Ags.Connectable, AgsAudio.SoundResource
Abstract:No
Structure:AgsAudio.SndfileClass
classmethod new()
Returns:the new AgsAudio.Sndfile.
Return type:AgsAudio.Sndfile

Creates a new instance of AgsAudio.Sndfile.

New in version 3.0.0.

set_flags(flags)
Parameters:flags (int) – see AgsAudio.SndfileFlags-enum

Enable a feature of self.

New in version 3.0.0.

test_flags(flags)
Parameters:flags (int) – the flags
Returns:True if flags are set, else False
Return type:bool

Test flags to be set on self.

New in version 3.0.0.

unset_flags(flags)
Parameters:flags (int) – see AgsAudio.SndfileFlags-enum

Disable a feature of self.

New in version 3.0.0.

Property Details

AgsAudio.Sndfile.props.audio_channels
Name:audio-channels
Type:int
Default Value:0
Flags:READABLE, WRITABLE

The audio channels to be used.

New in version 3.0.0.

AgsAudio.Sndfile.props.buffer_size
Name:buffer-size
Type:int
Default Value:0
Flags:READABLE, WRITABLE

The buffer size to be used.

New in version 3.0.0.

AgsAudio.Sndfile.props.file
Name:file
Type:int
Default Value:None
Flags:READABLE, WRITABLE

The assigned output #SNDFILE-struct.

New in version 3.0.0.

AgsAudio.Sndfile.props.format
Name:format
Type:int
Default Value:0
Flags:READABLE, WRITABLE

The format to be used.

New in version 3.0.0.