From 3d42c6460f98e05664b973693f594c511369c9b0 Mon Sep 17 00:00:00 2001 From: danguanghua Date: Tue, 8 Dec 2020 15:06:36 +0800 Subject: [PATCH] fix build bread if CONFIG_AUDIO_MULTI_SESSION enabled N/A Change-Id: I785f44a4381965df700000cbd33faeb2d2e24f6e Signed-off-by: danguanghua --- system/nxrecorder/nxrecorder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/nxrecorder/nxrecorder.c b/system/nxrecorder/nxrecorder.c index 1a5ba119f..8f1128326 100644 --- a/system/nxrecorder/nxrecorder.c +++ b/system/nxrecorder/nxrecorder.c @@ -534,7 +534,7 @@ err_out: if (pbuffers[x] != NULL) { #ifdef CONFIG_AUDIO_MULTI_SESSION - buf_desc.session = pplayer->session; + buf_desc.session = precorder->session; #endif buf_desc.u.buffer = pbuffers[x]; ioctl(precorder->dev_fd,