audio-echo app stops audio are running for a while

未关闭
#689 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
28/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
android, cpp

调研方向

从 audio-echo 应用及其 build.gradle 设置开始,然后在运行 Android 7.0、采样率为 48000 且缓冲区大小为 240 的 Samsung Galaxy S6 Edge 上重现问题。将正在运行的音频与 Stop Echo 和 Start Echo 控件进行比较;完成的标准是确定音频在几分钟后停止的原因,并在不需要重启的情况下阻止其停止。

由索引模型根据 Issue 内容生成。

描述

I am trying to see if I can modify the audio-echo app for my application

First I am trying out the default application without any changes (except some changes in the app's build.gradle related to compiling a release version)

Phone is Samsung Galaxy S6 Edge with Android 7.0 and the default sample rate and buffer size are 48000 and 240 respectively

The audio simply stopped after letting the app run for some time

Sometimes it stops after 3 minutes, sometimes it keeps running for even more than 10 minutes

I should point out the app is still working, just the audio stops. I can simply press the Stop Echo button on the user interface and click the Start Echo button again to restart audio. However in some cases the audio simply stops after some time and in some cases it doesn't.

Why is this happening and is there a way to fix this issue?

主要语言
C++
星标
10.5k
派生
4.2k
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

android/ndk-samples 的其他 Issue

查看 android/ndk-samples 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。