mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
seq: Fix bogus return of snd_seq_client_info_get_ump_conversion()
snd_seq_client_info_get_ump_conversion() should have returned the
proper bit of group_filter bit field, but it just did return
midi_version field -- a stupid copy & paste error. Let's fix it.
Fixes: 2aefb5c41c ("seq: Add UMP support")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
e550dcdd90
commit
df8f1cc1ec
1 changed files with 1 additions and 1 deletions
|
|
@ -1870,7 +1870,7 @@ int snd_seq_client_info_get_ump_groupless_enabled(const snd_seq_client_info_t *i
|
||||||
int snd_seq_client_info_get_ump_conversion(const snd_seq_client_info_t *info)
|
int snd_seq_client_info_get_ump_conversion(const snd_seq_client_info_t *info)
|
||||||
{
|
{
|
||||||
assert(info);
|
assert(info);
|
||||||
return info->midi_version;
|
return !(info->group_filter & SNDRV_SEQ_FILTER_NO_CONVERT);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue