Interface
AgsSoundcard
Prerequisite
In order to implement Soundcard, your type must inherit fromGObject
.
Signals
Ags.Soundcard::offset-changed
The ::offset-changed signal notifies about changed position within notation.
since: 3.0.0
Ags.Soundcard::stop
The ::stop signal is emitted every stop of the soundcard. This notifies about a newly played buffer.
since: 3.0.0
Ags.Soundcard::tic
The ::tic signal is emitted every tic of the soundcard. This notifies about a newly played buffer.
since: 3.0.0
Interface structure
struct AgsSoundcardInterface {
GTypeInterface ginterface;
void (* set_device) (
AgsSoundcard* soundcard,
gchar* card_id
);
gchar* (* get_device) (
AgsSoundcard* soundcard
);
void (* pcm_info) (
AgsSoundcard* soundcard,
gchar* card_id,
guint* channels_min,
guint* channels_max,
guint* rate_min,
guint* rate_max,
guint* buffer_size_min,
guint* buffer_size_max,
GError** error
);
AgsSoundcardCapability (* get_capability) (
AgsSoundcard* soundcard
);
void (* set_presets) (
AgsSoundcard* soundcard,
guint channels,
guint rate,
guint buffer_size,
AgsSoundcardFormat format
);
void (* get_presets) (
AgsSoundcard* soundcard,
guint* channels,
guint* rate,
guint* buffer_size,
AgsSoundcardFormat* format
);
void (* list_cards) (
AgsSoundcard* soundcard,
GList** card_id,
GList** card_name
);
gboolean (* is_available) (
AgsSoundcard* soundcard
);
gboolean (* is_starting) (
AgsSoundcard* soundcard
);
gboolean (* is_playing) (
AgsSoundcard* soundcard
);
gboolean (* is_recording) (
AgsSoundcard* soundcard
);
gchar* (* get_uptime) (
AgsSoundcard* soundcard
);
void (* play_init) (
AgsSoundcard* soundcard,
GError** error
);
void (* play) (
AgsSoundcard* soundcard,
GError** error
);
void (* record_init) (
AgsSoundcard* soundcard,
GError** error
);
void (* record) (
AgsSoundcard* soundcard,
GError** error
);
void (* stop) (
AgsSoundcard* soundcard
);
void (* tic) (
AgsSoundcard* soundcard
);
void (* offset_changed) (
AgsSoundcard* soundcard,
guint note_offset
);
void* (* get_buffer) (
AgsSoundcard* soundcard
);
void* (* get_next_buffer) (
AgsSoundcard* soundcard
);
void* (* get_prev_buffer) (
AgsSoundcard* soundcard
);
void (* lock_buffer) (
AgsSoundcard* soundcard,
void* buffer
);
void (* unlock_buffer) (
AgsSoundcard* soundcard,
void* buffer
);
void (* set_bpm) (
AgsSoundcard* soundcard,
gdouble bpm
);
gdouble (* get_bpm) (
AgsSoundcard* soundcard
);
void (* set_delay_factor) (
AgsSoundcard* soundcard,
gdouble delay_factor
);
gdouble (* get_delay_factor) (
AgsSoundcard* soundcard
);
gdouble (* get_absolute_delay) (
AgsSoundcard* soundcard
);
gdouble (* get_delay) (
AgsSoundcard* soundcard
);
guint (* get_attack) (
AgsSoundcard* soundcard
);
guint (* get_delay_counter) (
AgsSoundcard* soundcard
);
void (* set_start_note_offset) (
AgsSoundcard* soundcard,
guint start_note_offset
);
guint (* get_start_note_offset) (
AgsSoundcard* soundcard
);
void (* set_note_offset) (
AgsSoundcard* soundcard,
guint note_offset
);
guint (* get_note_offset) (
AgsSoundcard* soundcard
);
void (* set_note_offset_absolute) (
AgsSoundcard* soundcard,
guint note_offset
);
guint (* get_note_offset_absolute) (
AgsSoundcard* soundcard
);
void (* set_loop) (
AgsSoundcard* soundcard,
guint loop_left,
guint loop_right,
gboolean do_loop
);
void (* get_loop) (
AgsSoundcard* soundcard,
guint* loop_left,
guint* loop_right,
gboolean* do_loop
);
guint (* get_loop_offset) (
AgsSoundcard* soundcard
);
guint (* get_sub_block_count) (
AgsSoundcard* soundcard
);
gboolean (* trylock_sub_block) (
AgsSoundcard* soundcard,
void* buffer,
guint sub_block
);
void (* unlock_sub_block) (
AgsSoundcard* soundcard,
void* buffer,
guint sub_block
);
}
No description available.
Interface members
ginterface |
|
No description available. | |
set_device |
|
No description available. | |
get_device |
|
No description available. | |
pcm_info |
|
No description available. | |
get_capability |
|
No description available. | |
set_presets |
|
No description available. | |
get_presets |
|
No description available. | |
list_cards |
|
No description available. | |
is_available |
|
No description available. | |
is_starting |
|
No description available. | |
is_playing |
|
No description available. | |
is_recording |
|
No description available. | |
get_uptime |
|
No description available. | |
play_init |
|
No description available. | |
play |
|
No description available. | |
record_init |
|
No description available. | |
record |
|
No description available. | |
stop |
|
No description available. | |
tic |
|
No description available. | |
offset_changed |
|
No description available. | |
get_buffer |
|
No description available. | |
get_next_buffer |
|
No description available. | |
get_prev_buffer |
|
No description available. | |
lock_buffer |
|
No description available. | |
unlock_buffer |
|
No description available. | |
set_bpm |
|
No description available. | |
get_bpm |
|
No description available. | |
set_delay_factor |
|
No description available. | |
get_delay_factor |
|
No description available. | |
get_absolute_delay |
|
No description available. | |
get_delay |
|
No description available. | |
get_attack |
|
No description available. | |
get_delay_counter |
|
No description available. | |
set_start_note_offset |
|
No description available. | |
get_start_note_offset |
|
No description available. | |
set_note_offset |
|
No description available. | |
get_note_offset |
|
No description available. | |
set_note_offset_absolute |
|
No description available. | |
get_note_offset_absolute |
|
No description available. | |
set_loop |
|
No description available. | |
get_loop |
|
No description available. | |
get_loop_offset |
|
No description available. | |
get_sub_block_count |
|
No description available. | |
trylock_sub_block |
|
No description available. | |
unlock_sub_block |
|
No description available. |