render: measure decode jitter and shrink the 2 s processed buffer toward media3's ~0.5 s
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- リファクタリング
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
調査の方向性
Start with Feeder.targetDepth and its resumeDepth counterpart, then read ADR 0018 for the renderer's roughly once-a-second pull and ADR 0013 for upstream read-ahead. Measure the worst gap between pumps and decode time per chunk on an older device and on the network path before changing anything. Done means a measured justification for the new depth, with resumeDepth adjusted to match and docs/usage.md:319 updated if the stated effect latency changes.
索引モデルが issue の本文から書いたものです。
説明
The feeder keeps 2 s of processed PCM written ahead of the renderer clock (Feeder.targetDepth). Since #183, that is purely a cushion against decode or upstream stalls. The network cushion is really the growing-file read-ahead upstream (Shuttle2 uses 60 s, ADR 0013), unprocessed.
media3 splits it the same way: it keeps about 500 ms of PCM in the AudioTrack (DefaultAudioTrackBufferSizeProvider, DEFAULT_PCM_BUFFER_DURATION_US) and 50 s of compressed samples upstream (DefaultLoadControl). Effects are heard about one PCM depth later (docs/usage.md:319), so a shallower depth means EQ, ReplayGain and Voice Boost changes are heard sooner.
Before changing it, measure the decode jitter: the worst gap between pumps, and decode time per chunk on an older device and on the network path. The depth must outlast the renderer's roughly once-a-second pull (ADR 0018). Candidate: about 1 s, with resumeDepth scaled to match.
Superseded if flush-on-effect-change lands, since effect latency would then stop depending on depth. Context: timusus/shuttle2#1064, #183.
- 主要言語
- C
- スター
- 0
- フォーク
- 0
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
timusus/AudioPlaybackKit のほかの issue
-
idea
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
timusus/AudioPlaybackKit#184 ·
-
enhancement idea
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
timusus/AudioPlaybackKit#172 ·
timusus/AudioPlaybackKit の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
FujiNetWIFI/fujinet-lib#186 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100