ropensci / av

Working with Video in R
https://docs.ropensci.org/av
Other
92 stars 10 forks source link

audio format is hard-coded so INT_S32 #38

Open pscholl opened 3 years ago

pscholl commented 3 years ago

https://github.com/ropensci/av/blob/2693e97b79b2d0ca81ce03fb68ba4ff3e1c5a4c7/src/fft.c#L300

hard-codes the audio sample format. I was wondering if it replacing the AV_SAMPLE_FMT_S32 constant with decoder->sample_fmt ? Is there an assumption somewhere that limits audio sample to S32?