"flac.exe" -dc
"D:\11_The_Doors_-_People_Are_Strange.flac" | "lame.exe" --tt adffsdfffdddddddddddddddddddddddddddddddd -q 5 -o -b 320 --cbr - "D:\Flash\11_The_Doors_-_People_Are_Strange.mp3" works good,
but if I start lame.exe from my application like "lame.exe" --tt adffsdfffdddddddddddddddddddddddddddddddd -q 5 -o -b 320 --cbr - "D:\Flash\11_The_Doors_-_People_Are_Strange.mp3" and give to it stdout from
my application it writes TLEN not 131864 as should and it really write at first case but 12173943 :-(
What does your application write out, RAW PCM or a WAVE file?
In case of a normal WAVE file, the TLEN information will be taken from it and the number of samples will not get counted by LAME. So, if your WAVE file contains invalid information about duration, this might get into the TLEN field.