You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/12/11 14:06:41 UTC

[incubator-nuttx-apps] branch master updated: fix build bread if CONFIG_AUDIO_MULTI_SESSION enabled

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d42c64  fix build bread if CONFIG_AUDIO_MULTI_SESSION enabled
3d42c64 is described below

commit 3d42c6460f98e05664b973693f594c511369c9b0
Author: danguanghua <da...@xiaomi.com>
AuthorDate: Tue Dec 8 15:06:36 2020 +0800

    fix build bread if CONFIG_AUDIO_MULTI_SESSION enabled
    
    N/A
    
    Change-Id: I785f44a4381965df700000cbd33faeb2d2e24f6e
    Signed-off-by: danguanghua <da...@xiaomi.com>
---
 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 1a5ba11..8f11283 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,