[MPlayer-dev-eng] [PATCH] demux_ogg: add switch audio control
Paul TT
paultt at hackerjournal.it
Tue Nov 15 10:23:48 CET 2005
On Fri, 11 Nov 2005 12:54:30 +0100
Moritz Bunkus <moritz at bunkus.org> wrote:
> Hey,
>
> On Friday 11 November 2005 11:22, Paul TT wrote:
>
> > yes, it's what it's been done in my patch, i save the format just
for
> > this purpose. assuming the same format, is it correct to try anyway
the
> > switching, (that's what i do), or not?
>
> If the codecs, the sample rate, the number of channels, the bit depth
> (in case of PCM ;)) AND the codec initialization data match, then you
> can switch. Hopefully.
all right, i'll check all of these. codec and rate are already checked,
i think i'll have to add channels number and depth...
i think i'll add these fields to ogg_stream_t structure..., and i think
i'll remove the .vorbis .theora .flac, in favour of the .format field...
is it right? can i go on?
thanx
PaulTT
More information about the MPlayer-dev-eng
mailing list