Skip to content

Playback of multichannel FLAC does not work #145

@muja

Description

@muja

I tried the following code:

let mut manager = AudioManager::<DefaultBackend>::new(AudioManagerSettings::default()).unwrap();
let data = StreamingSoundData::from_file("multichannel.flac").unwrap();
let mut handle = manager.play(data).unwrap();
loop {
    println!("{:?} -- {:?}", handle.state(), handle.pop_error());
    std::thread::sleep(std::time::Duration::from_secs(1));
}

Output:

Playing -- None
Stopped -- Some(UnsupportedChannelConfiguration)
Stopped -- None
Stopped -- None
Stopped -- None
Stopped -- None

Using symphonia-play on the same file works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions