Commit graph

28 commits

Author SHA1 Message Date
apolunar
d08d9e71a6 re-disable symphonia-isomp4 test due to (upstream?) failure 2024-06-01 20:55:45 -05:00
apolunar
b712559418 possibly fixed m4a and mp4a playback 2024-06-01 13:44:53 -05:00
dvdsk
d6e64dc80c
disables known broken decoder in test (see #577) 2024-05-23 13:18:29 +02:00
dvdsk
11221a8609
fixes typo in test 2024-05-05 10:46:02 +02:00
dvdsk
aa0880ddee
seek/error symphonia seekerror is now more precise 2024-04-05 13:59:40 +02:00
dvdsk
1fcf4b8363
test(seek) made channel order more brittle 2024-04-05 12:16:06 +02:00
dvdsk
7eb13be288
(tests) use rstest to refactor and expand seek test
This adds two dependencies, they are only needed for the test suite.
Compile time will not increase for users. The extra overhead when
running the test suite is worth it imho. The test file is significantly
shorter and there is less code duplication. A run time solution would
decrease the test interface (you would have to manually find out which
params caused the test).
2024-04-04 21:22:53 +02:00
dvdsk
26e9db7b87
remove seek support for (lewton) vorbis
seek is broken, https://github.com/RustAudio/lewton/issues/73.
We could work around it by:
 - using unsafe to create an instance of Self
 - use mem::swap to turn the &mut self into a mut self
 - take out the underlying Read+Seek
 - make a new self and seek

If this issue is fixed use the implementation in
commit: 3bafe32388
2024-04-04 12:54:09 +02:00
dvdsk
5562241f39
commit to save work on vorbis try_seek 2024-04-03 13:02:30 +02:00
dvdsk
04c6957dac
test(seek) improve channel order test 2024-04-03 11:54:47 +02:00
dvdsk
9ae1c5501a
test(seek) add test for channel order 2024-04-03 11:45:54 +02:00
dvdsk
67612b573e
(seek/test) adds failing test for seeking in exausted source 2024-04-02 12:59:22 +02:00
dvdsk
2e9d680afb
(seek/test) fixes duration calc in test 2024-04-02 12:29:55 +02:00
dvdsk
c60819e47d
seek tests finds beep in stereo test file 2024-04-02 12:08:51 +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
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
4237effbf4
revert to upstream non-seekable minimp3, comment out minimp3-seek support 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
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
e1092f712d
refactors seek test, now covers all decoders/formats 2023-10-13 15:45:27 +02:00
dvdsk
5b933d7af1
refactors seektest and adds more formats 2023-10-13 15:45:07 +02:00