Hello Mark,
Friday, September 21, 2001, 6:47:42 AM, you wrote:
MT> Have you put code in VbrTag.c to read & parse the new tag?
I added
pbtStreamBuffer[nBytesWritten ] = enc_delay >> 4;
pbtStreamBuffer[nBytesWritten +1] = (enc_delay << 4) + (enc_padding >> 8);
pbtStreamBuffer[nBytesWritten +2] = enc_padding;
which works here to write the correct values to the header. diff
attached.
Have no idea if that code will work under unix or with other compilers.
lame --r3mix fatboy.wav f.mp3 gives
000000B0: 00 24 04 EC-6D 00 00 00-00 02 05 01-B5 40 97 1D
0x24,0x04,0xEC aka (00100100/0000)b,(100/11101100)b
delay = 576
padding = 1260
using http://users.belgacom.net/gc247244/extra/tag.html#delays MSB.
small question: why can't I access "input_format" from VbrTag.c ?
I'd very much like see that
> /*input_format == sf_mp1 ||
> input_format == sf_mp2 ||
> input_format == sf_mp3 ||
> input_format == sf_ogg ||*/
condition uncommented, as it's quite essential. How can I access
this?
thanks and greets,
Roel
|