Commit graph

30 commits

Author SHA1 Message Date
Petr Gladkikh
4101ae9087 Remove unwrap and expect from example code 2024-11-20 00:58:05 +04:00
Petr Gladkikh
179d41a53e Reformat code 2024-11-14 03:08:50 +04:00
Petr Gladkikh
83c002500f Update doc examples 2024-11-10 20:23:18 +04:00
Petr Gladkikh
352c39987e Add example comments 2024-11-10 15:06:33 +04:00
Petr Gladkikh
cabdda74a2 Update tests and examples 2024-11-10 02:34:49 +04:00
Petr Gladkikh
5cfe61f929 Update a basic example 2024-11-10 00:10:36 +04:00
Petr Gladkikh
dd1edbb11d WIP, simplify output stream initialization 2024-09-24 01:01:10 +04:00
Alejandro Perea
69a7f416a7
Move sound to assets/; Exclude it from package (#421)
* Move sound to `assets/`; Exclude it from package

* Exclude tests from package
2022-03-26 20:15:18 +01:00
Alex Butler
d7c77aa52e
Add OutputStreamHandle 2020-05-02 13:33:57 +01:00
Alex Butler
560b232b9d
Make basic/beep example less ear-deadly 2020-05-02 13:33:57 +01:00
Alex Butler
b5071c947d
Remove device mixer map, rename stream wrapper to OutputStream 2020-05-02 13:33:57 +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
4bb832ba30 Remove exclusive borrow requirement in Sink, SpatialSink (#203)
The inner Mutex does not require this.
2018-11-16 11:18:07 +01:00
Francesco Zardi
95703113ba Rename 'endpoint' to 'device' 2018-04-19 08:59:27 +02:00
Francesco Zardi
cde47ab970 Rename default_endpoint() to, default_output_device(), reexport default_input_device() 2018-04-19 08:59:27 +02:00
Cam Jackson
8eaba65b5d Replace usages of deprecated functions in cpal 2017-10-11 21:31:15 +08:00
Pierre Krieger
44a8a2b923 Rustfmt 2017-05-04 13:51:33 +02:00
Pierre Krieger
a29ad630f2 Expand basic example with printlns 2017-02-07 12:33:18 +01:00
Pierre Krieger
1eae866da4 Fix most warnings 2016-10-04 16:36:11 +02:00
Pierre Krieger
069faf762d Add a DecoderError and publish 0.3 2015-10-22 16:45:33 +02:00
Pierre Krieger
21900968b5 Fix the beep example 2015-10-16 15:40:30 +02:00
Pierre Krieger
c20ff8aa99 Improve timing system again 2015-09-27 14:49:53 +02:00
Pierre Krieger
338114d93e Add set_volume to Handle 2015-09-11 13:49:07 +02:00
Pierre Krieger
aa74d06bb7 Reenable vorbis 2015-09-10 17:52:02 +02:00
Pierre Krieger
1b5bbdbb50 Use a BufReader in the examples 2015-09-10 16:38:16 +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
de741115fd Add Handle type 2015-07-22 13:27:53 +02:00
Pierre Krieger
824b4f0041 Initial commit 2015-07-22 12:14:11 +02:00