Commit graph

119 commits

Author SHA1 Message Date
tomaka
7f8d237a80 Merge pull request #77 from est31/master
Use lewton
2016-10-04 16:16:51 +02:00
est31
043b2074b8 Use lewton
Fixes #74.
2016-10-04 16:10:02 +02:00
tomaka
669f5ca75c Fix typo in Source's doc 2016-10-04 08:45:20 +02:00
Pierre Krieger
498241237c Update to cpal 0.4 2016-10-01 10:44:00 +02:00
Pierre Krieger
591d3ddf46 Remove dependency on time 2016-09-06 09:32:17 +02:00
Pierre Krieger
2d2b5b54a2 Minor changes to the engine 2016-09-06 09:32:17 +02:00
Pierre Krieger
7347f18289 Switch to futures 2016-09-06 09:32:17 +02:00
Vadim Petrochenkov
29ab9a158c Fix a private-in-public error
Fix deprecation warning for `thread::park_timeout_ms`
2016-09-04 16:39:19 +03:00
tomaka
9c029bf3c3 Fix travis build 2016-05-19 18:28:36 +02:00
Pierre Krieger
a4a8497707 Fix mixing taking the average of the sounds 2015-10-23 17:20:41 +02:00
Pierre Krieger
b27f0a87cc Rewrite Repeat to use Buffered 2015-10-23 16:29:14 +02:00
Pierre Krieger
5d58d9188f Add some docs at various places 2015-10-22 20:30:07 +02:00
Pierre Krieger
069faf762d Add a DecoderError and publish 0.3 2015-10-22 16:45:33 +02:00
Pierre Krieger
aa531d8e8d Add Source::reverb 2015-10-22 16:37:01 +02:00
Pierre Krieger
8912ff3b57 Add Source::mix() 2015-10-22 16:22:14 +02:00
tomaka
01d9e582f2 Merge pull request #54 from tomaka/clone-debug
Derive Clone and Debug on most iterators
2015-10-22 15:46:49 +02:00
Pierre Krieger
0603bad9a4 Derive Clone and Debug on most iterators 2015-10-22 15:43:40 +02:00
Pierre Krieger
af89f60998 Add Source::buffered() 2015-10-22 15:39:40 +02:00
Pierre Krieger
73e1c56746 Add .speed() to Source 2015-10-17 13:46:54 +02:00
Pierre Krieger
e5f14bed1a Add face_in() to Source 2015-10-17 09:58:36 +02:00
Pierre Krieger
d26d413cb8 Add amplify() to Source 2015-10-17 08:42:04 +02:00
tomaka
e778c8b6b4 Fix norun -> no_run 2015-10-16 19:38:52 +02:00
Pierre Krieger
2a8a57b25a Add Source::delay 2015-10-16 19:10:11 +02:00
Pierre Krieger
4b4f900ba9 Fix the warnings in nightly 2015-10-16 17:33:58 +02:00
Pierre Krieger
e2f834da9b Add source::SineWave 2015-10-16 17:09:04 +02:00
Pierre Krieger
10a8c62169 Add documentation 2015-10-16 16:48:40 +02:00
Pierre Krieger
d589b82215 Add take_duration() to Source 2015-10-16 16:40:08 +02:00
Pierre Krieger
c67362a999 Dispatch source.rs between various submodules 2015-10-16 16:13:24 +02:00
Pierre Krieger
1f3eefd863 Add repeat_infinite to Source 2015-10-16 16:08:52 +02:00
Pierre Krieger
188032f843 Remove the play function 2015-10-16 15:39:00 +02:00
Pierre Krieger
a23aeaa4ff Dropping the Sink now stops all sounds 2015-10-16 15:38:10 +02:00
Pierre Krieger
d786f79e02 Change get_remaining_duration_ms to get_min_remaining_duration 2015-10-16 15:30:04 +02:00
Pierre Krieger
e2fc982652 Duration more or less works again 2015-10-16 15:28:13 +02:00
Pierre Krieger
efc00ff834 Rename Handle to Sink and add methods 2015-10-16 15:14:56 +02:00
Pierre Krieger
dad2088c39 Allow adding other sounds behind existing sounds 2015-10-16 15:11:54 +02:00
Pierre Krieger
0d96bd3883 Remove mentions of ExactSizeIterator 2015-10-16 14:25:03 +02:00
Pierre Krieger
9ff58ca760 Revert previous commit 2015-10-16 14:23:34 +02:00
Pierre Krieger
85ee95d269 Ensure that get_current_frame_len never returns 0 2015-10-16 14:22:53 +02:00
Pierre Krieger
ce0165a0de Restore the vorbis decoder 2015-10-16 14:21:37 +02:00
Pierre Krieger
9d80295d5d Better duration handling 2015-10-16 14:02:44 +02:00
Pierre Krieger
d3052bc986 Add play() and make the decoder public 2015-10-16 13:43:23 +02:00
Pierre Krieger
5ab65b7a31 Hide the implementation of the decoder 2015-10-16 13:42:57 +02:00
Pierre Krieger
2e09c3494d Remove the Decoder trait and switch to the Source trait 2015-10-16 13:35:30 +02:00
Pierre Krieger
102ec8fd2c Add the Source trait and UniformSourceIterator 2015-10-16 13:11:37 +02:00
Pierre Krieger
4173ba5a08 Use at least a quality of 44100 2015-09-27 19:21:10 +02:00
Pierre Krieger
c20ff8aa99 Improve timing system again 2015-09-27 14:49:53 +02:00
Pierre Krieger
53143b5f02 Restrict the format to 2 channels 2015-09-27 14:31:23 +02:00
Pierre Krieger
6932fb553d Add a small TODO 2015-09-27 13:49:12 +02:00
Pierre Krieger
5846d64240 Round up number of samples to next period 2015-09-27 13:47:07 +02:00
Pierre Krieger
5d639fa3c1 Filter formats with more than 7 channels 2015-09-27 13:33:03 +02:00