1
0
mirror of https://github.com/ericonr/sndio.git synced 2024-02-18 04:45:21 -06:00

use "prog" as default prog name

This commit is contained in:
Alexandre Ratchov 2016-01-29 12:11:23 +01:00
parent bf7d743936
commit fcbcfd089a

View File

@ -1006,7 +1006,7 @@ dev_new(char *path, struct aparams *par,
d->slot[i].vol = MIDI_MAXCTL; d->slot[i].vol = MIDI_MAXCTL;
d->slot[i].tstate = MMC_OFF; d->slot[i].tstate = MMC_OFF;
d->slot[i].serial = d->serial++; d->slot[i].serial = d->serial++;
d->slot[i].name[0] = '\0'; strlcpy(d->slot[i].name, "prog", SLOT_NAMEMAX);
} }
d->slot_list = NULL; d->slot_list = NULL;
d->master = MIDI_MAXCTL; d->master = MIDI_MAXCTL;