fix(pl18): Audio playback glitch when SPI flash writing (#4476)
This commit is contained in:
@@ -83,6 +83,8 @@ constexpr uint8_t AUDIO_FILENAME_MAXLEN = (AUDIO_LUA_FILENAME_MAXLEN > AUDIO_MOD
|
|||||||
#define AUDIO_BUFFER_COUNT (10) // simulator needs more buffers for smooth audio
|
#define AUDIO_BUFFER_COUNT (10) // simulator needs more buffers for smooth audio
|
||||||
#elif defined(PCBX12S)
|
#elif defined(PCBX12S)
|
||||||
#define AUDIO_BUFFER_COUNT (2) // smaller than Taranis since there is also a buffer on the ADC chip
|
#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
|
||||||
#else
|
#else
|
||||||
#define AUDIO_BUFFER_COUNT (3)
|
#define AUDIO_BUFFER_COUNT (3)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user