fix(audio): monte niveau tonalite ecouteur

HAL_I2S_EARPIECE_VOL 60->95, TONE_AMPLITUDE 8000->14000.0f.
This commit is contained in:
clement
2026-06-19 09:36:46 +02:00
parent 22aca75e57
commit 808f66595b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ typedef enum { TONE_NONE, TONE_DIAL, TONE_BUSY, TONE_RINGBACK } tone_mode_t;
#define SR PLIP_SAMPLE_RATE /* 16000 — doit correspondre à hal_i2s */
#define FRAME 320 /* 20 ms @ 16 kHz */
#define TONE_AMPLITUDE 8000.0f
#define TONE_AMPLITUDE 14000.0f
#define TONE_FREQ_HZ 440.0f
static volatile tone_mode_t s_mode = TONE_NONE;
+1 -1
View File
@@ -13,7 +13,7 @@
#define TAG "hal_i2s"
#define HAL_I2S_SAMPLE_RATE PLIP_SAMPLE_RATE /* 16000 */
#define HAL_I2S_EARPIECE_VOL 60 /* écouteur combiné : confortable */
#define HAL_I2S_EARPIECE_VOL 95 /* écouteur combiné : niveau haut */
static i2s_chan_handle_t s_spk_handle = NULL;
static i2s_chan_handle_t s_mic_handle = NULL;