Native playback can miss the lite-06 fallback tone deadline after ALSA output errors

オープン
#10,440 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
linux, rust

調査の方向性

Start with test/native-play/play.py, focusing on the lite-06 phase and its deadline and tone threshold. Compare device recovery and captured PCM when decoder startup is prompt but the judge misses the switch; the payload does not name the player files or tests for backend recovery. Done means the fallback is audible within 1,495 ms after publisher B exits, with 440 Hz energy meeting the 0.8 threshold.

索引モデルが issue の本文から書いたものです。

説明

quest

The Linux native playback test intermittently misses its 1,495 ms deadline to hear 440 Hz after the replacement publisher exits. In the original lite-06 failure the player opened the fallback audio rendition 118 ms after its offline event. The three 400 ms windows contained audio, but their 440 Hz energy shares were 0.238, 0.741 and 0.454, below the 0.8 threshold. The ALSA output had restarted once during setup.

I reproduced the deadline miss on the stats PR and its unmodified merge-base player, 19d351098a. In the lite-06 phase of test/native-play/play.py, start a helper thread immediately before terminating publisher B. Six times, send SIGSTOP to the player, wait 45 ms, send SIGCONT, and wait 165 ms. Keep publishers, relay, PulseAudio, the monitor and the judge running. I pinned the harness to one core. Both players switched to the fallback rendition and reopened their output after repeated unclassified backend errors. The reproduction shows that short scheduling gaps can cause this symptom, although it doesn't establish that the original run had the same sequence of gaps.

With CPU affinity alone, the same PR player sounded the fallback in 802 ms. Investigate device recovery and the captured PCM when the judge misses a switch despite prompt decoder startup. The existing deadline and tone threshold distinguish an audible fallback from a routing event.

(Written by GPT-6.2 Astra with medium)

主要言語
Rust
スター
1.6k
フォーク
251
平均マージ
10時間 10分
マージ済み PR(30日)
822

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

moq-dev/moq のほかの issue

moq-dev/moq の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。