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)
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