Miku AuahDark
5f386cfa87
Implement audio probing to reduce audio false positive.
2022-05-01 17:01:50 +08:00
Alex Szpakowski
c09fef8e79
Audio source decoding improvements.
...
- Streaming sources now also stream the file contents instead of loading it into memory, by default. Added a new stream type enum parameter to newSource ("file" or "memory").
- Audio file decoding now chooses the most appropriate decoder based on the file contents instead of the file extension.
- Videos now stream audio from the file instead of loading all of the video file into memory for use with audio decoding.
2022-04-21 19:57:32 -03:00
Alex Szpakowski
71a7aed441
minor cleanup of some audio decoder code.
2022-04-18 20:12:08 -03:00
Alex Szpakowski
8e7fd10b6f
Update copyright year for 2022
2021-12-31 18:33:40 -04:00
Alex Szpakowski
f89aabb0bb
Update copyright year for 2021
2021-04-04 16:14:45 -03:00
Miku AuahDark
5a27742c34
FLAC: Update dr_flac to 0.12.3
...
Improved seeking for FLAC audio files.
2020-01-29 13:22:13 +08:00
Alex Szpakowski
fc4847c69d
Update copyright for the new year
2020-01-03 22:40:36 -04:00
Alex Szpakowski
e66ecd03a8
Minor code cleanup of FLAC decoder.
2019-06-25 20:19:27 -03:00
Miku AuahDark
65b01fc52f
Re-enable FLAC codepath using dr_flac instead of libFLAC.
...
--HG--
branch : flac-audio
2019-06-17 16:09:46 +08:00
Alex Szpakowski
38cb56f168
Use doubles instead of floats for the time argument in Source:seek. This probably won't affect anything meaningfully, but in theory it's more precise.
2019-05-26 14:46:52 -03:00
Bart van Strien
bf5e3820bd
Remove unused stored extension in Decoder
...
As preparation for issue #1487
2019-05-04 10:44:41 +02: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
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
Alex Szpakowski
01fe2c5df2
Fix FLAC decoder code to compile if someone uncomments it. Resolves issue #1322 .
...
--HG--
branch : minor
2017-08-10 20:29:02 -03:00
Alex Szpakowski
abb72cb813
Happy new year! 🥂
...
--HG--
branch : minor
2017-01-02 01:28:29 -04:00
Alex Szpakowski
46a2e7b85c
Happy new year! 🎉
2016-01-01 00:05:06 -04:00
Alex Szpakowski
0558fcdbd4
Added Source:getDuration (thanks Boolsheet!)
...
For streaming sources, the duration may not always be sample-accurate and may return -1 if it cannot be determined at all.
2015-11-07 01:49:37 -04:00
Alex Szpakowski
c7b45b3505
Updated copyright for the new year
2014-12-31 19:32:43 -04:00
Alex Szpakowski
d59c76a55f
Reduced the number of explicit retain/release method calls on love objects. Less chance of bugs!
2014-08-07 14:53:17 -03:00
Alex Szpakowski
55514720a6
Fixed some minor compiler warnings
2014-03-01 21:16:01 -04:00
Alex Szpakowski
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -04:00
Alex Szpakowski
66a773d2a7
Renamed Decoder:getBits to Decoder:getBitDepth (see issue #636 )
2013-08-11 04:15:42 -03:00
Alex Szpakowski
96161c66f6
Updated copyright text for the new year
2013-02-05 05:32:49 -04: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
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
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -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@bartbes.ath.cx
f74b79e39a
Warning fix as in bug #188
2010-04-03 12:27:35 +02:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +01:00
rude
92c678ce02
Fixed file not closing after require(). Changed seek() to use seconds.
2009-08-24 19:57:08 +02:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00