Skip to content

[BUG] usb独占在旧系统的支持问题 #428

Description

@Marsmolin

问题描述 / Problem description

问题描述

在 LG G7(Android 10)上使用 NeriPlayer 的 USB 独占播放时,
播放过程中会持续出现断断续续的爆音/卡顿,导致无法正常使用。

关闭 USB 独占后播放正常。

设备信息

手机:LG G7
系统:Android 10
Root:是
音频相关 Magisk 模块:无

USB DAC:灵泽31993
32-bit / 384 kHz

USB 独占设置

USB 独占:开启
播放格式:
44.1 kHz / 2 ch / PCM Float
实际输出:
44.1 kHz / 2 ch / 32-bit

播放状态:
NATIVE_EXCLUSIVE_STREAMING

对比测试

  1. LG G7 + NeriPlayer + USB 独占
    → 持续出现断续爆音/卡顿

  2. LG G7 + NeriPlayer + 非 USB 独占
    → 正常

  3. LG G7 + 网易云音乐 + USB 独占
    → 正常

  4. 另一台 真我neo7手机 + NeriPlayer + USB 独占
    → 正常

已排除:

  • 不同音乐文件/本地文件
  • 不同采样率
  • 缓冲设置
  • DAC 本身的问题
  • 音频 Magisk 模块

其他信息

问题发生时 NeriPlayer USB 独占页面显示:

NATIVE_EXCLUSIVE_STREAMING
44.1 kHz · 2 ch · PCM Float
44.1 kHz · 2 ch · 32-bit

出现问题时页面中的缓冲通常显示:
0 / 3000ms,或轻微向上浮动

复现步骤 / Steps to reproduce

插入小尾巴,启用usb独占。仅手头的旧设备有该问题

预期行为 / Expected behaviour

正常播放

实际行为 / Actual behaviour

Image

你使用的安卓系统版本 / Your Android version

安卓10

你正在使用的手机型号 / Your phone model

lgg7

问题涉及的播放平台 / Affected playback platform

网易云音乐 / NetEase Cloud Music

复现时的音频输出设备 / Audio output during reproduction

USB DAC 或 USB 音频接口 / USB DAC or USB audio interface

是否开启 USB 独占播放 / Is USB exclusive playback enabled

已开启,且正在使用 USB DAC / Enabled, using a USB DAC

USB 音频设备与播放设置(如适用) / USB audio device and playback settings (if applicable)

No response

播放内容与相关设置(如适用) / Playback item and related settings (if applicable)

No response

版本和其他要求 / Version and Other Requirements

  • 我使用的是最新 CI 版本,并已开启开发者模式(在设置中连续点击 7 次版本号)。/ I'm using the latest CI build with DEBUG Mode enabled (by tapping the version number 7 times in Settings).
  • 我已经在 Issue Tracker 中找过我要提出的问题,没有找到相同问题。重复问题会被关闭。 / I have searched in the Issue Tracker and found no similar issues. Duplicate issues will be closed.
  • 我已知晓并同意,如果我不按照模板提供的指示进行填写,则我的 Issue 可能会被无条件删除。 / I understand and agree that my issue may be deleted without notice if I do not follow the instructions provided in the template.

日志 / Logs

No response

补充说明(可选) / Additional information (optional)

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions