njh / twolame

MPEG Audio Layer 2 (MP2) encoder
http://www.twolame.org/
GNU Lesser General Public License v2.1
59 stars 34 forks source link

Add free format encoding #25

Closed eblanca closed 8 years ago

eblanca commented 8 years ago

A very few modifications allow for encoding in MPEG1/2 free format also. I did some tests encoding in both MPEG1 and 2, with and without padding, with and without crc protection and everything seems to be working fine.

eblanca commented 8 years ago

I just noticed my text editor removed a lot of trailing white spaces, so the modifications appear many more than they really are. Sorry for this.

njh commented 8 years ago

Which players have you tested against?

Would be good to fix Line-endings but would be good to put them in a different commit.

eblanca commented 8 years ago

I trust both madplay and mpg123 for decoding audio mpeg files (more on the former).

eblanca commented 8 years ago

I updated frontend.c setting back those trailing white spaces.

njh commented 8 years ago

Had to merge manually