mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-02 09:01:48 -05:00
sound: rawmidi: disable active-sensing-on-close by default
Sending an Active Sensing message when closing a port can interfere with the following data if the port is reopened and a note-on is sent before the device's timeout has elapsed. Therefore, it is better to disable this setting by default. Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
This commit is contained in:
parent
a9b1299556
commit
76c60af00a
1 changed files with 1 additions and 1 deletions
|
|
@ -153,7 +153,7 @@ static int snd_rawmidi_params_default(snd_rawmidi_t *rawmidi, snd_rawmidi_params
|
||||||
assert(params);
|
assert(params);
|
||||||
params->buffer_size = page_size();
|
params->buffer_size = page_size();
|
||||||
params->avail_min = 1;
|
params->avail_min = 1;
|
||||||
params->no_active_sensing = 0;
|
params->no_active_sensing = 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue