forked from PAWPAW-Mirror/lib_xua
Extension units in descs now guarded by MAX_MIX_COUNT > 0
This commit is contained in:
@@ -821,7 +821,7 @@ int AudioClassRequests_2(XUD_ep ep0_out, XUD_ep ep0_in, USB_SetupPacket_t &sp, c
|
|||||||
|
|
||||||
if (usbSpeed == XUD_SPEED_FS)
|
if (usbSpeed == XUD_SPEED_FS)
|
||||||
{
|
{
|
||||||
maxFreq = MAX_FREQ_A1;
|
maxFreq = MAX_FREQ_FS;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -138,7 +138,7 @@ unsigned char devQualDesc_Null[] =
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
#if defined(MIXER) && !defined(AUDIO_PATH_XUS)
|
#if defined(MIXER) && !defined(AUDIO_PATH_XUS) && (MAX_MIX_COUNT > 0)
|
||||||
#warning Extention units on the audio path are required for mixer. Enabling them now.
|
#warning Extention units on the audio path are required for mixer. Enabling them now.
|
||||||
#define AUDIO_PATH_XUS
|
#define AUDIO_PATH_XUS
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user