On 12/10/08, Kurt Roeckx <[EMAIL PROTECTED]> wrote:
> On Wed, Nov 26, 2008 at 02:37:29PM -0500, Diego Escalante Urrelo wrote:
>  > On 11/26/08, brian m. carlson <[EMAIL PROTECTED]> wrote:
>  > >  Playing MPEG stream from css_descramble.mp3 ...
>  > >  MPEG 1.0 layer III, 64 kbit/s, 22050 Hz joint-stereo
>  > >  ^C
>  > >  [0:05] Decoding of css_descramble.mp3 finished.
>  > >  lakeview ok % file css_descramble.mp3 css_descramble.mp3: MPEG ADTS, 
> layer
>  > > III, v2,  64 kbps, 22.05 kHz, JntStereo
>  > >
>  >
>  > I checked mpg321's code again. It's hardcoding the MPEG 1.0 part. A
>  > look at mad's struct from where the other info is retrieved didn't
>  > revealed a way to get the MPEG 1.0/2.0 info.
>
>  It the struct mad_header is a member called "flags".  If the bit
>  MAD_FLAG_MC_EXT is set it's MPEG 2.0, if MAD_FLAG_MPEG_2_5_EXT is
>  set it's MPEG 2.5.  Otherwise it's MPEG 1.0.
>

Great. Anyone feel free to do a simple patch for this. :-)



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to