AudioPCI: Add MIDI input option to on-board ES1371

This commit is contained in:
RichardG867
2022-03-10 16:55:36 -03:00
parent 00a0a0c981
commit 252067de41

View File

@@ -2087,6 +2087,17 @@ static const device_config_t es1371_config[] = {
// clang-format on
};
static const device_config_t es1371_onboard_config[] = {
// clang-format off
{
"receive_input", "Receive input (MIDI)", CONFIG_BINARY, "", 1
},
{
"", "", -1
}
// clang-format on
};
const device_t es1371_device = {
"Ensoniq AudioPCI (ES1371)",
"es1371",
@@ -2112,5 +2123,5 @@ const device_t es1371_onboard_device = {
{ NULL },
es1371_speed_changed,
NULL,
NULL
es1371_onboard_config
};