[mythtv] Re: [PATCH] mono support, take two

Isaac Richards mythtv-dev@snowman.net
Thu, 21 Nov 2002 20:55:16 -0500


On Saturday 16 November 2002 11:43 am, Jim Radford wrote:
> The information seems to only be available "in the middle of the
> stream", and it only runs once as far as I can tell.  The code can be
> moved out-of-line if you're worried about cache footprint.  The
> problem is that lame, like oss, doesn't use what you tell it to.
> Specifically when I tell it to do one channel and mono it doesn't do
> it, it converts it to two channels.  So the myth header says 1 channel
> (which it would be without compression) and the lame header says 2.
> So first we set up one channel and then lame comes along and says, no
> I really used two.

In your patch, it looks like you're telling it to do stereo no matter what, 
since it's initializing the lame stuff before it probes the audio..  Think if 
the initialization order's fixed, that would be too?

Isaac