Commit Graph

609 Commits

Author SHA1 Message Date
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
Christopher Cooper f542f75202 fix bounds check 2017-07-05 18:15:53 -04:00
Christopher Cooper 6dd3a9a643 mremove prints 2017-07-05 18:11:26 -04:00
Christopher Cooper 538d42f9a6 add initial speaker implementation 2017-07-05 18:10:03 -04:00
Christopher Cooper e7a7b16be2 Merge pull request #1 from faiface/audio
Audio
2017-07-05 18:05:50 -04:00
Michal Štrba c91a8fd6e9 Merge pull request #43 from aerth/audio
add libasound2-dev travis dependency
2017-07-05 22:04:44 +02:00
aerth 777c7f1717 add libasound2-dev dependency 2017-07-05 12:24:26 -07:00
faiface d41492df91 add Rect.Intersect 2017-07-05 19:51:54 +02:00
faiface 72a4dd03e7 add Rect.Area 2017-07-05 19:35:11 +02:00
faiface 5723022b5a add Take decorator function 2017-07-05 18:14:18 +02:00
faiface f3e2b915bd add Seq compositor 2017-07-05 17:59:43 +02:00
faiface c142c3eb0a add StreamerFunc helper type 2017-07-03 19:07:30 +02:00
faiface a1542703d5 change SampleRate to float64 2017-07-03 18:55:27 +02:00
faiface 019c0f83e1 fix grammar in Streamer doc 2017-07-03 17:37:55 +02:00
faiface ada24fe35c minor stylistic corrections in Streamer doc 2017-07-03 17:28:54 +02:00
faiface c3ce0517f1 audio: add Streamer interface 2017-07-03 14:05:08 +02:00
faiface be247e49f5 optimize ToRGBA (weird one) 2017-07-03 00:23:07 +02:00
faiface dd1ddd15b3 improve sprite.Draw(batch) benchmark 2017-07-03 00:22:45 +02:00
faiface 96f9ed3622 fix bug in text benchmark 2017-07-02 23:26:26 +02:00
faiface e41c8b585b optimize Drawer (reduce map access) 2017-07-02 23:23:27 +02:00
faiface 2c9c36ba28 add text benchmarks 2017-07-02 19:35:56 +02:00
faiface 03f6b2d854 remove unnecessary reassign in color benchmarks 2017-07-02 19:26:43 +02:00
faiface 95f90d3b0d add imdraw benchmarks 2017-07-02 19:22:40 +02:00
faiface 7f4bc89dc4 add ToRGBA, sprite.Draw(batch) and Matrix benchmarks 2017-07-02 19:04:20 +02:00
Michal Štrba 578db5e284 Merge pull request #40 from aerth/master
Use travis-ci
2017-06-16 01:14:23 +02:00
aerth ad2b94bfbc move button 2017-06-15 23:05:00 +00:00
aerth 983146ea91 Link to travis build 2017-06-15 22:52:47 +00:00