erosqnative: Fix operation in a simulator environment

Real hardware needs 24-bit PCM data supplied, but simulator
is still 16bit only.

Change-Id: I20b88a7cb27105829fe5c9e9c434f559a6dbbb60
This commit is contained in:
Solomon Peachy 2024-12-07 14:04:28 -05:00
parent e6851a55ed
commit a76ecf1725
2 changed files with 4 additions and 2 deletions

View file

@ -77,8 +77,10 @@
#define AUDIOHW_CAPS (FILTER_ROLL_OFF_CAP)
#define AUDIOHW_HAVE_SHORT_ROLL_OFF
#ifndef SIMULATOR
/* use high-bitdepth volume scaling */
#define PCM_NATIVE_BITDEPTH 24
#endif
/* Button defines */
#define CONFIG_KEYPAD EROSQ_PAD