summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/rocker_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/rocker_codec.c')
-rw-r--r--firmware/drivers/audio/rocker_codec.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/audio/rocker_codec.c b/firmware/drivers/audio/rocker_codec.c
index abe13be285..4beda4b572 100644
--- a/firmware/drivers/audio/rocker_codec.c
+++ b/firmware/drivers/audio/rocker_codec.c
@@ -71,7 +71,11 @@ void audiohw_preinit(void)
71{ 71{
72 alsa_controls_init(); 72 alsa_controls_init();
73 hw_open(); 73 hw_open();
74#if defined(AUDIOHW_MUTE_ON_PAUSE) || defined (AUDIOHW_NEEDS_INITIAL_UNMUTE)
74 audiohw_mute(true); /* Start muted to avoid the POP */ 75 audiohw_mute(true); /* Start muted to avoid the POP */
76#else
77 audiohw_mute(false);
78#endif
75} 79}
76 80
77void audiohw_postinit(void) 81void audiohw_postinit(void)