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.
  • Loading branch information
cspiel1 committed Dec 11, 2024
1 parent d186088 commit 9ea81f1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/alsa_audiocore/alsa_audiocore.c
Original file line number Diff line number Diff line change
Expand Up @@ -366,8 +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;
pthread_mutex_unlock(&m->mutex);
Expand Down

0 comments on commit 9ea81f1

Please sign in to comment.