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

Commit ae051ed7 authored by Chaithanya Krishna Bacharaju's avatar Chaithanya Krishna Bacharaju Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: msm: qdsp6v2: Increase PCM capture period size



Increase PCM capture period size to support recording
instances that require bigger buffers.
The maximum period size in bytes is calculated as 61440
[3840(frames) * 4 (max channels) * 4 (frame size)].

Change-Id: I130e1ad9aaa128c7b94ae70edc52b3f16439cb27
Signed-off-by: default avatarChaithanya Krishna Bacharaju <chaithan@codeaurora.org>
parent f62dfbb4
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/*
 * Copyright (C) 2008 Google, Inc.
 * Copyright (C) 2008 HTC Corporation
 * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved.
 * Copyright (c) 2012-2016 The Linux Foundation. All rights reserved.
 *
 * This software is licensed under the terms of the GNU General Public
 * License version 2, as published by the Free Software Foundation, and
@@ -63,7 +63,7 @@ struct msm_audio_in_frame_info {
#define PLAYBACK_MIN_PERIOD_SIZE    128
#define CAPTURE_MIN_NUM_PERIODS     2
#define CAPTURE_MAX_NUM_PERIODS     8
#define CAPTURE_MAX_PERIOD_SIZE     16384
#define CAPTURE_MAX_PERIOD_SIZE     61440
#define CAPTURE_MIN_PERIOD_SIZE     320

struct msm_audio {