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

Commit 6336b0d0 authored by Sungmin Choi's avatar Sungmin Choi Committed by Vineeta Srivastava
Browse files

audio: enable recording



Update audio-record config, align with kernel hw parameter

Change-Id: I428d98f5d28edc26de335be1ac4667dcc4ffa4ea
Signed-off-by: default avatarCong Zhou <cong.zhou@lge.com>
Signed-off-by: default avatarSungmin Choi <sungmin.choi@lge.com>
parent e06e66d9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -148,8 +148,13 @@ typedef enum {
#define HDMI_MULTI_DEFAULT_CHANNEL_COUNT 6
#define HDMI_MULTI_PERIOD_BYTES (HDMI_MULTI_PERIOD_SIZE * HDMI_MULTI_DEFAULT_CHANNEL_COUNT * 2)

#ifdef MSM8974
#define AUDIO_CAPTURE_PERIOD_SIZE 512
#define AUDIO_CAPTURE_PERIOD_COUNT 16
#else
#define AUDIO_CAPTURE_PERIOD_SIZE 320
#define AUDIO_CAPTURE_PERIOD_COUNT 2
#endif

#define MAX_SUPPORTED_CHANNEL_MASKS 2