Commit Graph

32 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
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 6dc12cdb31 winemp3.acm: Fix a couple of compiler warnings on Mac OS. 2010-09-14 18:03:41 -05: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
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
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
Adam Stoelting f88e16987e winemp3.acm: Changed pointer cast from DWORD to DWORD_PTR. 2009-02-23 12:20:03 +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 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
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
Michael Stefaniuc 72ed451be7 winemp3.acm: Win64 printf format warning fixes. 2006-10-07 17:47:32 +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