fix(audio): clipped SPI audio on nv14/el18/x12s (#5905)
This commit is contained in:
+3
-3
@@ -90,10 +90,10 @@ constexpr uint8_t AUDIO_FILENAME_MAXLEN = (AUDIO_LUA_FILENAME_MAXLEN > AUDIO_MOD
|
||||
|
||||
#if defined(SIMU) && defined(SIMU_AUDIO)
|
||||
#define AUDIO_BUFFER_COUNT (10) // simulator needs more buffers for smooth audio
|
||||
#elif defined(PCBX12S)
|
||||
#elif defined(AUDIO_SPI)
|
||||
#define AUDIO_BUFFER_COUNT (2) // smaller than Taranis since there is also a buffer on the ADC chip
|
||||
#elif defined(PCBPL18)
|
||||
#define AUDIO_BUFFER_COUNT (10) // PL18 need more buffer for smooth audio
|
||||
#elif defined(STORAGE_USE_SPI_FLASH)
|
||||
#define AUDIO_BUFFER_COUNT (10) // SPI Flash need more buffer for smooth audio
|
||||
#else
|
||||
#define AUDIO_BUFFER_COUNT (3)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user