Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2d2d1d5 authored by Eric Laurent's avatar Eric Laurent
Browse files

audio HAL: do not stop capture on overrun

Set stop threshold so that PCM driver does
not stop capture in case of overrun.

Bug: 19209668.
Change-Id: I89b2cae617d73c17c859e9f1c192b4f3db79cc18
parent e258e687
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -107,6 +107,8 @@ struct pcm_config pcm_config_audio_capture = {
    .channels = 2,
    .period_count = AUDIO_CAPTURE_PERIOD_COUNT,
    .format = PCM_FORMAT_S16_LE,
    .stop_threshold = INT_MAX,
    .avail_min = 0,
};

#define AFE_PROXY_CHANNEL_COUNT 2