Debian Codegraph @

doc/html/news.html

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
3 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
5 <head>
6 <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
7 <meta name="generator" content="AsciiDoc 8.6.10" />
8 <title>What is new in TwoLAME</title>
9 <link rel="stylesheet" href="./asciidoc.css" type="text/css" />
10
11
12 <link rel="stylesheet" href="./twolame.css" type="text/css" />
13 <script type="text/javascript" src="./asciidoc.js"></script>
14 <script type="text/javascript">
15 /*<![CDATA[*/
16 asciidoc.install();
17 /*]]>*/
18 </script>
19 </head>
20 <body class="article">
21 <div id="header">
22 <h1>What is new in TwoLAME</h1>
23 <span id="revnumber">version 0.4.0</span>
24 </div>
25 <div id="content">
26 <div class="sect1">
27 <h2 id="_version_0_4_0_2019_10_11">Version 0.4.0 (2019-10-11)</h2>
28 <div class="sectionbody">
29 <div class="ulist"><ul>
30 <li>
31 <p>
32 Added free format encoding (now up to 450 kbps)
33 </p>
34 </li>
35 <li>
36 <p>
37 Added DAB utility methods for ScF-CRC handling
38 </p>
39 </li>
40 <li>
41 <p>
42 Added <code>twolame_get_original()</code> and <code>twolame_set_original()</code>
43 </p>
44 </li>
45 <li>
46 <p>
47 Added <code>twolame_get_extension()</code> and <code>twolame_set_extension()</code>
48 </p>
49 </li>
50 <li>
51 <p>
52 Bundled .spec file in tarball for building RPM for twolame
53 </p>
54 </li>
55 <li>
56 <p>
57 Make libsndfile dependency (and therefore the frontend) optional
58 </p>
59 </li>
60 <li>
61 <p>
62 Fixed VBR encoding
63 </p>
64 </li>
65 <li>
66 <p>
67 Fixed setting for error protection flag
68 </p>
69 </li>
70 <li>
71 <p>
72 New check for invalid bitrate/channel encoder settings
73 </p>
74 </li>
75 <li>
76 <p>
77 New checks against failed memory allocations
78 </p>
79 </li>
80 <li>
81 <p>
82 Fixed padding policy (now adding an empty slot)
83 </p>
84 </li>
85 <li>
86 <p>
87 Fixed build when maintainer mode is disabled
88 </p>
89 </li>
90 <li>
91 <p>
92 Fixed scaling of floating point input source through libsndfile
93 </p>
94 </li>
95 <li>
96 <p>
97 Removed <code>slotinfo</code> global variables to fix thread safety bug
98 </p>
99 </li>
100 <li>
101 <p>
102 Switched to handling reading from STDIN using libsndfile
103 </p>
104 </li>
105 <li>
106 <p>
107 Fix for potential buffer overrun relating to <code>MAX_NAME_SIZE</code> in CLI tool
108 </p>
109 </li>
110 <li>
111 <p>
112 Install AUTHORS, COPYING, README, NEWS in <code>$prefix/share/doc/twolame/</code>
113 </p>
114 </li>
115 <li>
116 <p>
117 Zero the whole of the data structure when calling <code>twolame_init()</code>
118 </p>
119 </li>
120 <li>
121 <p>
122 Prefixed all global symbols with <code>twolame_</code> to prevent symbol conflicts
123 </p>
124 </li>
125 <li>
126 <p>
127 Fix for <code>twolame_get_framelength()</code> returning the correct frame size when padding is enabled
128 </p>
129 </li>
130 <li>
131 <p>
132 Fix progress counter in twolame CLI
133 </p>
134 </li>
135 <li>
136 <p>
137 Fix compilation on mingw or mxe cross compiler
138 </p>
139 </li>
140 <li>
141 <p>
142 Fix symbols visibility on Windows
143 </p>
144 </li>
145 <li>
146 <p>
147 Add <code>-no-undefined</code> for compilation on Windows
148 </p>
149 </li>
150 <li>
151 <p>
152 Added <code>win32-dll</code> option to <code>LT_INIT</code>
153 </p>
154 </li>
155 <li>
156 <p>
157 Compiler and Valgrind warning fixes
158 </p>
159 </li>
160 <li>
161 <p>
162 Various other minor fixes
163 </p>
164 </li>
165 </ul></div>
166 </div>
167 </div>
168 <div class="sect1">
169 <h2 id="_version_0_3_13_2011_01_21">Version 0.3.13 (2011-01-21)</h2>
170 <div class="sectionbody">
171 <div class="ulist"><ul>
172 <li>
173 <p>
174 Fixed documentation location (--docdir in configure)
175 </p>
176 <div class="ulist"><ul>
177 <li>
178 <p>
179 thanks to Chris Mayo for patch
180 </p>
181 </li>
182 </ul></div>
183 </li>
184 <li>
185 <p>
186 Moved source code control to Github
187 </p>
188 </li>
189 <li>
190 <p>
191 Improvements to build system
192 </p>
193 </li>
194 <li>
195 <p>
196 Updated to autoconf 2.60, libtool 2.2, automake 1.10 and Doxygen 1.7.3
197 </p>
198 </li>
199 <li>
200 <p>
201 Fix problem with <em>extern inline</em> by changing them to <em>static inline</em>
202 </p>
203 </li>
204 <li>
205 <p>
206 Wrote perl script to test output of the frontend
207 </p>
208 </li>
209 <li>
210 <p>
211 Changed all debugging messages, writing to stdout to write to stderr
212 </p>
213 </li>
214 <li>
215 <p>
216 Removed calls to exit() from libtwolame.
217 </p>
218 </li>
219 <li>
220 <p>
221 Added --non-copyright option (which is enabled by default)
222 </p>
223 </li>
224 <li>
225 <p>
226 Fix for bad copy/paste of variable assignment.
227 </p>
228 </li>
229 <li>
230 <p>
231 Manpage correction
232 </p>
233 </li>
234 <li>
235 <p>
236 Changed fopen() options to wb to fix Windows
237 </p>
238 </li>
239 </ul></div>
240 </div>
241 </div>
242 <div class="sect1">
243 <h2 id="_version_0_3_12_2008_01_09">Version 0.3.12 (2008-01-09)</h2>
244 <div class="sectionbody">
245 <div class="ulist"><ul>
246 <li>
247 <p>
248 Fixed <em>inline</em> for the forthcoming gcc-4.3
249 </p>
250 <div class="ulist"><ul>
251 <li>
252 <p>
253 thanks to Martin Michlmayr for patch
254 </p>
255 </li>
256 </ul></div>
257 </li>
258 </ul></div>
259 </div>
260 </div>
261 <div class="sect1">
262 <h2 id="_version_0_3_11_2007_07_02">Version 0.3.11 (2007-07-02)</h2>
263 <div class="sectionbody">
264 <div class="ulist"><ul>
265 <li>
266 <p>
267 Fixed energy levels bug for mono audio
268 </p>
269 <div class="ulist"><ul>
270 <li>
271 <p>
272 thanks to Staale Helleberg for patch
273 </p>
274 </li>
275 </ul></div>
276 </li>
277 <li>
278 <p>
279 Fixed STDIN support in twolame frontend
280 </p>
281 </li>
282 </ul></div>
283 </div>
284 </div>
285 <div class="sect1">
286 <h2 id="_version_0_3_10_2007_03_20">Version 0.3.10 (2007-03-20)</h2>
287 <div class="sectionbody">
288 <div class="ulist"><ul>
289 <li>
290 <p>
291 Added win32/winutil.h to tarball - fixes bug #1629945
292 </p>
293 </li>
294 <li>
295 <p>
296 Fixed presentation of --enable-debug in configure script
297 </p>
298 </li>
299 <li>
300 <p>
301 Added twolame_encode_buffer_float32_interleaved()
302 </p>
303 </li>
304 <li>
305 <p>
306 Fixed bug that was loosing stereo in twolame_encode_buffer_float32()
307 </p>
308 </li>
309 <li>
310 <p>
311 Fixed twolame_set_mode() to accept TWOLAME_AUTO_MODE
312 </p>
313 </li>
314 <li>
315 <p>
316 Added source file Ids to the top of every file
317 </p>
318 </li>
319 <li>
320 <p>
321 Added -pedantic to CFLAGS for debug build
322 </p>
323 </li>
324 </ul></div>
325 </div>
326 </div>
327 <div class="sect1">
328 <h2 id="_version_0_3_9_2006_12_31">Version 0.3.9 (2006-12-31)</h2>
329 <div class="sectionbody">
330 <div class="ulist"><ul>
331 <li>
332 <p>
333 Fix for Windows in simple frontend: open files in binary mode
334 </p>
335 <div class="ulist"><ul>
336 <li>
337 <p>
338 thanks to Kurien Mathew
339 </p>
340 </li>
341 </ul></div>
342 </li>
343 <li>
344 <p>
345 (libtwolame) Fixed energy level support
346 </p>
347 <div class="ulist"><ul>
348 <li>
349 <p>
350 thanks to Staale Helleberg
351 </p>
352 </li>
353 </ul></div>
354 </li>
355 <li>
356 <p>
357 Nows displays the version number of libsndfile in frontend
358 </p>
359 <div class="ulist"><ul>
360 <li>
361 <p>
362 as suggested by Elio Blanca
363 </p>
364 </li>
365 </ul></div>
366 </li>
367 <li>
368 <p>
369 Changed documentation build system, so you have to run it manually
370 </p>
371 </li>
372 <li>
373 <p>
374 Buffer overrun fix in new_extension()
375 </p>
376 </li>
377 <li>
378 <p>
379 (libtwolame) Added warning that DAB support is still broken
380 </p>
381 </li>
382 <li>
383 <p>
384 (libtwolame) Added twolame_get_framelength() to return number of bytes per frame
385 </p>
386 </li>
387 <li>
388 <p>
389 Added TWOLAME_SAMPLES_PER_FRAME macro, clarifying that there are
390 always 1152 samples per frame in Layer 2
391 </p>
392 </li>
393 <li>
394 <p>
395 Frontend now displays extra information
396 </p>
397 <div class="ulist"><ul>
398 <li>
399 <p>
400 Duration of input file (if known)
401 </p>
402 </li>
403 <li>
404 <p>
405 Total number of frames to be encoded and percentage complete
406 </p>
407 </li>
408 <li>
409 <p>
410 The filesize of the output file
411 </p>
412 </li>
413 </ul></div>
414 </li>
415 <li>
416 <p>
417 Cleaned up source files so that it is consistent and all uses tabs (tab width 4)
418 </p>
419 </li>
420 </ul></div>
421 </div>
422 </div>
423 <div class="sect1">
424 <h2 id="_version_0_3_8_2006_06_19">Version 0.3.8 (2006-06-19)</h2>
425 <div class="sectionbody">
426 <div class="ulist"><ul>
427 <li>
428 <p>
429 (libtwolame) Fixed CRC protection
430 </p>
431 </li>
432 <li>
433 <p>
434 More code tidying
435 </p>
436 </li>
437 <li>
438 <p>
439 pkg-config is no-longer required (but is recommended)
440 </p>
441 </li>
442 <li>
443 <p>
444 frontend now has the exectuable suffix appended to filename
445 </p>
446 </li>
447 <li>
448 <p>
449 added -std=c99 to the compiler options
450 </p>
451 </li>
452 </ul></div>
453 </div>
454 </div>
455 <div class="sect1">
456 <h2 id="_version_0_3_7_2006_05_07">Version 0.3.7 (2006-05-07)</h2>
457 <div class="sectionbody">
458 <div class="ulist"><ul>
459 <li>
460 <p>
461 (libtwolame) Added twolame_encode_buffer_float32() function
462 </p>
463 </li>
464 <li>
465 <p>
466 (libtwolame) Fix NAN bug for AMD64 processors
467 </p>
468 </li>
469 <li>
470 <p>
471 Checks type sizes of short and float
472 </p>
473 </li>
474 </ul></div>
475 </div>
476 </div>
477 <div class="sect1">
478 <h2 id="_version_0_3_6_2006_12_25">Version 0.3.6 (2006-12-25)</h2>
479 <div class="sectionbody">
480 <div class="ulist"><ul>
481 <li>
482 <p>
483 Removed comma which was causing problems with -pedantic
484 </p>
485 <div class="ulist"><ul>
486 <li>
487 <p>
488 Thanks to Akos Maroy
489 </p>
490 </li>
491 </ul></div>
492 </li>
493 <li>
494 <p>
495 (libtwolame) Added libtool library versioning
496 </p>
497 </li>
498 </ul></div>
499 </div>
500 </div>
501 <div class="sect1">
502 <h2 id="_version_0_3_5_2005_11_29">Version 0.3.5 (2005-11-29)</h2>
503 <div class="sectionbody">
504 <div class="ulist"><ul>
505 <li>
506 <p>
507 (libtwolame) Added back twolame_get_VBR_q/twolame_set_VBR_q
508 </p>
509 </li>
510 <li>
511 <p>
512 More documentation is installed
513 </p>
514 </li>
515 </ul></div>
516 </div>
517 </div>
518 <div class="sect1">
519 <h2 id="_version_0_3_4_2005_11_19">Version 0.3.4 (2005-11-19)</h2>
520 <div class="sectionbody">
521 <div class="ulist"><ul>
522 <li>
523 <p>
524 (libtwolame) Checks parameters a bit better
525 </p>
526 </li>
527 <li>
528 <p>
529 (libtwolame) Removed lots of exit() calls
530 </p>
531 </li>
532 <li>
533 <p>
534 (libtwolame) added twolame_print_config() API call
535 </p>
536 </li>
537 <li>
538 <p>
539 (libtwolame) Fixed twolame.h so that it works with C++ code
540 </p>
541 </li>
542 <li>
543 <p>
544 Rewrote frontend and now (only) uses libsndfile
545 </p>
546 </li>
547 <li>
548 <p>
549 Changed behavior in frontend and backend for verbosity setting
550 </p>
551 </li>
552 <li>
553 <p>
554 Rewrote manpage for frontend
555 </p>
556 </li>
557 <li>
558 <p>
559 (libtwolame) Fixed bug with setting MPEG version
560 </p>
561 </li>
562 <li>
563 <p>
564 (libtwolame) Removed default samplerate - must choose one
565 </p>
566 </li>
567 <li>
568 <p>
569 (libtwolame) <em>Original</em> flag is now turned on by default
570 </p>
571 </li>
572 <li>
573 <p>
574 (libtwolame) Default bitrate is automatically chosen based on the samplerate/channels
575 </p>
576 </li>
577 <li>
578 <p>
579 (libtwolame) Default mode is automatically chosen based on the number of channels
580 </p>
581 </li>
582 <li>
583 <p>
584 Documentation improvements and corrections
585 </p>
586 </li>
587 <li>
588 <p>
589 (libtwolame) made some of VBR debugging send to stderr instead of stdout
590 </p>
591 </li>
592 </ul></div>
593 </div>
594 </div>
595 <div class="sect1">
596 <h2 id="_version_0_3_3_2005_04_19">Version 0.3.3 (2005-04-19)</h2>
597 <div class="sectionbody">
598 <div class="ulist"><ul>
599 <li>
600 <p>
601 Added Debian package description
602 </p>
603 </li>
604 <li>
605 <p>
606 Now installs documentation
607 </p>
608 </li>
609 <li>
610 <p>
611 Removed old unused tables.c and tables.h sources
612 </p>
613 </li>
614 </ul></div>
615 </div>
616 </div>
617 <div class="sect1">
618 <h2 id="_version_0_3_2_2005_04_10">Version 0.3.2 (2005-04-10)</h2>
619 <div class="sectionbody">
620 <div class="ulist"><ul>
621 <li>
622 <p>
623 Added scaling of input samples
624 </p>
625 </li>
626 <li>
627 <p>
628 Added downmixing/upmixing of samples
629 </p>
630 </li>
631 <li>
632 <p>
633 Applied patch from Christophe Massiot to make TwoLAME thread-safe
634 </p>
635 </li>
636 </ul></div>
637 </div>
638 </div>
639 <div class="sect1">
640 <h2 id="_version_0_3_1_2004_09_17">Version 0.3.1 (2004-09-17)</h2>
641 <div class="sectionbody">
642 <div class="ulist"><ul>
643 <li>
644 <p>
645 Frontend displays information about the input file format
646 </p>
647 </li>
648 <li>
649 <p>
650 Fixed bug with audio_get_samples reading more than buffer size
651 </p>
652 </li>
653 <li>
654 <p>
655 Added asciidoc documentation
656 </p>
657 </li>
658 <li>
659 <p>
660 Added doxygen documentation
661 </p>
662 </li>
663 </ul></div>
664 </div>
665 </div>
666 <div class="sect1">
667 <h2 id="_version_0_3_0_2004_09_14">Version 0.3.0 (2004-09-14)</h2>
668 <div class="sectionbody">
669 <div class="ulist"><ul>
670 <li>
671 <p>
672 Based on tooLAME 0.2m beta 8
673 </p>
674 </li>
675 <li>
676 <p>
677 changed build system to use automake/libtool
678 </p>
679 </li>
680 <li>
681 <p>
682 now builds shared library
683 </p>
684 </li>
685 <li>
686 <p>
687 restructured lots of code
688 </p>
689 <div class="ulist"><ul>
690 <li>
691 <p>
692 Removed some dead code and unused files
693 </p>
694 </li>
695 </ul></div>
696 </li>
697 <li>
698 <p>
699 should now be close to being thread safe
700 </p>
701 </li>
702 <li>
703 <p>
704 removed memory leaks / static variables
705 </p>
706 </li>
707 <li>
708 <p>
709 changed library API so that it is almost the same as LAMEs
710 </p>
711 <div class="ulist"><ul>
712 <li>
713 <p>
714 hopefully not too many people have been using the old API
715 </p>
716 </li>
717 <li>
718 <p>
719 not too many big differences
720 </p>
721 </li>
722 <li>
723 <p>
724 will hopefully add resampling support to next release
725 </p>
726 </li>
727 <li>
728 <p>
729 API is ready for resampling support to be added
730 </p>
731 </li>
732 <li>
733 <p>
734 ready for downmixing to be added to libtoolame
735 </p>
736 </li>
737 </ul></div>
738 </li>
739 <li>
740 <p>
741 Added libsndfile support to toolame frontend (if you have it)
742 </p>
743 </li>
744 <li>
745 <p>
746 moved set/get functions into get_set.c
747 </p>
748 </li>
749 <li>
750 <p>
751 I have broken energy levels support (sorry !) - will try and fix
752 </p>
753 </li>
754 <li>
755 <p>
756 Added LGPL header to the top of all the files
757 </p>
758 </li>
759 <li>
760 <p>
761 Added toolame_encode_buffer_interleaved
762 </p>
763 </li>
764 </ul></div>
765 </div>
766 </div>
767 </div>
768 <div id="footnotes"><hr /></div>
769 <div id="footer">
770 <div id="footer-text">
771 Version 0.4.0<br />
772 Last updated
773 2019-10-11 17:27:02 BST
774 </div>
775 </div>
776 </body>
777 </html>