From 4038045d0dda1946975522a358b28f472e978df9 Mon Sep 17 00:00:00 2001 From: Christian Spielberger Date: Wed, 11 Dec 2024 09:05:13 +0100 Subject: [PATCH] SYBF-1663 alsa_audiocore: enable audiocore only if ausrc is used The audiocore should be used in passthrough mode if only the audio playback is needed, e.g. for the ringtone. This allows to get rid of the alsa module on SYBF devices. (cherry picked from commit 190592e7f71327161796d470fffa0b8cba43425b) --- modules/alsa_audiocore/alsa_audiocore.c | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/alsa_audiocore/alsa_audiocore.c b/modules/alsa_audiocore/alsa_audiocore.c index 19589d4f7d..e91a2fd72a 100644 --- a/modules/alsa_audiocore/alsa_audiocore.c +++ b/modules/alsa_audiocore/alsa_audiocore.c @@ -366,7 +366,6 @@ static int play_alloc(struct auplay_st **stp, const struct auplay *ap, pthread_mutex_lock(&m->mutex); aubuf_flush(m->play_aubuf); - audiocore_enable(true); audiocore_start(); m->play = st; m->play_started = true;