[Spice-devel] [PATCH] make celt to be optional

Ron ron at debian.org
Thu Jun 14 23:41:21 PDT 2012


On Thu, Jun 14, 2012 at 08:55:59AM +0200, Gerd Hoffmann wrote:
>   Hi,
> 
> >> I suspect there is no way around resampling support though.  We'll need
> >> it for compatibility reasons, so sound keeps working if only one side is
> >> able to operate at 48 kHz.
> > 
> > The ability to resample OTOH probably isn't a silly thing to have, and
> > can be fairly easily set up as an inline filter that is switched out
> > if you really don't need it.
> > 
> > Just to be clear about this though, there is actually no reason that
> > both sides of the link need to use the *same* sample rate, even without
> > a resampler.
> > 
> > For instance you can perfectly well push an 8kHz stream into opus, and
> > decode that as a 48kHz stream at the other end, or vice versa, without
> > resampling, for any integer fraction of 48k down to 8.  Or just because
> > one end needs to resample from 44.1 to 48, it doesn't prevent the other
> > side from still natively using 48k etc.
> 
> Ah, ok, so opus is different from mp3 here.  So you could "reample"
> using opus?  i.e. have one side feed 44.1 into opus encoder, then send
> opus over the wire, have the other side decode 48 kHz from opus?



More information about the Spice-devel mailing list