Commit Graph

639 Commits

Author SHA1 Message Date
faiface c57e3dca1b fix Vec.Normal to rotate by pi/2, not -pi/2 2017-08-29 20:22:25 +02:00
Michal Štrba 977f5710f5 Merge pull request #48 from PlainSight/fix-rectangle-resize
Fix Rectangle "Resized" function
2017-07-29 01:11:02 +02:00
Alex e3d056d36f add more test transforms, now includes: center, origin, min, max and middle of side 2017-07-29 11:05:46 +12:00
Alex 3e3a9aaa48 fix operation order for rectangle resize function, add tests 2017-07-29 00:40:06 +12:00
faiface 96df742331 remove audio package in favor of faiface/beep 2017-07-14 18:34:28 +02:00
faiface 4d94c04476 audio: wav: fix Stream for non 2 chans 2 bytes configurations 2017-07-14 02:41:01 +02:00
faiface 9a6fbad6ce audio: wav: more precise Position and Seek 2017-07-14 02:22:33 +02:00
faiface 7624d11cfc audio: wav: fix Stream (move position, forgot to do it previously) 2017-07-14 02:10:12 +02:00
faiface 35308e4ebf audio: wav: simplify Stream 2017-07-14 02:09:36 +02:00
faiface 52b52e4eca merge master 2017-07-13 01:24:50 +02:00
faiface d325ce3198 audio: add Gain effect 2017-07-13 00:29:53 +02:00
faiface 8ad3d94d7e audio: minor change 2017-07-13 00:21:16 +02:00
faiface 1db65503e3 update .travis.yml for ALSA 2017-07-12 22:54:36 +02:00
faiface 217fbdb30c audio: minor change 2017-07-12 22:44:15 +02:00
faiface 3a40ec4435 audio: add Ctrl doc comments 2017-07-12 22:43:55 +02:00
faiface 82afa289f4 audio: wav: add doc comments 2017-07-12 21:30:35 +02:00
faiface 502347d987 audio: wav: simplify code, more DRY, encapsulate decoder type, only export Decode function 2017-07-12 19:37:20 +02:00
faiface 55c94b6cc5 audio: make Take propagate errors 2017-07-12 02:58:17 +02:00
faiface 81dbcb5bd1 audio: wav: update streamer to satisfy StreamSeekCloser 2017-07-12 00:32:37 +02:00
faiface 78674d35b9 add StreamSeeker, StreamCloser and StreamSeekCloser interfaces 2017-07-12 00:05:42 +02:00
faiface d1953900cc audio: add Err method to Streamer 2017-07-11 23:42:57 +02:00
faiface 35a24edbda audio: wav: fix seeking to include the header 2017-07-11 20:12:04 +02:00
faiface ce53548e84 audio: rename Ctrl.Duration -> Ctrl.Position 2017-07-11 20:01:15 +02:00
faiface 72b34b78c4 audio: wav: add Seek and Position 2017-07-11 20:00:29 +02:00
faiface 81de53181c audio: wav: rename decoder.go -> streamer.go 2017-07-11 18:31:33 +02:00
faiface 3851f37503 minor change 2017-07-11 17:36:00 +02:00
faiface a748a0cdce audio: add initial wav streamer implementation 2017-07-11 17:34:17 +02:00
faiface eb429bea68 audio: speaker: fix byte encoding 2017-07-11 16:42:16 +02:00
faiface 7ecd50bd45 audio: speaker: remove unnecessary channel confirmation 2017-07-09 16:34:49 +02:00
faiface c6b821bd67 audio: speaker: allow to call Init more than once 2017-07-08 22:01:59 +02:00
faiface f97894ad37 audio: add Mixer doc 2017-07-08 14:54:01 +02:00
faiface 95b9f23076 audio: optimize Mixer.Stream and Mix(...).Stream (remove unnecessary mix buffer) 2017-07-08 14:43:24 +02:00
faiface 0d3d384378 audio: add Mixer.Len 2017-07-08 14:28:34 +02:00
faiface 555a1cb8e4 audio: speaker: use Mixer to play sounds simultaneously 2017-07-07 18:46:40 +02:00
faiface a2ba6d090d audio: add Mixer 2017-07-07 18:46:26 +02:00
faiface 4b70585f1a audio: add Ctrl decorator 2017-07-07 18:46:20 +02:00
faiface ee258c1d13 audio: add Mix compositor 2017-07-07 16:11:48 +02:00
faiface 8e06ab198e minor change 2017-07-07 14:08:25 +02:00
faiface 5c00d43168 speaker: remove Update, add Lock and Unlock 2017-07-07 13:20:55 +02:00
Michal Štrba 033fca94e0 Merge pull request #45 from aerth/audio-dep
fix audio dependency
2017-07-07 00:16:32 +02:00
aerth 0eb5bf4c06 fix audio dependency 2017-07-06 15:08:41 -07:00
faiface 238400db27 fix edge sample value (-1 and +1) overflow 2017-07-06 23:36:18 +02:00
faiface 7858a55088 actually fix the race condition 2017-07-06 22:34:22 +02:00
faiface 140b050545 minor change 2017-07-06 22:26:47 +02:00
faiface 6c2bffed37 speaker: fix race condition 2017-07-06 22:26:20 +02:00
faiface bb2ffdec2c speaker: improve concurrency, only lock when and what necessary 2017-07-06 22:11:03 +02:00
faiface 8d9485af7e reimplement speaker 2017-07-06 21:44:34 +02:00
faiface cc1e4c9381 Merge branch 'audio' of https://github.com/faiface/pixel into audio 2017-07-06 20:52:12 +02:00
Michal Štrba 7518c708d3 Merge pull request #44 from alistanis/audio
initial incomplete speaker implementation
2017-07-06 20:52:02 +02:00
Christopher Cooper 00cab859c1 addresses some review comments 2017-07-06 11:49:35 -04:00