output stream dies with small buffer size
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
The issue links a reproducer under languages/rust/cpal; start by reading that example and run it with cargo run on Ubuntu 18.04, then switch tabs or trigger another resource-intensive action. Investigate why the output stream stops being called with a small buffer after that activity; done means the stream continues or reports an error instead of falling silent.
索引モデルが issue の本文から書いたものです。
説明
Hey,
Thanks for the ability to specify buffer size! Took me a while to think to just instantiate my own StreamConfig.
Anyway, I've been keeping an eye on cpal because I want to move off the portaudio crate, which has similar performance to what I'm reporting here.
In particular, I find that the output stream stops getting called with no error when I'm using a small buffer size, and I do something "resource-intensive" like alt-tab to another program. This is distinct from an underrun, which also happens sometimes. However, to my knowledge, underruns should cause a click, not eternal silence. But I think this problem is the next domino falling after an underrun.
My system is running Ubuntu 18.04.
Code here, just cargo run and switch tabs in your browser or other "resource-intensive" actions.
Curious if others have experience attempting low-latency with cpal, or what else I could offer to clarify what's going on.
Best,
Dan
- 主要言語
- Rust
- スター
- 4k
- フォーク
- 554
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 4
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
RustAudio/cpal のほかの issue
-
aaudio: dynamic buffer tuning never grows the buffer (set_buffer_size_in_frames reports Err on success)対応中かも @dannyward630 が 4 日前に担当しました。 オープンhost - aaudio platform - android
難易度 2/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
WebAudio wasm build fails with wasm-bindgen panic=unwind closures対応中かも @bogusyogi が 12 日前に担当しました。 オープンhost - webaudio platform - web
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
RustAudio/cpal#1394 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
code quality dependencies host - wasapi platform - windows
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
RustAudio/cpal#1416 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
host - pipewire platform - linux
難易度 4/5 1〜2日 初心者へのやさしさ 52/100
RustAudio/cpal#1405 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
WASAPI: default-device activation fails with RPC_E_CHANGED_MODE after endpoint-notification callbacks put thread-pool threads into an STA対応中かも @dannyward630 が 5 日前に担当しました。 オープンcorrectness host - wasapi platform - windows
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
RustAudio/cpal#1402 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
area: library data-loss type: bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
alplabai/signex#1740 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
test(fslc): the unreadable mutate catalog test pins the Unix I/O error text and fails on Windows対応中かも @rizumita が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 69/100
メンテナーはふだん 1 日以内に返信
-
ServerProperties defaults white-list to true, so a fresh --dedicated server silently locks itselfオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
horizon-rust/horizon#3888 ·
メンテナーはふだん 1 日以内に返信
-
refactor
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信