diff --git a/platform/drivers/audio/audio_GDx.c b/platform/drivers/audio/audio_GDx.c index 40857c82..ee3e31c1 100644 --- a/platform/drivers/audio/audio_GDx.c +++ b/platform/drivers/audio/audio_GDx.c @@ -37,6 +37,19 @@ static const uint8_t pathCompatibilityMatrix[9][9] = { 1 , 1 , 0 , 1 , 1 , 0 , 0 , 0 , 0 } // MCU-MCU }; +const struct audioDevice outputDevices[] = +{ + {NULL, 0, 0, SINK_MCU}, + {NULL, 0, 0, SINK_RTX}, + {NULL, 0, 0, SINK_SPK}, +}; + +const struct audioDevice inputDevices[] = +{ + {NULL, 0, 0, SINK_MCU}, + {NULL, 0, 0, SINK_RTX}, + {NULL, 0, 0, SINK_SPK}, +}; void audio_init() { diff --git a/platform/drivers/audio/audio_linux.c b/platform/drivers/audio/audio_linux.c index 2f24895e..b8b41bd3 100644 --- a/platform/drivers/audio/audio_linux.c +++ b/platform/drivers/audio/audio_linux.c @@ -37,6 +37,19 @@ static const uint8_t pathCompatibilityMatrix[9][9] = { 1 , 1 , 0 , 1 , 1 , 0 , 0 , 0 , 0 } // MCU-MCU }; +const struct audioDevice outputDevices[] = +{ + {NULL, 0, 0, SINK_MCU}, + {NULL, 0, 0, SINK_RTX}, + {NULL, 0, 0, SINK_SPK}, +}; + +const struct audioDevice inputDevices[] = +{ + {NULL, 0, 0, SINK_MCU}, + {NULL, 0, 0, SINK_RTX}, + {NULL, 0, 0, SINK_SPK}, +}; void audio_init() {