Open tGrothmannFluffy opened 3 months ago
It seems like I can get the number of channels via
let decoded = decoder.decode(&packet)?;
match decoded {
[...]
AudioBufferRef::S16(buffer) => {
let num_channels = buffer.spec().channels.iter().count()
[...]
which is not ideal but works.
Even though I found a solution for now, I'd like to leave this open. Maybe someone can point me to a better way or tell me what I'm doing wrong here.
Hi,
I'm trying to to decode m4a files, but I am not getting any channels in the decoder.
track.codec_params.channels
isNone
.I'm using these features, because I need to be able to decode a lot of file types:
The files I tried are:
sweeps.zip