Commit graph

931 commits

Author SHA1 Message Date
dvdsk
de0ffdc905
removes symphonia duration unit tests
In principle we do not have unit tests. See contributor guidlines for
the reasoning.
2024-11-27 18:57:40 +01:00
David Kleingeld
8f45194f89
Merge pull request #645 from Methapon2001/master
Fix wrong total duration caused by divided by zero conversion
2024-11-27 18:56:36 +01:00
Methapon2001
4ebb2ab8f2
Update CHANGELOG.md 2024-11-27 07:13:00 +07:00
Methapon2001
d18070d2f7
Update test to use value from Time instead 2024-11-24 21:13:44 +07:00
Methapon2001
94a8197273
Add time to duration tests 2024-11-24 21:00:17 +07:00
Methapon2001
77896cc498
Fix wrong total duration cause by divided by zero 2024-11-24 20:41:50 +07:00
dvdsk
bc8d1c7e05
remove unneeded pub from OutputStreamConfig 2024-11-24 12:32:00 +01:00
David Kleingeld
c1d22302c7
Merge pull request #641 from PetrGlad/init-revamp
Use builder to init output stream
2024-11-24 12:29:37 +01:00
Petr Gladkikh
435222ad23 Merge remote-tracking branch 'rust-audio/master' into init-revamp 2024-11-22 21:25:31 +04:00
Petr Gladkikh
5972eebc3a Update CHANGELOG.md 2024-11-21 22:33:38 +04:00
Petr Gladkikh
c23ec2c76d Update documentation 2024-11-21 22:31:43 +04:00
Petr Gladkikh
d1d5726ce0 Rename try_open_stream and try_default_stream 2024-11-21 21:43:24 +04:00
dvdsk
ff45ff80f6
adds resampler benchmark (implemented through UniformSource) 2024-11-21 18:01:21 +01:00
Petr Gladkikh
678df037cb Custom output stream config example 2024-11-21 21:00:57 +04:00
Petr Gladkikh
95060b1909 Stream initialization fix 2024-11-21 20:51:11 +04:00
Petr Gladkikh
0ba60217ff Hide OutputStreamConfig struct 2024-11-21 19:58:06 +04:00
Petr Gladkikh
4101ae9087 Remove unwrap and expect from example code 2024-11-20 00:58:05 +04:00
Petr Gladkikh
77c50cd9ce Clarify API documentation 2024-11-17 18:54:13 +04:00
Petr Gladkikh
6f6385b0d5 Add documentation for output stream public exports 2024-11-16 23:19:18 +04:00
Petr Gladkikh
1af733ee86 Cleanup: fix lint warnings 2024-11-15 22:41:03 +04:00
Petr Gladkikh
6a6e94c88e Rename dynamic_mixer.rs 2024-11-15 21:08:54 +04:00
Petr Gladkikh
689670d66c UPdate documentation
Add an example for rodio::play()
Remove experimental API from rustdocs.
2024-11-15 19:57:36 +04:00
Petr Gladkikh
b720273847 Revert extra changes for merge request 2024-11-15 03:11:48 +04:00
Petr Gladkikh
ebc673e315 Cleanup, remove unnecessay imports 2024-11-15 00:19:43 +04:00
Petr Gladkikh
af92566321 Cleanup
Code reformatted.
Removed experimental code.
2024-11-14 23:03:59 +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
c5850ab2ed Sync Cargo.toml with master branch 2024-11-10 15:31:04 +04:00
Petr Gladkikh
2ee0a3cb7a Merge remote-tracking branch 'rust-audio/master' into init-revamp 2024-11-10 15:29:22 +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
dbd1d1f129 Remove Criterion dependency 2024-11-09 02:16:28 +04:00
Petr Gladkikh
e2c74a5ccc Streamline default stream logic 2024-11-09 02:13:04 +04:00
Petr Gladkikh
7154439c4b Remove source plug prototype 2024-11-09 01:26:41 +04:00
Petr Gladkikh
fcfbabc607 Revert to using mixer as default output 2024-11-09 01:25:31 +04:00
dvdsk
489e184a58
Revert "use CI to yank partially broken 0.20.0"
This reverts commit 073fdb17d8.
Its no longer needed in CI since the yank is done now
2024-11-08 01:58:21 +01:00
dvdsk
073fdb17d8
use CI to yank partially broken 0.20.0 2024-11-08 01:55:41 +01:00
dvdsk
f1eaaa4a63
release bugfix 0.20.1 2024-11-08 01:36:22 +01:00
dvdsk
be29a3f0fd
release 0.20 2024-11-08 00:00:17 +01:00
Petr Gladkikh
e82b208b7c WIP. Implementing OpenStreamBuilder 2024-11-07 01:15:58 +04:00
dvdsk
d346cfa65b
spelling 2024-10-17 23:08:59 +02:00
dvdsk
48408bcfa6
AGC: adds inner and inner_mut & uses those in example
This removes the use of AGC's experimental atomic bool controls in
favor of the already stable periodic_access method of control.

The disadvantage is that periodic_access is significantly more difficult
for most users to undestand. It requires understanding of how closures
work with ownership and threading primitives like Atomics & Arc.
2024-10-17 22:41:38 +02:00
David Kleingeld
71d9a6d222
Merge pull request #632 from UnknownSuperficialNight/feature/automatic-gain-control-example
Add AGC example
2024-10-17 22:21:15 +02:00
David Kleingeld
b394e551e6
Merge pull request #633 from joseluis/remove-thiserror
remove `thiserror` dependency, improves compile times and has little impact on readability.
2024-10-17 14:59:53 +02:00
joseLuís
1df14257ba remove thiserror dependency 2024-10-17 13:33:33 +02:00
dvdsk
a7f67b3eea
small language tweaks to speed docs 2024-10-10 02:14:25 +02:00
David Kleingeld
d1bd852b91
Merge pull request #630 from ugochukwu-850/Issue#566
Issue#566
2024-10-09 19:10:04 +02:00
ugochukwu-850
5e038a6e5a Resolution of comment on source speed documentation
I added docs on the effects of changing the speed on both total_duration and pitch on both the source.speed trait and sink set_speed functions .
This should help users understand what each function does
2024-10-09 18:01:34 +01:00
ugochukwu-850
bb341a5634 Resolution of comment on source speed documentation
I added docs on the effects of changing the speed on both total_duration and pitch on both the source.speed trait and sink set_speed functions .
This should help users understand what each function does
2024-10-09 17:59:25 +01:00