alsa-lib icon indicating copy to clipboard operation
alsa-lib copied to clipboard

snd_rawmidi_params_set_no_active_sensing()

Open MusicMaker opened this issue 6 years ago • 2 comments

Does this filter out receiving 0xFE incoming and outgoing messages when enabled ? Still see incoming active sensing messages after using this.

MusicMaker avatar Feb 27 '20 02:02 MusicMaker

Does this filter out receiving 0xFE incoming and outgoing messages when enabled ? Still see incoming active sensing messages after using this.

The API snd_rawmidi_params_set_no_active_sensing() is just to set flag to the data of snd_rawmidi_params_t structure. The substream of rawmidi is configured for it when the call of snd_rawmidi_params() with the data.

takaswie avatar Feb 27 '20 06:02 takaswie

The documentation is not very clear.

This setting enables or disables sending of a single Active Sensing message when the output stream is closed.

cladisch avatar Feb 27 '20 07:02 cladisch