Commit Graph

58 Commits

Author SHA1 Message Date
Bruno Jesus bb036ae502 winemp3.acm: Fixes compilation for older mpg123 library versions.
Thanks to Sebastian Lackner for the correct approach.

Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-21 16:04:46 +01:00
Bruno Jesus 2253d1a9d3 winemp3.acm: Ignore XING headers when parsing MP3 files.
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-09 19:38:13 +01:00
Andrew Eikum ab22ea74a4 msacm32: Make ACM driver details match native more closely. 2015-05-27 14:31:39 +09:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
Alexandre Julliard 8aa64e3580 configure: Automatically expand _CFLAGS and _LIBS variables in all makefiles. 2014-01-30 12:42:56 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Alexandre Julliard 8d8fdc5b3a configure: Add pkg-config support for libmpg123. 2013-07-31 22:26:56 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Maarten Lankhorst 557deb0a19 winemp3: Add support for WAVE_FORMAT_MPEG. 2011-09-27 16:53:59 +02:00
Stefan Reimer e8a2452c05 winemp3: Fixed exit condition within decoding loop. 2011-01-26 15:00:10 +01:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 6dc12cdb31 winemp3.acm: Fix a couple of compiler warnings on Mac OS. 2010-09-14 18:03:41 -05:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Kristofer Henriksson 39ea772ac4 winemp3.acm: Update mpegl3.c copyright notice. 2010-05-31 12:14:27 +02:00
Kristofer Henriksson c58eff621d winemp3.acm: Fix the Mac-specific code.
The previous code does not function on Snow Leopard, and does not conform
to Apple's documentation. This fix should function on all versions of OS X
later than 10.2.
2010-05-28 16:22:25 +02:00
Michael Stefaniuc 5b9fb3c5be winemp3.acm: Avoid using the long type. 2010-05-21 18:57:37 +02:00
Aric Stewart 4430ab435d winemp3.acm: Support mp3 decoding on Mac OS/X Leopard systems. 2010-03-18 15:55:30 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
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