Potential incorrect argument to snd_seq_port_info_set_ump_group in seqmid.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



alsa-project/alsa-lib issue #440 was opened from reuk:

https://github.com/alsa-project/alsa-lib/blob/df8f1cc1ec9d9ee15be5e2c23ad25b9389fd8766/src/seq/seqmid.c#L585-L589

I think this call in seqmid.c is incorrect. According to the docs, the second argument to `snd_seq_port_info_set_ump_group` should be a 1-based group number (probably 0 for the UMP endpoint).

I'm testing on Fedora 41 with alsa-lib-devel 1.2.13-3.fc41, and I'm seeing the following printed to the console when I call `snd_seq_create_ump_endpoint`:

```
ALSA lib seqmid.c:592:(snd_seq_create_ump_endpoint) Failed to create MIDI 2.0 port
```

Issue URL     : https://github.com/alsa-project/alsa-lib/issues/440
Repository URL: https://github.com/alsa-project/alsa-lib



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux