mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
New functions for sequencer:
- snd_seq_event_output_buffer() Outputs an event on buffer without flushing to sequencer. Useful for non-blocking mode write. - snd_seq_event_output_direct() Outputs an event directly to sequencer without using buffer. Thus the event can be passed even if output buffer is full. - snd_seq_input_buffer_size(), snd_seq_output_buffer_size() Returns the size of input/output buffers - snd_seq_resize_input_buffer(), snd_seq_resize_output_buffer() Changes the size of input/output buffers
This commit is contained in:
parent
80a5582912
commit
43041cbe78
2 changed files with 318 additions and 82 deletions
|
|
@ -20,6 +20,10 @@ int snd_seq_close(snd_seq_t *handle);
|
|||
int snd_seq_file_descriptor(snd_seq_t *handle);
|
||||
int snd_seq_block_mode(snd_seq_t *handle, int enable);
|
||||
int snd_seq_client_id(snd_seq_t *handle);
|
||||
int snd_seq_output_buffer_size(snd_seq_t *handle);
|
||||
int snd_seq_input_buffer_size(snd_seq_t *handle);
|
||||
int snd_seq_resize_output_buffer(snd_seq_t *handle, int size);
|
||||
int snd_seq_resize_input_buffer(snd_seq_t *handle, int size);
|
||||
int snd_seq_system_info(snd_seq_t *handle, snd_seq_system_info_t *info);
|
||||
int snd_seq_get_client_info(snd_seq_t *handle, snd_seq_client_info_t *info);
|
||||
int snd_seq_get_any_client_info(snd_seq_t *handle, int client, snd_seq_client_info_t *info);
|
||||
|
|
@ -62,6 +66,9 @@ snd_seq_event_t *snd_seq_create_event(void);
|
|||
int snd_seq_free_event(snd_seq_event_t *ev);
|
||||
int snd_seq_event_length(snd_seq_event_t *ev);
|
||||
int snd_seq_event_output(snd_seq_t *handle, snd_seq_event_t *ev);
|
||||
int snd_seq_event_output(snd_seq_t *handle, snd_seq_event_t *ev);
|
||||
int snd_seq_event_output_buffer(snd_seq_t *handle, snd_seq_event_t *ev);
|
||||
int snd_seq_event_output_direct(snd_seq_t *handle, snd_seq_event_t *ev);
|
||||
int snd_seq_event_input(snd_seq_t *handle, snd_seq_event_t **ev);
|
||||
int snd_seq_event_input_pending(snd_seq_t *seq, int fetch_sequencer);
|
||||
int snd_seq_event_input_selective(snd_seq_t *seq, snd_seq_event_t **ev, int type, int blocking);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue