kira
kira copied to clipboard
Playback of multichannel FLAC does not work
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.
Kira only supports mono and stereo sounds for now.
Are there any plans for multichannel?
Not currently. I'm not opposed to it, but I don't have a 5.1 system to test with, and I'm not well versed in how games use 5.1 channel audio.