Skip to content

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

Description

@genusistimelord

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.

20260717-1546-43.1935280.mp4

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

the is the working Example using the Crates.io Version

20260717-1552-33.1482909.mp4

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions