Audio devices table for linux and GDx targets

This commit is contained in:
Silvano Seva 2023-08-27 13:55:46 +02:00
parent fc5e3b0bce
commit cd936ea216
2 changed files with 26 additions and 0 deletions

View File

@ -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()
{

View File

@ -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()
{