Skip to content

Commit

Permalink
SYBF-1663 alsa_audiocore: enable audiocore only if ausrc is used
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
cspiel1 committed Dec 16, 2024
1 parent 95a3310 commit 4038045
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion modules/alsa_audiocore/alsa_audiocore.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 4038045

Please sign in to comment.