We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm trying to to decode m4a files, but I am not getting any channels in the decoder. track.codec_params.channels is None.
track.codec_params.channels
None
I'm using these features, because I need to be able to decode a lot of file types:
symphonia = { version = "0.5.4", features = [ "mpa", "all-codecs", "aiff", "alac", "adpcm", "aac", "vorbis", "pcm", "isomp4", "caf", "mkv", "opt-simd-sse", "opt-simd-avx", "opt-simd-neon", "default", ] }
The files I tried are:
sweeps.zip
The text was updated successfully, but these errors were encountered:
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.
Sorry, something went wrong.
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.
No branches or pull requests
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
The text was updated successfully, but these errors were encountered: