mån 2022-03-14 klockan 10:56 +0100 skrev Paul B Mahol:
> On Mon, Mar 14, 2022 at 10:47 AM Tomas Härdin
> wrote:
>
> > +static const AVOption dfpwm_options[] = {
> > + { "sample_rate", "", offsetof(DFPWMAudioDemuxerContext,
> > sample_rate), AV_OPT_TYPE_INT, {.i64 = 48000}, 0, INT_MAX,
> > AV_O
On Mon, Mar 14, 2022 at 10:47 AM Tomas Härdin 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(DFPWMA
+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, IN
This patch builds on my previous DFPWM codec patch, adding a raw
audio format to be able to read/write the raw files that are most commonly
used (as no other container format supports it yet).
The muxers are mostly copied from the PCM demuxer and the raw muxers, as
DFPWM is typically stored as r