mirror of
https://github.com/OpenRTX/OpenRTX
synced 2026-08-08 12:29:06 -04:00
Replace the platform-specific #ifdef chain for micGain in audio_codec.c with a CONFIG_MIC_GAIN macro defined in each target's hwconfig.h. This removes code forking in the codec and makes mic gain a per-device hardware configuration parameter. Co-authored-by: opencode <noreply@opencode.ai> Signed-off-by: Ryan Turner <ryan@turnrye.com> |
||
|---|---|---|
| .. | ||
| hwconfig.h | ||
| pinmap.h | ||
| platform.c | ||