[alsa-devel] [PATCH] alsa-lib: issues in snd_seq_change_bit and some enhancements

Clemens Ladisch clemens at ladisch.de
Thu Feb 21 08:59:29 CET 2008


Aldrin Martoq wrote:
> 1) snd_seq_change_bit is not working as expected.

Indeed.

> 2) There is no sane way to clear the event_filter of
> snd_seq_client_info_t structure. Because the structure is opaque, we
> cannot memset to zero because the user doesn't know the size of the
> bitmap.

The event type is an 8-bit quantity; this is part of the sequencer API.
The bitmap has exactly 256 bits, i.e., 32 bytes.

It would be nice if this were actually documented ...


Regards,
Clemens


More information about the Alsa-devel mailing list