Class
AgsAudioAudioSignal
Description
class AgsAudio.AudioSignal : GObject.Object
implements Ags.Connectable {
flags: AgsAudioSignalFlags,
connectable_flags: AgsConnectableFlags,
key_format: AgsSoundKeyFormat,
obj_mutex: GRecMutex,
uuid: AgsUUID*,
recycling: GObject*,
output_soundcard: GObject*,
output_soundcard_channel: gint,
input_soundcard: GObject*,
input_soundcard_channel: gint,
samplerate: guint,
buffer_size: guint,
format: AgsSoundcardFormat,
word_size: guint,
length: guint,
first_frame: guint,
last_frame: guint,
frame_count: guint,
loop_start: guint,
loop_end: guint,
delay: gdouble,
attack: guint,
note_256th_attack: guint,
damping: AgsComplex,
vibration: AgsComplex,
timbre_start: guint,
timbre_end: guint,
default_template: GObject*,
rt_template: GObject*,
note: GList*,
recall_id: GObject*,
stream_mutex: GRecMutex,
stream: GList*,
stream_current: GList*,
stream_end: GList*,
stream_mode: AgsAudioSignalStreamMode,
audio_buffer_util: AgsAudioBufferUtil*,
backlog_mutex: GRecMutex,
has_backlog: gboolean
}
No description available.
Constructors
ags_audio_signal_new
Creates a AgsAudioSignal
, with defaults of output_soundcard
, linking recycling
tree
and refering to recall_id
.
since: 3.0.0
ags_audio_signal_new_with_length
Creates a AgsAudioSignal
, with defaults of soundcard
, linking recycling
tree
and refering to recall_id
.
The audio data is tiled to length
frame count.
since: 3.0.0
Functions
ags_audio_signal_find_stream_current
Retrieve next current stream of AgsAudioSignal
list. Warning this function does not
lock the stream mutex.
since: 3.0.0
Instance methods
ags_audio_signal_duplicate_stream
Apply default_template
audio data to audio_signal
. Note should only be invoked
by proper recall context because only the stream of default_template
is locked.
since: 3.0.0
ags_audio_signal_get_length_till_current
Counts the buffers from :stream upto :stream-current.
since: 3.0.0
ags_audio_signal_stream_resize
Resize stream of audio_signal
to length
number of buffers.
since: 3.0.0
ags_audio_signal_stream_safe_resize
Resize stream of audio_signal
to length
number of buffers. But doesn’t shrink
more than the current stream position.
since: 3.0.0
Methods inherited from AgsConnectable (13)
ags_connectable_add_to_registry
Add connectable to registry.
ags_connectable_connect
Connect the connectable.
ags_connectable_connect_connection
Disconnect the connectable.
ags_connectable_disconnect
Disconnect the connectable.
ags_connectable_disconnect_connection
Disconnect the connectable.
ags_connectable_get_uuid
Get UUID of connectable
.
ags_connectable_has_resource
Check the connectable to have resources.
ags_connectable_is_connected
Check if the connectable
was connected.
ags_connectable_is_ready
Connect the connectable.
ags_connectable_list_resource
List resources as an XML element and return it.
ags_connectable_remove_from_registry
Remove connectable from registry.
ags_connectable_xml_compose
Compose an XML element and return it.
ags_connectable_xml_parse
Parse node
as XML element and apply it.
Properties
AgsAudio.AudioSignal:output-soundcard
The assigned output AgsSoundcard
providing default settings.
since: 3.0.0
Signals
AgsAudio.AudioSignal::refresh-data
The ::refresh-data signal notifies about requesting to refresh data.
since: 3.0.0
AgsAudio.AudioSignal::remove-note
The ::remove-note signal notifies about removing note
.
since: 3.0.0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct AgsAudioAudioSignalClass {
GObjectClass gobject;
void (* add_note) (
AgsAudioSignal* audio_signal,
GObject* note
);
void (* remove_note) (
AgsAudioSignal* audio_signal,
GObject* note
);
void (* refresh_data) (
AgsAudioSignal* audio_signal
);
}
No description available.
Class members
gobject: GObjectClass
No description available.
add_note: void (* add_note) ( AgsAudioSignal* audio_signal, GObject* note )
No description available.
remove_note: void (* remove_note) ( AgsAudioSignal* audio_signal, GObject* note )
No description available.
refresh_data: void (* refresh_data) ( AgsAudioSignal* audio_signal )
No description available.