`cpal` blocking window rendering of `ggez`
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- バグ
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- rust
調査の方向性
The report mentions the bleep example and repeated calls to run from a ggez frame loop, but gives no repository path or runnable reproduction. Start by locating the example and checking how it produces tones and handles timing; the user suspects std::thread::sleep blocks window drawing. Done means identifying a nonblocking way to output the requested tones without blocking rendering, but the repository and exact code are not provided.
索引モデルが issue の本文から書いたものです。
説明
I am currently working on an algorithm visualization tool, asking to this for a university project, hence why the repo is private at the moment.
My goal is to output a tone between a certain range when sorting a bar.
I integrated the bleep example into my logic and while it works for very low frame rates, say 1-5 fps, it blocks the drawing of the window otherwise. I am assuming this is caused by std::thread::sleep.
Is there an other non blocking way to output a tone, as if I remove the sleep duration, no tone is output at all.
i am calling run mutliple times in each frame.
If necessary, I can make the repository public.
If relevant:
OS: Fedora Workstation 38
- ggez 0.9.0-rc0
- cpal 0.15.2
- 主要言語
- 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 が 3 日前に担当しました。 オープン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 が 4 日前に担当しました。 オープンcorrectness host - wasapi platform - windows
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
RustAudio/cpal#1402 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
swc-project/swc-next#1165 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
Alive24/shea-symphony#574 ·
-
bug tests Windows
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
documentation good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
dev-five-git/devup-ui#879 ·
メンテナーはふだん 11 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
farion1231/cc-switch#9038 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信