David Kleingeld
b7b5735afe
Merge branch 'master' into seek_runtime_err
2023-10-17 13:21:21 +02:00
est31
6a255fe70a
Release 0.17.2 ( #518 )
2023-10-17 12:41:00 +02:00
willxw
98bae98d05
added q value parameter to be passed to filter functions ( #515 )
...
I have added a 2nd parameter to the filter functions low_pass, high_pass, to_low_pass, and to_high pass; allowing a q value to be passed along with the frequency.
Co-authored-by: David Kleingeld <git@davidsk.dev>
2023-10-17 12:32:17 +02:00
David Kleingeld
5dd41356e8
Remove duplicate doc section and fix spelling in docs
...
Co-authored-by: naglis <827324+naglis@users.noreply.github.com>
Co-authored-by: naglis <827324+naglis@users.noreply.github.com>
2023-10-13 16:49:33 +02:00
David Kleingeld
8c774628fe
use From<f64> instead of custom time_from_duration
...
remove now unused time_from_duration
Co-authored-by: naglis <827324+naglis@users.noreply.github.com>
2023-10-13 15:47:38 +02:00
David Kleingeld
7357f191b8
remove commented out dead code in tests/seek.rs
...
Co-authored-by: naglis <827324+naglis@users.noreply.github.com>
2023-10-13 15:47:38 +02:00
dvdsk
c2c85e2332
improve seek beyond end documentation
2023-10-13 15:47:38 +02:00
dvdsk
963a48491f
refactors symphonia try_seek
2023-10-13 15:47:38 +02:00
dvdsk
b26194df91
make cargo fmt happy
2023-10-13 15:47:38 +02:00
dvdsk
724df4d884
completely remove sink usage from seek tests
2023-10-13 15:47:38 +02:00
dvdsk
a24e0e65eb
speeds up correct_remaining_playtime test
2023-10-13 15:47:38 +02:00
dvdsk
d1a809feac
formats everything with cargo fmt
2023-10-13 15:47:28 +02:00
dvdsk
82bfa417ff
fixes seek in m4a files, fixes seeking having 1 second granularity
2023-10-13 15:47:01 +02:00
dvdsk
3f4b530a42
Language and spelling fixes by @naglis
...
fix comment typo
Co-authored-by: naglis <827324+naglis@users.noreply.github.com>
2023-10-13 15:46:53 +02:00
dvdsk
4237effbf4
revert to upstream non-seekable minimp3, comment out minimp3-seek support
2023-10-13 15:45:40 +02:00
dvdsk
560961fc8b
adds try_seek to spatial source
2023-10-13 15:45:40 +02:00
dvdsk
f3a1966348
symphonia throws error if duration is unknown and seek is beyond source length
2023-10-13 15:45:40 +02:00
dvdsk
5de73833a9
finishes doc for sink::try_seek
2023-10-13 15:45:40 +02:00
dvdsk
2b39d27aaf
adds total_duration() impl to SymphoniaDecoder, makes seek saturating at source end if total_duration known
2023-10-13 15:45:40 +02:00
dvdsk
8416210628
adds test verifying correct seek position after seek
2023-10-13 15:45:40 +02:00
dvdsk
10262f8134
removes can_seek in favor of rolling back seek operations (requires PR #510 )
2023-10-13 15:45:40 +02:00
dvdsk
5d44bfe636
fixes symphonia seek beyond end of file returning an error
2023-10-13 15:45:40 +02:00
dvdsk
ebebe88339
turns SeekNotSupported into a SeekError
2023-10-13 15:45:40 +02:00
dvdsk
eb22ec5dac
refactor tests, add seek beyond stream test
2023-10-13 15:45:40 +02:00
dvdsk
9a4dcb0c41
add can_seek method to source
...
document why Sink::can_seek does not exist
2023-10-13 15:45:27 +02:00
dvdsk
d8a8be4a2f
add seek for lewton
2023-10-13 15:45:27 +02:00
dvdsk
a3c55b8337
fixes symphonia seek div by zero
2023-10-13 15:45:27 +02:00
dvdsk
e1092f712d
refactors seek test, now covers all decoders/formats
2023-10-13 15:45:27 +02:00
David Kleingeld
961c3efbb0
Fix seeking for mix source
...
add todo about can_seek to mix
Co-authored-by: naglis <827324+naglis@users.noreply.github.com>
2023-10-13 15:45:07 +02:00
dvdsk
5b933d7af1
refactors seektest and adds more formats
2023-10-13 15:45:07 +02:00
dvdsk
1f3f36a4c8
removes default try_seek impl, impl try_seek for decoders + refactors decoderimpl a bit
2023-10-13 15:45:06 +02:00
dvdsk
202687b934
adds try_seek for sink and all sources
2023-10-13 15:44:43 +02:00
dvdsk
745db82876
removes SeekableSource adds failable try_seek to Source
2023-10-13 15:44:43 +02:00
dvdsk
d47842fe57
remove seek trait from source mods, added it to symphonia decoder, renamed the trait to SeekableSource
2023-10-13 15:44:43 +02:00
dskleingeld
204a3f89c9
switch to fork for cpal
2023-10-13 15:44:43 +02:00
dskleingeld
023e833b01
request pos now uses mutable self
2023-10-13 15:44:43 +02:00
dskleingeld
fafe4ba1af
seek implemented through SourceExt trait
2023-10-13 15:44:43 +02:00
BOB450
eda5934a20
Replace minimp3 with minimp3_fixed witch fixes a vital security flaw ( #504 )
...
See https://rustsec.org/packages/slice-deque.html and #456
2023-07-26 00:21:03 +02:00
hinto-janai
9674ea56cf
queue: add crossbeam-channel
feature flag ( #500 )
2023-05-25 10:25:00 +02:00
Benjins-automation
8f949a81c8
Upgrade plain-HTTP links to HTTPS in Cargo.toml files ( #498 )
...
Co-authored-by: Benji Smith <6193112+Benjins@users.noreply.github.com>
2023-05-21 08:02:32 +02:00
Starua
023ee21e21
Fix Sink skip apis ( #494 )
...
* Call `Sink::clear`/`Sink::skip_one` on an empty `Sink` will permanently skip any `Source` append to it
* Call `Sink::clear` on an non-empty `Sink` can't reset it's length().
2023-04-28 12:53:31 +02:00
Ando “Thor” Nando
65d4dd3bdc
fmt: ubuntu workflow fix ( #495 )
2023-04-28 12:41:36 +02:00
myyrakle
5e034a2908
fix: index out of bound ( #487 )
2023-04-02 05:23:56 +02:00
Zachary Churchill
3d1a5ac54c
add EmptyCallback
source ( #430 )
...
Co-authored-by: est31 <est31@users.noreply.github.com>
2023-03-11 20:51:03 +01:00
Joe Clay
d5b9ae3467
Release 0.17.1
2023-02-25 20:45:30 +01:00
Joe Clay
4e123a6366
Disable Symphonia default features
2023-02-25 20:45:30 +01:00
ivakam
e9a85ec254
Implement clear() and skip_one() functionality (continuation of #287 ) ( #442 )
...
* Clear and Skip functionality added
Added a clear() and skip_one() method to the Sink impl
* Use one lock for clear
Return the length in the queue clear function so that we don't have to get a lock twice.
* Rework skip to mark all sources as skippable
---------
Co-authored-by: Nathan Abel <abel8706@kettering.edu>
Co-authored-by: Ivar Kamsvåg <ivaka037@student.liu.se>
Co-authored-by: est31 <est31@users.noreply.github.com>
2023-02-19 13:46:18 +01:00
est31
56360d789c
Release 0.17.0 ( #480 )
2023-02-17 22:42:40 +01:00
est31
7b65d2fdd9
Edition 2021 ( #479 )
2023-02-17 22:14:05 +01:00
Jayden Dumouchel
44b92d43e9
Fix Sink playback after stop ( #464 )
...
Addressing issues #462 and #315 and #171
Given how the sink's queue is drained on stop I made some modifications in sink.append(). I added a check to ensure the sink was flushed completely (not sure this is necessary? I think it is, to avoid race conditions) and to restart the sink on append (when stopped.)
I added a test demonstrating correctness, as well as performing some trials on my own.
2023-02-17 21:12:32 +01:00