This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit d9169b84e4ad848d9817ba775c812ec3cfb7ff5e Author: Tiago Medicci Serrano <[email protected]> AuthorDate: Wed Aug 30 08:57:45 2023 -0300 audio/cs4344: Set the default sample rate to the lowest possible According to the struct `mclk_rate_s`, set the default sample rate to its lowest valid value. This prevents the underlying driver from setting unsupported values. --- drivers/audio/cs4344.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/audio/cs4344.h b/drivers/audio/cs4344.h index 8379879bb7..e09c3930e3 100644 --- a/drivers/audio/cs4344.h +++ b/drivers/audio/cs4344.h @@ -43,7 +43,7 @@ * Pre-Processor Definitions ****************************************************************************/ -#define CS4344_DEFAULT_SAMPRATE 11025 /* Initial sample rate */ +#define CS4344_DEFAULT_SAMPRATE 16000 /* Initial sample rate */ #define CS4344_DEFAULT_NCHANNELS 1 /* Initial number of channels */ #define CS4344_DEFAULT_BPSAMP 16 /* Initial bits per sample */
