Commit Graph

40 Commits

Author SHA1 Message Date
Stefano Guidoni f31d240d8d winemp3: Fix incorrect stream handling. 2010-01-25 13:01:39 +01:00
Loïc Hoguin 05a258b2c9 winemp3.acm: mpg123_getformat must be called on MPG123_NEW_FORMAT errors for libmpg123 < 1.8.0.
The documentation for libmpg123 clearly state that mpg123_getformat MUST
be called if an error MPG123_NEW_FORMAT is returned, for libmpg123 < 1.8.0.
On versions above that, the call is optional. The patch make sure to call
that function all the time (instead of just when trace is activated) so
that mp3 works in Morrowind and others.
2009-12-30 16:14:48 +01:00
Chris Robinson 3dc677cc63 winemp3.acm: Fix reading/decoding loop. 2009-08-26 12:10:33 +02:00
Alexandre Julliard 1b3027f300 winemp3: Include wine/port.h. 2009-08-25 11:30:07 +02:00
Aric Stewart db71d7c083 winemp3.acm: Link to system libmpg123.so. 2009-08-24 15:17:34 +02:00
Aric Stewart e9aaea044b winemp3: A fix for security alert CVE-2006-1655. 2009-08-10 13:11:30 +02:00
Stefano Guidoni 697a64595a winemp3: Rounding block count up in mpeg3_streamsize. 2009-04-06 15:30:22 +02:00
Christian Costa a513d401ac winemp3: Add missing sampling frequencies. 2009-03-30 14:22:11 +02:00
Stefano Guidoni 21186d5a69 winemp3: Fixed mpeg3_streamsize.
mpeg3_streamsize must estimate the number of samples of an mp3 chunk. 
The result must be block aligned (PCM) or frame aligned (MP3).
2009-03-27 15:51:25 +01:00
Michael Stefaniuc 8dfbaf6703 winemp3.acm: Remove superfluous pointer casts. 2009-02-27 13:15:40 +01:00
Michael Stefaniuc 2dc90652fb winemp3.acm: Remove the commented out III_dequantize_sample_ms function.
It was already commented out when it was imported into Wine back in 2002.
2009-02-25 12:37:06 +01:00
Adam Stoelting f88e16987e winemp3.acm: Changed pointer cast from DWORD to DWORD_PTR. 2009-02-23 12:20:03 +01:00
Andrew Talbot 5a556de5a0 winemp3.acm: Replace malloc() with HeapAlloc(). 2009-02-13 15:33:04 +01:00
Andrew Talbot c784eacfd3 winemp3.acm: Sign-compare warnings fix. 2008-12-03 09:46:53 +01:00
Alexandre Julliard 14e2cd90fc winemp3.acm: Make some variables static. 2008-12-02 15:26:08 +01:00
Maarten Lankhorst f53f5ebd81 winemp3: Be more tolerant to what a valid mp3 header is. 2008-07-16 17:52:25 +02:00
Francois Gouget dbaec0a101 Assorted spelling fixes. 2008-07-10 13:40:15 +02:00
Maarten Lankhorst 586d9e140e winemp3: Try to find a valid header instead of failing immediately.
After seeking there might be some initial garbage, this makes it ignore it.
2008-06-19 11:44:04 +02:00
Maarten Lankhorst f5fdb793ed winemp3: Change a few more fprintf's to wine logs. 2008-04-03 11:29:40 +02:00
Maarten Lankhorst 0faee4af85 winemp3: Replace fprintf with wine debugging facilities. 2008-04-01 23:21:38 +02:00
Maarten Lankhorst 2756bedd8a winemp3: Skip idv3 header too. 2008-03-19 11:22:45 +01:00
Chris Robinson 8f46a51192 winemp3: Don't keep unused data buffered. 2008-02-21 12:52:59 +01:00
Andrew Talbot b286289180 winemp3.acm: Remove unneeded casts. 2008-02-04 14:19:22 +01:00
Austin English 0e4adae973 Spelling fixes. 2008-01-07 13:41:01 +01:00
Chris Robinson 8a865e5a0b winemp3: Remove function declarations with no definition and unused macros. 2007-07-11 12:16:06 +02:00
Chris Robinson fa969d169b winemp3: Remove global mpstr pointer. 2007-07-11 12:15:56 +02:00
Chris Robinson 22e94d0ba6 winemp3: Use head_check to check for valid headers. 2007-07-11 11:59:59 +02:00
Chris Robinson 23d3302e38 winemp3: Check the right macro when defining TRUE. 2007-07-11 11:59:54 +02:00
Alex Villacís Lasso 0fe33f21e8 winemp3: Announce capability to decode at 48 KHz. 2007-06-29 12:32:44 +02:00
Chris Robinson 7d085d2cd4 winemp3: Clear stream buffers when the stream is reset. 2007-03-28 12:05:54 +02:00
Andrew Talbot 8145f97efd winemp3.acm: Remove unused functions. 2007-02-06 13:19:26 +01:00
Andrew Talbot 6d7e1e7327 winemp3.acm: Declare some items static. 2007-02-05 12:32:56 +01:00
Jeff Latimer cfdd3349f8 winemp3.acm: Ensure null check before dereference. 2007-01-05 20:26:39 +01:00
Michael Stefaniuc 72ed451be7 winemp3.acm: Win64 printf format warning fixes. 2006-10-07 17:47:32 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard b5878798fd winemp3.acm: Make some variables static and/or const. 2006-06-12 13:40:34 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 25d134071f winemp3: Renamed the dlls/msacm/winemp3 directory to dlls/winemp3.acm. 2006-03-27 23:19:50 +02:00