Commit graph

254 commits

Author SHA1 Message Date
tomaka
2487b6f131 Merge pull request #49 from tomaka/speed
Add .speed() to Source
2015-10-17 17:29:46 +02:00
Pierre Krieger
73e1c56746 Add .speed() to Source 2015-10-17 13:46:54 +02:00
Pierre Krieger
62bbe89f58 Publish 0.2.1 2015-10-17 10:02:54 +02:00
tomaka
efed5d62e5 Merge pull request #47 from tomaka/fadein
Add face_in() to Source
2015-10-17 10:01:46 +02:00
Pierre Krieger
e5f14bed1a Add face_in() to Source 2015-10-17 09:58:36 +02:00
tomaka
79bb247ca0 Merge pull request #46 from tomaka/amplify
Add amplify() to Source
2015-10-17 08:51:27 +02:00
Pierre Krieger
d26d413cb8 Add amplify() to Source 2015-10-17 08:42:04 +02:00
tomaka
35dbf3bfaa Merge pull request #45 from tomaka/tomaka-patch-1
Fix norun -> no_run
2015-10-16 22:47:03 +02:00
tomaka
e778c8b6b4 Fix norun -> no_run 2015-10-16 19:38:52 +02:00
tomaka
aec77b666b Merge pull request #44 from tomaka/delay
Add Source::delay
2015-10-16 19:23:25 +02:00
Pierre Krieger
2a8a57b25a Add Source::delay 2015-10-16 19:10:11 +02:00
tomaka
bb0b8cdf8b Merge pull request #43 from tomaka/fix-nightly-warnings
Fix the warnings in nightly
2015-10-16 17:37:27 +02:00
Pierre Krieger
4b4f900ba9 Fix the warnings in nightly 2015-10-16 17:33:58 +02:00
tomaka
fc9be67753 Merge pull request #42 from tomaka/source-sink
[Breaking change] Source sink
2015-10-16 17:27:23 +02:00
Pierre Krieger
393b66a906 Bump to 0.2 2015-10-16 17:10:06 +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
ddc5bec344 Update the examples to use the new API 2015-10-16 16:37:48 +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
21900968b5 Fix the beep example 2015-10-16 15:40:30 +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
tomaka
22ea123af2 Remove warning about Rust version from README 2015-09-28 10:57:00 +02:00
tomaka
9eae0edb99 Merge pull request #35 from tomaka/min-rate
Use at least a quality of 44100
2015-09-27 19:24:35 +02:00
Pierre Krieger
4173ba5a08 Use at least a quality of 44100 2015-09-27 19:21:10 +02:00
Pierre Krieger
8d46180986 Publish 0.1.8 2015-09-27 14:55:44 +02:00
tomaka
04c356aeba Merge pull request #34 from tomaka/better-timing
Improve timing system again
2015-09-27 14:54:54 +02:00
Pierre Krieger
c20ff8aa99 Improve timing system again 2015-09-27 14:49:53 +02:00
tomaka
7dd34496b7 Merge pull request #33 from tomaka/better-format-choice
Restrict the format to 2 channels
2015-09-27 14:39:00 +02:00
Pierre Krieger
53143b5f02 Restrict the format to 2 channels 2015-09-27 14:31:23 +02:00
tomaka
d920872bb1 Merge pull request #31 from tomaka/engine-rework
Engine rework
2015-09-27 13:51:50 +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
Pierre Krieger
ac3b7c964a Initialize each new voice with one period of 0s 2015-09-27 13:31:51 +02:00