Commit Graph

65 Commits

Author SHA1 Message Date
Alex Szpakowski 96161c66f6 Updated copyright text for the new year 2013-02-05 05:32:49 -04:00
Bart van Strien 8fba362fc5 Add SoundData:getDuration, returns the duration in seconds 2013-01-29 23:19:26 +01:00
Bart van Strien 33d7115887 Make love.sound.newDecoder accept FileData, and make File->read return FileData 2012-10-14 17:19:40 +02:00
rude 7baf22c0e3 Apply Boolsheet's GME leak patch. 2012-08-21 16:14:38 +02:00
Bill Meltsner b24e7ab64f Update the Xcode project and enable GME support on OS X.
Requires Game_Music_Emu.framework, which is included in the updated OS X SDK.
2012-08-18 11:56:42 -05:00
Bart van Strien 7793e7f02f CRLF to LF 2012-07-04 14:40:24 +02:00
rude 098ffb7336 Added support for GME (Game_Music_Emu).
This makes it possible for LÖVE to play music files for NES, SNES, MegaDrive,
and many more. It's pretty cool.

The feature is disabled until each platform is ready to link with GME. Packages
exist for Debian and Arch, and it compiled without any issues in MSVC++, so
I don't expect this to a problem for anyone.
2012-07-02 00:19:43 +02:00
rude 81c38e22d0 Applied the new style guidelines.
Well, sort of. Lot's more to be done, but this is a start.
2012-06-28 23:52:33 +02:00
Bart van Strien 124e9d1d2a Fix memory leak in the mp3 decoder, turned out to be of pretty decent size (bug #395) 2012-05-29 21:33:10 +02:00
Bart van Strien 7b161e5c41 Make using mpg123 optional, add option to linux build system
Added so people can make patent-free builds (easily), for example for patent-free distro's
2012-05-19 01:05:43 +02:00
Bart van Strien eb7a758691 Apply patch "More efficient SoundData allocator" that allocates memory less often, and shrinks to minimum size afterwards 2012-05-18 19:21:40 +02:00
Bart van Strien 43c5576268 Remove warning in autotools and make LOVE_OLD_MODPLUG define that disables some new modplug settings 2012-03-22 17:21:28 +01:00
Bill Meltsner be55579a22 Happy New Year, have an enormous diff 2012-01-09 02:41:11 -06:00
Bart van Strien c707a4ca45 Properly export all lua-facing functions and use those for initialization (love.cpp no longer explicitly mentions implementations) 2011-12-24 01:10:40 +01:00
Bart van Strien 91fefbd1ee *click* *pop* *POOF* 2011-12-13 17:11:57 +01:00
Bart van Strien 0aae9684b3 Automated formatting fix 2011-11-16 11:32:41 +01:00
Bill Meltsner d20f42c230 this machine kills compiler warnings 2011-10-12 14:41:25 -05:00
Bart van Strien 515596d389 Ehm, unsigned double.. sure.. 2011-08-13 15:38:03 +02:00
Bart van Strien 73d062e8fe Check if SoundData can allocate the memory and limit maximum size to INT_MAX 2011-08-13 15:30:29 +02:00
rude e1d1ebb2f1 Fix warnings in MSVC 2010. 2011-07-24 18:32:11 +02:00
Bart van Strien 07393c46f2 Allocate as many samples as requested (issue #240) 2011-07-11 17:18:55 +02:00
Bart van Strien a372dcaec8 Some audio fixes (no more mp3 clicking and popping?) (issue #217) 2011-06-08 23:37:01 +02:00
Bart van Strien 4fd9888a16 Merge in minor branch, now minor is our next development target 2011-05-07 14:12:41 +02:00
rude fe6d168bf1 Enable mStereoSeparation/mMaxMixChannels settings in Windows. 2011-04-07 18:16:44 +02:00
rude 3fe9b2ff16 Reverted module selection feature. This is not really desired.
Users (or lovers) do not get to choose which implementation of
a module they would like to use.

The abstraction is for dealing with portability issues, not
for giving people the ability to choose an alternative
(inferior) backend. The best choice for any platform/situation
should at all times be the *default* for that platform/situation.
If this is not the case; it's a bug (that is easily fixed).

Any module should provide the functionality promised in the docs.
The lover (or user) should not care how, and if [s]he does, [s]he
does still not get to choose.

Also, a related note: duplication of wrapper code is something I
especially wanted to avoid when I first (or should I say ...
"eventually") formed the current architecture.

--HG--
branch : minor
2011-03-26 17:06:05 +01:00
Bill Meltsner 1de511e3b9 seeking was broken in Mpg123Decoder
--HG--
branch : minor
2011-03-21 14:07:29 -05:00
Bart van Strien b4139ffab5 Rename loaders to fit their locations
--HG--
branch : minor
2011-03-13 20:25:35 +01:00
Bart van Strien dc61911a25 Move luaopen_love_sound to love.sound.lullaby
--HG--
branch : minor
2011-03-13 20:02:56 +01:00
rude 95ba8d1e13 Disabled mStereoSeparation and mMaxMixChannels until library is updated on Windows. 2011-03-09 11:07:26 +01:00
vrld c3cfff987c More sensible volume settings for Modpluggable files. 2011-03-01 20:11:30 +01:00
Bill Meltsner fde708160e bringing in the new year by changing every 2010 to 2011 2011-01-15 14:40:27 -06:00
Bill Meltsner a6a1e91976 mp3s sampled at rates other than 44.1KHz will play properly now (fixes issue #170) 2011-01-15 14:32:02 -06:00
Bill Meltsner 4479e8dfc4 removed user-specified sample rates for Decoders 2011-01-15 14:29:10 -06:00
rude 5fcdb687d4 AAAargh. Disabled FLAC code, which isn't really used now anyway. 2010-09-05 16:37:56 +02:00
Bart van Strien fe60afda0e Moved volume change in modplug decoder to after check if file has been loaded, thanks Michael R (fixes #60) 2010-09-06 07:53:30 +02:00
Bart van Strien 29c68d06f1 Image settings now survive setMode, fixes bug #10 2010-08-04 13:38:22 +02:00
Bill Meltsner 585e3ec3ee Added sound input and recording functionality. 2010-04-11 12:22:40 -04:00
bart@bartbes.ath.cx f74b79e39a Warning fix as in bug #188 2010-04-03 12:27:35 +02:00
Bill Meltsner 9b9334a138 I'm not entirely sure why ModPlugDecoder.cpp was #including set.h, but it certainly doesn't need to be... 2010-04-01 20:13:47 -04:00
Bill Meltsner 7c33786100 fixed a ridiculous number of gcc warnings, nearly all of which were complaints about unused parameters - the remaining 199 warnings I get are from code that isn't ours (box2d is responsible for all but 8 of them) 2010-02-26 03:55:21 -05:00
bart@bartbes.ath.cx 0f54088d06 Fixed mp3 playback on linux and added support for mono mp3s 2010-02-24 21:35:19 +01:00
bart@bartbes.ath.cx 736f7ab1a2 love.thread can now share full userdata 2010-02-14 17:41:11 +01:00
rude aa01c984b9 Updated all dates to 2010. 2010-01-31 16:54:47 +01:00
rude eb138f92f2 Fixed seeking. In theory. 2010-01-31 16:30:30 +01:00
rude b0cd49781f Merged love.audio changes. 2010-01-31 13:02:15 +01:00
rude 5b30c7fcfe Major developments to love.audio/love.sound. Music and Sound are gone. There are only Sources now, which is much cleaner.
The audio module was not really stable in 0.6.0, it takes very little messing around to cause OpenAL to do horrible things. It should now be much more stable,
and you *should* be able to play/stop/pause/resume/rewind/loop like a madman without disasters. Seek and tell, however, are still not tested and verified for
all decoders, but that's less important. Also, all objects now have object:type() and object:typeOf(), which returns the type name of the object,
and checks whether an object is of a certain type, respectively.
2010-01-31 11:52:54 +01:00
bart@bartbes.ath.cx af4c8977c6 Fixed invalid free bug, delete[] on a void* is undefined behaviour 2010-01-31 11:47:33 +01:00
rude ed55e0b5de Fixed master volume of modplug files when rewinding. 2009-12-21 19:45:06 +01:00
bill@localhost 6853f8374e made building from source on OS X a hell of a lot easier - no more .dylibs, and all the header files are contained in the frameworks (as they should be!) 2009-11-01 22:09:23 -06:00
rude 0e671c34d5 Fixed volume issue with WAV, and issue with truncated OGGs. 2009-10-26 22:13:02 +01:00