Alex Szpakowski
fc4847c69d
Update copyright for the new year
2020-01-03 22:40:36 -04:00
Alex Szpakowski
0752f27bdf
Update copyright year for 2019
2019-01-03 21:09:05 -04:00
Bart van Strien
e80247c191
Happy new year! ✨
2018-01-03 19:47:35 +01:00
Bart van Strien
ac12424bab
Add optional channel parameter to SoundData:getSample/setSample ( resolves #1346 )
...
If omitted they work as before, if specified it handles the interleaving internally.
--HG--
branch : minor
2017-10-04 13:56:14 +02:00
Alex Szpakowski
bf6983beac
Rename Source/SoundData/Decoder:getChannels to getChannelCount (resolves issue #1307 ). Deprecate the old methods rather than completely removing them.
...
--HG--
branch : minor
2017-08-27 14:40:46 -03:00
Raidho
8572a33880
Prettifyed the code exploiting inheritance rules
...
added missing comma, added missing `override`
--HG--
branch : minor
2017-02-10 18:36:47 +03:00
Raidho
6ea1ebde9c
Data:clone ported to minor
...
minor tweaks
--HG--
branch : minor
2017-02-10 06:19:53 +03:00
Alex Szpakowski
abb72cb813
Happy new year! 🥂
...
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Bart van Strien
d967a755e5
Make love::Type handle type names
...
TODO: Fix undefined behaviour in luax_register_type, you can't use a va_list after a reference type
--HG--
branch : dynamiccore2
2016-11-14 21:06:53 +01:00
Bart van Strien
c761202486
Build type information on first use (load-time), instead of using a hardcoded list
...
--HG--
branch : dynamiccore2
2016-11-13 16:38:57 +01:00
Alex Szpakowski
46a2e7b85c
Happy new year! 🎉
2016-01-01 00:05:06 -04:00
Alex Szpakowski
57fa9994af
Verify that the bit depth argument in love.sound.newSoundData is valid / supported.
2015-06-14 18:10:40 -03:00
Alex Szpakowski
ebc68023a7
Fix many warnings about implicit integer conversions when compiling for 64 bits.
...
--HG--
branch : minor
2015-02-20 01:20:08 -04:00
Alex Szpakowski
c7b45b3505
Updated copyright for the new year
2014-12-31 19:32:43 -04:00
Alex Szpakowski
50916825d0
Data::getSize now uses size_t instead of int
2014-03-18 03:50:00 -03:00
Alex Szpakowski
9e6a3b8d5e
Fixed 8-bit SoundData samples when used in a love.audio Source
2014-03-17 15:06:04 -03:00
Alex Szpakowski
89e9288a85
Make sure SoundData objects aren't initialized with garbage sample values
2014-03-13 05:34:16 -03:00
Alex Szpakowski
ec0f428c4f
Cleaned up the code for initializing love.filesystem and the source and save directories a bit
2014-03-01 20:23:04 -04:00
Alex Szpakowski
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -04:00
Alex Szpakowski
bf070afffa
Fixed a SoundData constructor to compile in Visual C++ 2010
2013-10-08 18:17:31 -03:00
Alex Szpakowski
f87f97e4fe
Better parameter checking for SoundData (resolves issue #764 )
2013-10-06 21:52:05 -03:00
Alex Szpakowski
66a773d2a7
Renamed Decoder:getBits to Decoder:getBitDepth (see issue #636 )
2013-08-11 04:15:42 -03:00
Bart van Strien
882313551c
Rename SoundData:getBits to getBitDepth ( resolve #636 )
2013-07-11 14:40:52 +02:00
Bart van Strien
aaa301ead2
Error if getting/setting out-of-range samples (issue #674 )
2013-07-09 15:00:51 +02:00
darthfodder
2bdc4b04a8
Fix formatting to be like original default
...
--HG--
branch : sounddata-samplecount
2013-04-07 18:25:59 -07:00
darthfodder
f55a282f34
Fix conflicts with default
...
--HG--
branch : sounddata-samplecount
2013-04-07 18:22:56 -07:00
Alex Szpakowski
fa799227a2
Fixed SoundData:getDuration
2013-03-26 19:45:32 -03:00
darthfodder
11dc74c7db
Add SoundData:getSampleCount() function
...
Adds SoundData:getSampleCount(), calculates how many samples there are
in this particular SoundData. resolves #578
--HG--
branch : sounddata-samplecount
2013-03-25 22:04:39 -07:00
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
7793e7f02f
CRLF to LF
2012-07-04 14:40:24 +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
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
Bill Meltsner
be55579a22
Happy New Year, have an enormous diff
2012-01-09 02:41:11 -06:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01: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
Bart van Strien
07393c46f2
Allocate as many samples as requested (issue #240 )
2011-07-11 17:18:55 +02: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
585e3ec3ee
Added sound input and recording functionality.
2010-04-11 12:22:40 -04:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
rude
0e671c34d5
Fixed volume issue with WAV, and issue with truncated OGGs.
2009-10-26 22:13:02 +01:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00