Age | Commit message (Collapse) | Author |
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
|
rawmidi devices expose the card number via IOCTLs, which allows to
find the corresponding device in sysfs.
The sequencer provides no identifing data. Chromium works around this
issue by scanning rawmidi as well as sequencer devices and matching
them by using assumtions, how the kernel register sequencer devices.
This changes adds support for exposing the card number for kernel clients
as well as the PID for user client.
It supports kernels with and without the required support.
Signed-off-by: Martin Koegler <martin.koegler@chello.at>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
|
Added snd_seq_client_info_event_filter_{clear,add,del,check} to alsa
sequencer API
Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
|
|
Added snd_seq_unset_bit() to alsa sequencer API
Signed-off-by: Aldrin Martoq <amartoq@dcc.uchile.cl>
|
|
Putting assert in the public macros isn't good idea at all.
Let's get rid of them.
Also, clean up snd*_alloca() functions to use a helper macro
instead of copy and paste.
|
|
|
|
Clarify the documentation for the SND_SEQ_PORT_TYPE_xxx flags, especially
for _SYNTH and *_SAMPLE where it was rather misleading.
|
|
Add four new information flags SNDRV_SEQ_PORT_TYPE_HARDWARE, _SOFTWARE,
_SYNTHESIZER, _PORT for sequencer ports. This makes it easier for apps
like Rosegarden to make policy decisions based on the port type.
|
|
The SND_SEQ_CLIENT_{DUMMY,OSS} are private to the kernel and should
never have been put into the public API header.
|
|
doxygen complains if the file name specified with \file does
not match the real file name, so fix it
|
|
Fixed compile warnings when compiled with -Wshadow.
(Renamed the shadow parameteres with _ prefix to avoid confliction.)
|
|
removed the obsolete snd_seq_port_subscribe_set_voices().
|
|
snd_seq_port_info_get/set_timestamping()
snd_seq_port_info_get/set_timestamp_real()
snd_seq_port_info_get/set_timestamp_queue()
- increased the protocol version to 1.0.1.
|
|
the function itself still exists for compatibility
but protected by DOC_HIDDEN.
- a bit more comments about snd_seq_free_event.
- since alsa.m4 used snd_seq_create_event for checking libasound,
now it's replaced with snd_ctl_open.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Changed GNU LGPL licence from 2.0 to 2.1.
|
|
The timer speed can be controlled via skew value, smaller = slower
centered on the skew-base value.
|
|
|
|
Some minor changes in config interface documentation.
|
|
Cleanup for __cplusplus defines.
|
|
|
|
|
|
Removed snd_config_refer_load from confmisc.c and pcm.c.
|
|
|
|
|
|
|
|
|
|
The sequencer API is totally recoded with the style of "encapsulation"
in other api.
The structure becomes opaque and accessed only via functions.
Other changes:
- There is no longer group in client and port info.
- snd_seq_query_subs_t is renamed to snd_seq_query_subscribe_t.
- snd_seq_delete_port takes only the port id argument instead of
port_info structure.
- snd_seq_input/output_buffer_size are renamed
as snd_seq_get_input/output_buffer_size.
Similarly snd_seq_resize_input/output_buffer are renamed as
snd_seq_set_input/output_buffer_size.
- snd_seq_get_named_queue is renamed to snd_seq_query_named_queue.
- Sync codes are removed temporarily from API.
- Subscription conditions are accessed via the corresponding functions.
convert_time is named now as time_update.
- snd_seq_get/set_queue_owner are removed.
Use snd_seq_get/set_queue_info instead.
- Instrument put/get/remove structure is unified as snd_instr_header_t.
|
|
They are half-automated output from the 0.5.x documents.
The sequencer API will be changed in near future
to suit with encapsulation implemented already in pcm api,
so do not trust the comments added here..
They are just for reference.
|
|
|
|
|
|
|
|
|
|
|
|
fds).
Added poll_descriptors_count functions.
Added snd_mixer_elem_count function.
|
|
|
|
Rewritten simple elements implementation
|
|
|
|
|
|
|
|
drain->drop, flush->drain (rawmidi and seq). Removed wrong module usage count inc/dec from mmap
|
|
|
|
|
|
1. No more needs to call snd_seq_event_free() for releasing the cell.
But you should keep it anyway, both for compatibility and for future
extension.
2. API is basically kept unmodified. The sign of return values are same,
i.e. positive integers will be returned if events exist on buffer/queue.
But the exact value may be different from the older version.
3. snd_seq_event_input() renders the event directly from the static input
buffer. The function is not re-entrant.
4. snd_seq_event_input_selective() is removed.
|
|
|