Commit Graph

50 Commits

Author SHA1 Message Date
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
rude 87e3c4131c Finally abstracted constants properly. Changed how the event module works; wasn't really abstract before. Removed libs we're not going to use: native, signal. 2009-10-10 11:11:04 +02:00
rude 623e701549 Modules now reside in Lua and are treated (almost) like normal objects.
Also added a way of getting a pointer to abstract module instances internally.
2009-09-02 21:18:13 +02:00
bill@Ixion b8677cebd0 added an endianness check in VorbisDecoder.cpp 2009-08-31 16:29:27 -05:00
bill@Ixion 8a6f16a4f6 brought up-to-date with latest changes from main repo 2009-08-26 11:07:44 -05:00
bart@bart 090d2e1cdb Fixed mp3 looping 2009-08-24 21:38:23 +02:00
rude 92c678ce02 Fixed file not closing after require(). Changed seek() to use seconds. 2009-08-24 19:57:08 +02:00
bart@bart de4d9bf2d4 Merge, I committed first 2009-08-21 16:31:19 +02:00
bart@bart ae43b28ac4 Enabled looping for libmpg123 2009-08-21 16:30:39 +02:00
rude 9196ebd50b Looping now works for OGG and tracker files (only tested with XM). 2009-08-20 21:14:06 +02:00
rude 579f9c75db Embedded nogame screen into binary and exposed version info. 2009-08-15 12:48:32 +02:00
rude dd420d68a3 Ok, project generation didn't really work out. Reverted. 2009-08-10 21:33:07 +02:00
rude ba1a75e547 Added many comments, and changed function names for wrapper functions. 2009-08-09 21:08:55 +02:00
rude 8e681b4204 It's now possible to build each module individually (as a DLL). 2009-08-04 19:57:14 +02:00
rude 0c241a14fb Added resources, and changed slightly how wrappers expose functions. 2009-07-30 00:37:43 +02:00
rude dcb3dfd83d Initial Mercurial commit. 2009-07-26 15:46:49 +02:00