Commit graph

886 commits

Author SHA1 Message Date
Jamie Hardt
65a8745cd6 Removed a console line 2024-08-03 16:54:02 -07:00
Jamie Hardt
52dc4a5f5f Have reworked ramp logic
All tests pass, the "lerp" function doesn't seem to work, I want to look
into this further.
2024-08-03 16:51:24 -07:00
Jamie Hardt
e01ca090dd Merge branch 'master' of https://github.com/RustAudio/rodio into ramp-linear 2024-07-30 18:31:41 -07:00
github-actions[bot]
e3d561298d
Merge branch 'master' of github.com:RustAudio/rodio 2024-07-19 10:23:45 +02:00
github-actions[bot]
64276dabec
update readme 2024-07-19 10:23:39 +02:00
David Kleingeld
e4a7af0a60
Merge pull request #598 from Keinsleif/features/alac_aiff_support
Add ALAC / AIFF Support
2024-07-19 10:20:37 +02:00
Keinsleif
10dd86dd6d Added symphonia feature flag 2024-07-19 08:24:16 +09:00
Jamie Hardt
9d63a9c393 A note to myself 2024-07-14 13:13:15 -07:00
Jamie Hardt
7fe76c7e95 Renamed this field for consistency
with other library structs.
2024-07-14 12:07:38 -07:00
Jamie Hardt
a3f36c50f1 Adding test block to linear_ramp.rs 2024-07-14 11:42:10 -07:00
Jamie Hardt
8864b22e04 Implementing fade-in as a wrapper
...around LinearRamp
2024-07-14 11:41:13 -07:00
Jamie Hardt
9be1df5e55 Removed a thinko and unnecessary cast 2024-07-14 11:08:14 -07:00
Jamie Hardt
aa2edb3dab Rustfmt 2024-07-14 11:06:43 -07:00
Jamie Hardt
e2ed0296e0 Clarified member name and logic
"elapsed_ns"
2024-07-14 11:06:13 -07:00
Jamie Hardt
908ae07a6f Now using as_secs_f32() 2024-07-14 10:59:11 -07:00
Jamie Hardt
947c4b7f3e Rustfmt 2024-07-14 10:54:59 -07:00
Jamie Hardt
9c0706afbf Added assertion to guard against 0-duration ramps 2024-07-14 10:50:52 -07:00
Jamie Hardt
184bb05454 Typo 2024-07-14 10:47:19 -07:00
Jamie Hardt
fa951d928a Fixed to linear_gain_ramp in mod.rs,
added documentation
2024-07-14 10:45:49 -07:00
Jamie Hardt
54cc52d44d Added end gain clamping behavior. 2024-07-14 10:41:16 -07:00
Jamie Hardt
84db58ba27 Implemented try_seek() 2024-07-14 10:34:22 -07:00
Jamie Hardt
11181c40e4 Merge branch 'master' of https://github.com/RustAudio/rodio into ramp-linear 2024-07-14 10:32:08 -07:00
David Kleingeld
68ba336bfa
Merge pull request #596 from romainpi/master
CI: Remove ephemeral job `create-tags-for-past-releases`
2024-07-11 18:01:42 +02:00
Romain Pironneau
a52f2097c4 CI: Remove ephemeral job create-tags-for-past-releases 2024-07-11 16:56:02 +02:00
David Kleingeld
dd588487bf
Merge pull request #595 from drzymalanet/derive-clone-for-buffer
Derive `Clone` for `buffer::SamplesBuffer`
2024-07-11 12:20:09 +02:00
David Kleingeld
f4b2acfc6d
Merge pull request #594 from romainpi/master
CI: Tweaks for the tag creating jobs

done!
2024-07-11 12:16:54 +02:00
Marcin Drzymala
5f5e53033b Derive Clone for buffer::SamplesBuffer 2024-07-11 10:42:39 +02:00
Romain Pironneau
b0f4097cbe CI: Tweaks for the tag creating jobs:
* Makes sure the `create-tags-for-past-releases` job runs before `create-git-tag`.
* Have the `create-git-tag` fetch all Git history to actually be able to detect past tags.
2024-07-09 12:45:31 +02:00
David Kleingeld
4f21557886
Merge pull request #589 from romainpi/master
CI: tags releases
2024-07-06 01:25:54 +02:00
David Kleingeld
7a1053431f
Merge pull request #591 from istudyatuni/clarify-docs
clarify docs about dropping stream
2024-07-05 20:54:48 +02:00
Ilia
2427bde6cf clarify docs about dropping stream 2024-07-05 21:50:06 +03:00
Romain Pironneau
a9f2df1e90 CI: tags releases 2024-07-04 12:49:04 +02:00
David Kleingeld
3a23d2c529
Merge pull request #588 from hamirmahal/style/simplify-string-formatting
style: simplify string formatting
2024-07-04 11:29:13 +02:00
Hamir Mahal
c04934ee0d
fix: formatting in src/ and tests/ 2024-07-04 00:09:44 -07:00
Hamir Mahal
9b2da72bd0
style: simplify string formatting 2024-07-04 00:08:35 -07:00
dvdsk
27f2b42406
release 0.19 (adds trackposition) 2024-06-29 23:13:46 +02:00
dvdsk
f518a7d334
cargo fmt 2024-06-18 01:37:29 +02:00
dvdsk
cbfd0c59ed
changes get_pos return type from f64 to Duration 2024-06-18 01:37:04 +02:00
dvdsk
637aec44fe
adds more details to track_position/get_pos docs 2024-06-18 01:36:48 +02:00
dvdsk
edbe3f5b9e
update changelog for trackposition 2024-06-18 01:09:16 +02:00
David Kleingeld
fd9747d198
Merge pull request #585 from Gusted/add-position
Add TrackPosition to Source
2024-06-17 18:29:13 +02:00
Gusted
16a1440d04
Better naming 2024-06-17 18:24:53 +02:00
dvdsk
297bd99bc1
fixes new clippy lints 2024-06-17 13:22:37 +02:00
Gusted
80277e03f6
Revert Arc stuff 2024-06-17 13:00:26 +02:00
Gusted
ca43ad0885
Refactoring 2024-06-16 18:07:36 +02:00
Gusted
0e6d5a1da2
Handle variable channels and sample rate 2024-06-11 01:47:03 +02:00
Gusted
e1108abe71
Add TrackPosition to Source
This adds a new TrackPosition trait which counts the amount of times
`next()` is called (where it returns `Some`) and provide a function to
get the position, which is a simple calculation.

This is added to the Sink struct by default and the accuracy of this depends on
the interval of `periodic_access`.

I wasn't able to add testing to the sink counter part, because I
wanted to also test `try_seek`, but it seems like I would need to have
some threading code to call `next` on sink in another thread, which
didn't look that good and resulted in a flaky test so only a 'unit test'
in ``position.rs`.

Resolves #457
Closes #510
2024-06-09 23:17:45 +02:00
dvdsk
ae9eaedc22
add mp4a playback fix to changelogs unreleased 2024-06-06 23:54:12 +02:00
dvdsk
db32ea6cf7
make mp4a test conditional on the right rodio features being enabled 2024-06-06 23:49:20 +02:00
dvdsk
a3ce66009f
remove features from testing from symphonia dep 2024-06-06 23:41:09 +02:00