Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Audio Crackling and Default Config unchangable on Windows(Main Branch)

オープン
#900 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

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

調査の方向性

The report points at the Windows output path reached through SpeakersBuilder, default_device and default_config, and at try_buffer_duration and try_sample_rate in the main branch. Start by reproducing the crackling with the git revision a359d2a versus the crates.io release, then compare how the two handle buffer size and sample rate on Windows. Done means the default config plays cleanly on Windows again and the 1 ms buffer and 44100 Hz settings no longer panic with an unsupported device error.

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

説明

Using the Crates.io Version of Rodio the audio plays perfectly fine on Windows with

SpeakersBuilder::new()
            .default_device()
            .unwrap()
            .default_config()
            .unwrap();

however when using the Git repo version the audio is just pure crackling and popping noises.

https://github.com/user-attachments/assets/8506f55f-4de5-4bbd-96cb-cb0d4530cf5c

the above example is using git = "https://github.com/RustAudio/rodio", rev = "a359d2a"

the is the working Example using the Crates.io Version

https://github.com/user-attachments/assets/6f38ae6c-753f-43c8-a531-8359b308f642

Also I noticed in the Crates Version I can do

.try_buffer_duration(Duration::from_millis(1))
            .unwrap()
            .try_sample_rate(SampleRate::new(44100).expect("should never fail..."))
            .unwrap()

but if i try this in the main branch it panics saying unsupported device even though it worked before....

Please let me know if you have any questions.

主要言語
Rust
スター
2.5k
フォーク
338
平均マージ
1日 3時間
マージ済み PR(30日)
1

環境構築

はじめの一歩

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

RustAudio/rodio のほかの issue

RustAudio/rodio の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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