[mythtv] [PATCH] The chipmunks are back

Isaac Richards ijr at po.cwru.edu
Fri Oct 10 18:47:17 EDT 2003


On Friday 10 October 2003 01:30 pm, Jim Radford wrote:
> > Shouldn't be too hard for someone to revert the code in NVR.cpp
>
> I even sent a patch for this. :-)
>
> > and add some stuff to clamp the returned value from the ioctl to
> > normal values.
>
> Given this line from lame_init_params()
>
>   gfp->out_samplerate = map2MP3Frequency( (int)( 0.97 * gfp->in_samplerate
> ) ); /* round up with a margin of 3% */

I just committed some (completely untested) code that should fix all of this.  
I just stopped manually setting the output sample rate, so now the lame lib 
should be calculating it properly.

Isaac


More information about the mythtv-dev mailing list