Commit Graph

721 Commits

Author SHA1 Message Date
faiface e48de5789c audio: make Take propagate errors 2017-07-12 02:58:17 +02:00
faiface af52257c66 audio: wav: update streamer to satisfy StreamSeekCloser 2017-07-12 00:32:37 +02:00
faiface 31eeca4179 add StreamSeeker, StreamCloser and StreamSeekCloser interfaces 2017-07-12 00:05:42 +02:00
faiface 5b75852399 audio: add Err method to Streamer 2017-07-11 23:42:57 +02:00
faiface 0d5ad8a0bf audio: wav: fix seeking to include the header 2017-07-11 20:12:04 +02:00
faiface bf50427297 audio: rename Ctrl.Duration -> Ctrl.Position 2017-07-11 20:01:15 +02:00
faiface f3647fc451 audio: wav: add Seek and Position 2017-07-11 20:00:29 +02:00
faiface 73a3f65adb audio: wav: rename decoder.go -> streamer.go 2017-07-11 18:31:33 +02:00
faiface 099522c410 minor change 2017-07-11 17:36:00 +02:00
faiface 3ca575a4e4 audio: add initial wav streamer implementation 2017-07-11 17:34:17 +02:00
faiface dc4b4ec61f audio: speaker: fix byte encoding 2017-07-11 16:42:16 +02:00
faiface eca7b33334 audio: speaker: remove unnecessary channel confirmation 2017-07-09 16:34:49 +02:00
faiface 5ca0239191 audio: speaker: allow to call Init more than once 2017-07-08 22:01:59 +02:00
faiface af9bcae596 audio: add Mixer doc 2017-07-08 14:54:01 +02:00
faiface 62fcf430d2 audio: optimize Mixer.Stream and Mix(...).Stream (remove unnecessary mix buffer) 2017-07-08 14:43:24 +02:00
faiface b3cceb1b7d audio: add Mixer.Len 2017-07-08 14:28:34 +02:00
faiface 006e4f5481 audio: speaker: use Mixer to play sounds simultaneously 2017-07-07 18:46:40 +02:00
faiface 33c6f0ca5d audio: add Mixer 2017-07-07 18:46:26 +02:00
faiface c5078ff6b0 audio: add Ctrl decorator 2017-07-07 18:46:20 +02:00
faiface 9398991a01 audio: add Mix compositor 2017-07-07 16:11:48 +02:00
faiface 1a58fea88b minor change 2017-07-07 14:08:25 +02:00
faiface 6c527c3b89 speaker: remove Update, add Lock and Unlock 2017-07-07 13:20:55 +02:00
Michal Štrba 0777dc3bc1 Merge pull request #45 from aerth/audio-dep
fix audio dependency
2017-07-07 00:16:32 +02:00
aerth e2823f2580
fix audio dependency 2017-07-06 15:08:41 -07:00
faiface f47736b7cb fix edge sample value (-1 and +1) overflow 2017-07-06 23:36:18 +02:00
faiface 5d3f082240 actually fix the race condition 2017-07-06 22:34:22 +02:00
faiface d0f6e646ac minor change 2017-07-06 22:26:47 +02:00
faiface fdb6359fbb speaker: fix race condition 2017-07-06 22:26:20 +02:00
faiface 0737b86059 speaker: improve concurrency, only lock when and what necessary 2017-07-06 22:11:03 +02:00
faiface cb4bb4c3ef reimplement speaker 2017-07-06 21:44:34 +02:00
faiface 41963b01cc Merge branch 'audio' of https://github.com/faiface/pixel into audio 2017-07-06 20:52:12 +02:00
Michal Štrba 065f4f3c90 Merge pull request #44 from alistanis/audio
initial incomplete speaker implementation
2017-07-06 20:52:02 +02:00
Christopher Cooper 8e571bfe8e addresses some review comments 2017-07-06 11:49:35 -04:00
Christopher Cooper 32ff29438d fix bounds check 2017-07-05 18:15:53 -04:00
Christopher Cooper 1a88ab2edd mremove prints 2017-07-05 18:11:26 -04:00
Christopher Cooper f9972888a2 add initial speaker implementation 2017-07-05 18:10:03 -04:00
Christopher Cooper 6ac68670bd Merge pull request #1 from faiface/audio
Audio
2017-07-05 18:05:50 -04:00
Michal Štrba 57b578bba7 Merge pull request #43 from aerth/audio
add libasound2-dev travis dependency
2017-07-05 22:04:44 +02:00
aerth cdce974e49
add libasound2-dev dependency 2017-07-05 12:24:26 -07:00
faiface d7487f1f7a fix Rect.Intersect 2017-07-05 20:36:25 +02:00
faiface 4137f87f22 clarify Rect.Intersect doc 2017-07-05 19:58:09 +02:00
faiface bee65f5833 add Rect.Intersect 2017-07-05 19:54:30 +02:00
faiface 46e79f21b9 add Rect.Area 2017-07-05 19:54:18 +02:00
faiface 2a8c17c33c add Rect.Intersect 2017-07-05 19:51:54 +02:00
faiface c49c77a116 add Rect.Area 2017-07-05 19:35:11 +02:00
faiface d640879775 add Take decorator function 2017-07-05 18:14:18 +02:00
faiface c86834b8f6 add Seq compositor 2017-07-05 17:59:43 +02:00
faiface 330e9da360 add StreamerFunc helper type 2017-07-03 19:07:30 +02:00
faiface 7f2b8b6fe9 change SampleRate to float64 2017-07-03 18:55:27 +02:00
faiface 42737212d8 fix grammar in Streamer doc 2017-07-03 17:37:55 +02:00