Commit graph

130 commits

Author SHA1 Message Date
Jacob Hughes
95317f9b88 Add LoopedDecoder
LoopedDecoder works like the normal Decoder, but when the decoder
reaches the end of file it will restart playback from the beginning.
This has the advantage over Decoder::new().repeat_infinite() that it
will not buffer the entire uncompressed audio file into memory.

Update minimp3 to version 0.5 to use the `into_iter()` method
2020-08-27 15:07:40 -04:00
Alex Butler
286d63d6b3
Use cpal 0.12 2020-07-10 20:08:12 +01:00
Alex Butler
c93adb2582
Migrate to edition 2018
* Remove unstable/legacy rustfmt config
* Run rustfmt
2020-05-02 13:33:57 +01:00
Alex Butler
0517ee7216
Add RodioDevice wrapper for cpal::Device
* Remove static/global facilities.
2020-05-02 13:33:56 +01:00
Alex Butler
00c627241c
Rework to use no-event-loop cpal 2020-05-02 13:33:52 +01:00
est31
7bf8ba5cb6 Release v0.11.0 2020-03-16 22:39:44 +01:00
est31
1b3b716e9f Update cpal to 0.11.0 2020-01-30 20:56:26 +01:00
Alex Butler
29344401ee Update lewton to 0.10 2020-01-30 20:43:24 +01:00
est31
7f9eff3cc8 Release v0.10.0 2019-11-16 23:27:22 +01:00
est31
b36ce81447 Update some links to the new location 2019-11-16 08:02:42 +01:00
est31
80948cf5c4
Merge pull request #243 from est31/remove_nalgebra
Remove nalgebra in favour of a handmade function
2019-08-09 22:06:57 +02:00
est31
a15ca2b43e Remove nalgebra in favour of a handmade function 2019-08-09 20:46:41 +02:00
Alex Butler
0151398043
Update cpal -> 0.10
* Provide device prevous method using `cpal::default_host()`
* Naively handle new cpal errors
2019-07-18 13:06:14 +01:00
Pierre Krieger
65bffdbaa3
Publish v0.9.0 2019-06-08 15:08:16 +02:00
Azriel Hoh
3ee73c5ad6 Swap cgmath to nalgebra crate.
This helps converge the rust ecosystem onto `nalgebra`.
2019-05-21 14:22:43 +12:00
Azriel Hoh
94230abdab Bumped claxon to 0.4.2 to avoid uninitialized memory read. 2019-05-21 14:20:29 +12:00
german gomez
660f081c15
minimp3 version bump (fixes #212)
Signed-off-by: german gomez <germangb42@gmail.com>
2018-12-09 00:21:25 +01:00
german gomez
1e02d9022a
Bump minimp3 version
Signed-off-by: german gomez <germangb42@gmail.com>
2018-12-07 18:32:10 +01:00
est31
a82eba1abe Prepare the 0.8.1 release (#186) 2018-09-18 13:53:34 +02:00
est31
fcd0edbdcc Finish the relicensing process (#178)
Closes #64
2018-08-28 11:56:39 +02:00
est31
5f04ae5156 Update lewton to 0.9 (#174) 2018-08-16 19:39:49 +02:00
est31
2a9f1feb73 Update lewton to 0.8.0 2018-07-26 11:16:22 +02:00
Jacob Kiesel
d839e53078 Prepare 0.8 release 2018-06-22 08:50:19 -06:00
Aliaksandr_Navitski
ac5d8b79f4 Bumped minimp3 version 2018-06-22 11:48:03 +03:00
Erin Moon
73e19bad29 cargo: add feature dependency on minimp3 2018-05-26 18:42:22 -05:00
Francesco Zardi
c14650d6d5 Publish 0.7.0 2018-04-19 11:38:00 +02:00
Francesco Zardi
fb234e3ebb Bump cpal version to 0.8 2018-04-19 08:59:27 +02:00
Francesco Zardi
74ceb63c3c Update cpal dependency to 0.7
The update required adapting to the breaking changes introduced by the new version, as reported in the `cpal`'s
[changelog](a2fe9386af/CHANGELOG.md), namely:

- Rename `ChannelsCount` to `ChannelCount`.
- Rename `SamplesRate` to `SampleRate`.
- Rename the `min_samples_rate` field of `SupportedFormat` to `min_sample_rate`
- Rename the `with_max_samples_rate()` method of`SupportedFormat` to `with_max_sample_rate()`
- Rename the `samples_rate` field of `Format` to `sample_rate`
- Changed the type of the `channels` field of the `SupportedFormat` struct from `Vec<ChannelPosition>` to `ChannelCount` (an alias to `u16`)
2018-04-18 14:24:33 +02:00
Cormac O'Brien
0e2ce6716b Update hound dependency to 3.3.1
Fixes tomaka/rodio#157
2018-03-19 14:41:47 -05:00
tomaka
ec3e39bbf2 Publish 0.6.0 2018-02-08 22:47:20 +01:00
Pierre Krieger
85a7d1abfe
Public 0.5.3
Fix #153
2018-02-08 17:12:50 +01:00
Pierre Krieger
c6854dc325 Update dependencies 2017-12-24 10:48:40 +01:00
Andriy S. from cobalt
2f1b3f5309 merge upstream/master 2017-10-29 18:06:20 +02:00
Andriy S. from cobalt
3ef6b0564f make wav/flac/vorbis decoding features optional 2017-10-29 17:57:21 +02:00
Pierre Krieger
f7473cc9fe Fix tests 2017-10-21 09:52:59 +02:00
Pierre Krieger
8b2fab2673 Finish rework 2017-10-21 09:30:38 +02:00
Pierre Krieger
da515c65ec [WIP] Update for cpal's rework 2017-10-14 14:22:45 +02:00
Jacob Kiesel
5e68bba0fe Publish new version
It would be helpful to me to have use of the new `empty()` function for Amethyst.  Do you mind publishing a new minor version?
2017-08-21 13:48:24 -06:00
Pierre Krieger
80b4acef38 Publish 0.5.1 2017-07-11 16:53:18 +02:00
Jacob Kiesel
b4ecdfd075 Add spatial audio 2017-07-02 10:48:32 -06:00
tomaka
e0f5c43c4e Publish 0.5.0 2017-05-01 14:52:22 +02:00
tomaka
39d7a48125 Publish 0.4.3 2017-04-15 13:51:07 +02:00
est31
89635a3f71 Update to lewton 0.5 2017-02-27 19:26:16 +01:00
tomaka
b1a560eb41 Merge pull request #100 from tomaka/flac
Implement decoding Flac
2017-02-10 09:49:23 +01:00
Pierre Krieger
c9338891d5 More documentation rework 2017-02-09 14:02:38 +01:00
Pierre Krieger
99419b64ec Implement decoding Flac 2017-02-09 11:54:25 +01:00
tomaka
48b1f0e89f Publish 0.4.2 2016-11-14 22:24:34 +01:00
est31
043b2074b8 Use lewton
Fixes #74.
2016-10-04 16:10:02 +02:00
Pierre Krieger
498241237c Update to cpal 0.4 2016-10-01 10:44:00 +02:00
Pierre Krieger
6748cfa1d9 Bump to 0.4.0 2016-09-06 09:32:31 +02:00
Pierre Krieger
591d3ddf46 Remove dependency on time 2016-09-06 09:32:17 +02:00
Pierre Krieger
8b40fdc05e Update the Cargo.toml 2016-09-06 09:32:17 +02:00
Pierre Krieger
7347f18289 Switch to futures 2016-09-06 09:32:17 +02:00
tomaka
37b647cc4f Publish 0.3.3 2016-09-04 19:09:04 +02:00
tomaka
5586268026 Bump version of libvorbis 2016-06-17 14:13:44 +02:00
psych0d0g
9d3cadd7b5 bump cpal dependency version
include latest cpal lib
2016-01-15 17:41:00 +01:00
Pierre Krieger
c264d1b526 Publish 0.3.1 2015-10-23 17:26:22 +02:00
Pierre Krieger
069faf762d Add a DecoderError and publish 0.3 2015-10-22 16:45:33 +02:00
Pierre Krieger
642d025e02 Publish 0.2.2 2015-10-22 16:41:16 +02:00
Pierre Krieger
62bbe89f58 Publish 0.2.1 2015-10-17 10:02:54 +02:00
Pierre Krieger
393b66a906 Bump to 0.2 2015-10-16 17:10:06 +02:00
Pierre Krieger
8d46180986 Publish 0.1.8 2015-09-27 14:55:44 +02:00
Pierre Krieger
8503bc2f8a Fix period not being taken into account 2015-09-27 13:12:09 +02:00
Pierre Krieger
ab59b0fc8b Publish 0.1.7 2015-09-27 10:28:45 +02:00
Pierre Krieger
b1a1d5babd Fix amplify for u16s 2015-09-24 17:35:51 +02:00
Pierre Krieger
06c864e7f2 Publish 0.1.5 2015-09-24 13:57:25 +02:00
Pierre Krieger
86eab17039 Fix the vorbis decoder 2015-09-23 17:11:44 +02:00
Pierre Krieger
2971f524bd Publish 0.1.3 2015-09-23 14:07:53 +02:00
tomaka
338f8bb7c8 Publish 0.1.2 2015-09-22 22:23:05 +02:00
Pierre Krieger
5848128386 Fix wav waiting time and improve background thread sleeping functionnality 2015-09-22 17:58:03 +02:00
Pierre Krieger
0d38c2a6f1 Publish v0.1.1 2015-09-22 11:59:07 +02:00
Pierre Krieger
b0652147c2 Use hound from crates.io 2015-09-11 11:57:02 +02:00
Pierre Krieger
056a56950e Add proper sleeps in the engine 2015-09-11 10:04:13 +02:00
Pierre Krieger
aa74d06bb7 Reenable vorbis 2015-09-10 17:52:02 +02:00
Pierre Krieger
89abf72790 Update to cpal 0.2 2015-09-10 16:17:37 +02:00
Pierre Krieger
5a438bcdec Add support for vorbis decoding 2015-07-22 14:23:03 +02:00
Pierre Krieger
49b03e081a Add links to documentation 2015-07-22 13:57:51 +02:00
Pierre Krieger
9bec7fbc40 Add and modify some documentation 2015-07-22 13:50:34 +02:00
Pierre Krieger
9dcd7c552c Add some administrative stuff 2015-07-22 13:43:27 +02:00
Pierre Krieger
824b4f0041 Initial commit 2015-07-22 12:14:11 +02:00