mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
Fix for envy24control and midi
Fix by Dirk Jagdmann <doj@cubic.org>: The attached patch fixes a compiler warning, which points to a possible bug when initializing the midi controllers.
This commit is contained in:
parent
b568eeefd7
commit
12cf761844
1 changed files with 1 additions and 1 deletions
|
|
@ -1948,7 +1948,7 @@ int main(int argc, char **argv)
|
|||
snd_ctl_elem_value_t *val;
|
||||
int npfds;
|
||||
struct pollfd *pfds;
|
||||
int midi_fd, midi_channel = -1;
|
||||
int midi_fd = -1, midi_channel = -1;
|
||||
int page;
|
||||
int input_channels_set = 0;
|
||||
int output_channels_set = 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue