Alex Szpakowski
2a1e1d01d3
Merged default into minor
...
--HG--
branch : minor
2014-08-25 18:02:44 -03:00
Alex Szpakowski
d5e5f38e2f
Fixed Source:tell crashing if the Source is static.
2014-08-25 03:46:11 -03:00
Alex Szpakowski
53e63d48c9
Merged default into minor
...
--HG--
branch : minor
2014-08-07 18:10:19 -03: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
60cd1456ea
Merged default into minor
...
--HG--
branch : minor
2014-03-12 02:21:27 -03:00
Alex Szpakowski
33f12a6091
Source:play now returns false if alSourcePlay failed
2014-01-29 17:04:03 -04:00
Alex Szpakowski
a49c2a88c1
Increased robustness of audio module initialization (see issue #646.) Also changed Source:play to return a boolean indicating success.
2014-01-29 05:24:47 -04:00
Alex Szpakowski
b1edf5e7bf
Added Source:getType, removed Source:isStatic (resolves issue #776 )
...
--HG--
branch : minor
2014-01-15 04:02:24 -04:00
Alex Szpakowski
3120a0e650
Goodbye 2013, hello 2014!
2014-01-03 17:28:58 -04:00
Alex Szpakowski
4d1846b745
Removed love.audio.newSource(source) (see issue #319 )
2013-12-25 02:19:59 -04:00
Alex Szpakowski
e6f2d4f1ac
Added Source:clone() and love.audio.newSource(source): creates a new (stopped) Source which has all of the settable state of the original.
...
Static sources don’t duplicate their OpenAL data buffer when cloned (resolves issue #319 ). Cloned streaming sources also clone the original Decoder.
2013-12-20 00:20:41 -04:00
Alex Szpakowski
eb4fdf3bbe
Use a separate preprocessor define for using Framework #includes in OS X (resolves issue #796 )
2013-12-13 02:37:06 -04:00
Alex Szpakowski
b57256b3e5
Renamed Source:setRelativePosition and Source:hasRelativePosition to Source:setRelative and Source:isRelative. Updated changelog.
2013-10-25 17:05:29 -03:00
Alex Szpakowski
cf6acfa258
Added Source:getChannels. Positional/directional audio only works with 1-channel (mono) sources.
2013-10-15 23:09:35 -04:00
Alex Szpakowski
13ea750454
Added Source:setCone(innerAngle, outerAngle, outerVolume). Resolves issue #643 .
...
When combined with Source:setDirection (and Source:setPosition or love.audio.setPosition), the cone parameters allow for directional sound output from a Source.
2013-10-11 05:30:11 -03:00
Alex Szpakowski
7f3cd7f044
Added Source:setRelativePosition and Source:hasRelativePosition, if enabled the Source's position will always be relative to the listener instead of absolute.
2013-10-11 02:25:48 -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
ad8e0da351
Fix source reset, specifically audio wasn't always updating the AL_LOOPING flag
2013-06-30 17:29:55 +02:00
Alex Szpakowski
e05e8e6e6a
Switched audio backends in OS X from Apple's OpenAL implementation to OpenAL Soft
2013-02-13 04:01:02 -04: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
Jonathan Giroux
36a93e46c7
Add control to the sound attenuation by distance.
2011-12-14 00:32:18 +01:00
Bart van Strien
0aae9684b3
Automated formatting fix
2011-11-16 11:32:41 +01:00
Bart van Strien
c28659ae33
Rework source updates, do clean stopping of streaming sources once they end. (bug #295 )
2011-09-10 17:28:38 +02:00
Bart van Strien
0b0d8fe3e5
Unbreak stop (issue #250 )
2011-08-08 15:54:43 +02:00
Bart van Strien
416370b595
Improve Source controls
2011-08-06 14:02:37 +02:00
Bart van Strien
e72f84e7fd
Don't reset song counter (for tell) when the decoder loops, but when the song does (bug #251 )
2011-07-23 17:49:48 +02:00
Bart van Strien
5192215122
Fix seek and tell on streaming sounds (bugs #250 and #251 )
2011-07-22 16:20:51 +02:00
Bart van Strien
404a3d529c
Make seek and tell thread-safe (bug #245 )
2011-07-02 16:43:56 +02:00
Bill Meltsner
2faf8aa442
Source:tell actually works now
...
--HG--
branch : minor
2011-03-20 00:54:34 -05:00
Bill Meltsner
8de9499979
added Source:seek/tell
...
--HG--
branch : minor
2011-03-19 20:21:40 -05:00
Bill Meltsner
fde708160e
bringing in the new year by changing every 2010 to 2011
2011-01-15 14:40:27 -06:00
Bart van Strien
9856fbc705
Add source:isPaused() (enhancement #141 )
2010-12-19 12:30:59 +01:00
bart@bartbes.ath.cx
a91be8936f
Added source:isStatic()
2010-03-28 17:52:22 +02:00
rude
e7a6323635
Made sure the state of the Source is applied to the AL source when it's played. Also increased the max number if sources allowed at the same time.
2010-02-02 21:22:57 +01:00
rude
aa01c984b9
Updated all dates to 2010.
2010-01-31 16:54:47 +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
rude
0d897b0b0f
Sound should now work again. Music looping does probably not work, however (at least now with mp3).
2009-10-24 23:48:06 +02:00
bill@Ixion
8a6f16a4f6
brought up-to-date with latest changes from main repo
2009-08-26 11:07:44 -05:00
rude
cc9a142a98
Added position audio.
2009-08-04 21:13:32 +02:00
rude
dcb3dfd83d
Initial Mercurial commit.
2009-07-26 15:46:49 +02:00