On Mon, Mar 14, 2022 at 10:47 AM Tomas Härdin <tjop...@acc.umu.se> wrote:
> +static const AVOption dfpwm_options[] = { > + { "sample_rate", "", offsetof(DFPWMAudioDemuxerContext, > sample_rate), AV_OPT_TYPE_INT, {.i64 = 48000}, 0, INT_MAX, > AV_OPT_FLAG_DECODING_PARAM }, > + { "channels", "", offsetof(DFPWMAudioDemuxerContext, channels), > AV_OPT_TYPE_INT, {.i64 = 1}, 0, INT_MAX, AV_OPT_FLAG_DECODING_PARAM }, > + { NULL }, > +}; > > I think you can set the input sample rate and channel count via the > FFmpeg CLI's -ar and -ac options and have them be carried in and out of > here > I highly doubt that. > > /Tomas > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".