Re: [mp3encoder] lame_get_encoder_delay(gfp) returns 0 if there's no LAME Tag

2003-12-12 Thread Takehiro Tominaga
From: Branimir Amidzic <[EMAIL PROTECTED]>
Subject: [mp3encoder] lame_get_encoder_delay(gfp) returns 0 if there's no LAME Tag
Date: Sun, 07 Dec 2003 23:30:28 +0100

> If there's no LAME Tag after Xing Info Tag this function returns 0.
> But if there's no Xing Tag at all this function returns 576.
> 
> Is this OK?

Don't know, but maybe bad.

576 is the shortest delay mp3 can archieve.
(except we use the short block at the beginning).

So IMHO, returning "0" is wrong.

> Also, what encoder delay value should I use if there's no Xing/LAME tag when 
> decoding an MP3 file? Does it depend on what encoder was used for encoding that 
> song?

Yes, it depends.
-- 
Takehiro TOMINAGA // may the source be with you!
___
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder


[mp3encoder] lame_get_encoder_delay(gfp) returns 0 if there's no LAME Tag

2003-12-07 Thread Branimir Amidzic
If there's no LAME Tag after Xing Info Tag this function returns 0.
But if there's no Xing Tag at all this function returns 576.
Is this OK?

Also, what encoder delay value should I use if there's no Xing/LAME tag when 
decoding an MP3 file? Does it depend on what encoder was used for encoding that 
song?

Thanks in advance.

___
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder