dvdsk
1d15760f3e
The cpal version requirement is too low causing #573
...
Specifically cpal changed `SupportedStreamConfigRange` and made it Copy.
As that relaxes the requirements on it its a non breaking change. Rodio was
then refactored to remove the now no longer needed `.clone()` in 77c5c54
. That
clone however is still needed for Rodio users with a lower cpal version. This
commit fixes that by requiring a higher cpal version.
2024-04-21 12:52:29 +02:00
dvdsk
6f1f44f04a
Merge branch 'master' into seek_runtime_err
2024-04-06 12:00:17 +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
François
4688432c4b
expose feature for shared stdcxx from cpal ( #546 )
2024-03-05 13:03:19 +01:00
dvdsk
470eba8328
Merge branch 'master' into seek_runtime_err
2024-01-26 21:21:34 +01:00
est31
4973f330e0
Release 0.17.3 ( #522 )
2023-10-23 14:50:26 +02:00
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
dvdsk
4237effbf4
revert to upstream non-seekable minimp3, comment out minimp3-seek support
2023-10-13 15:45:40 +02:00
dvdsk
ebebe88339
turns SeekNotSupported into a SeekError
2023-10-13 15:45:40 +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
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
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
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
François
0c0e086b6a
update cpal to 0.15 ( #478 )
2023-02-17 13:05:23 +01:00
Johannes Hackel
317ec569fe
Support ADPCM formats in WAV files ( #469 )
2023-01-25 10:32:46 +01:00
Sergey "Shnatsel" Davidoff
92142b1a0c
Default to pure-Rust Symphonia for MP3 decoding ( #453 )
...
* Default to symphonia-mp3 over minimp3
* Update documentation to state that MP3 is decoded by Symphonia
2022-11-12 05:08:36 +01:00
David
e7faaf7506
Release version 0.16.0 ( #441 )
...
* Bump version to 0.15.1
* Update CHANGELOG.md
* Update Cargo.toml
* Update CHANGELOG.md
2022-09-14 14:43:27 +02:00
harudagondi
61367c92df
Update cpal
to 0.14 ( #435 )
2022-08-27 15:17:01 +02: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
est31
ed16867cdb
Update symphonia to 0.5 ( #412 )
2022-01-31 18:01:11 +01:00
est31
9436db8e2b
Add symphonia-vorbis feature to use symphonia's vorbis support instead
2022-01-25 02:20:57 +01:00
Stephen Sherratt
9ba6836e37
Release 0.15.0 ( #408 )
...
* Update symphonia dep
* Release 0.15.0
2022-01-25 01:57:53 +01:00
Austin Schey
0988e8c886
Add optional Symphonia backend ( #376 )
...
* add symphonia decoder
* add symphonia-flac
* better compile errors
* remove unsafe send
* update ci
* sudo
* disable duration check because symphonia does not support it
* add error handling
* cleanup
* update symphonia and fix breaking changes
* update to published symphonia version
* update docs
* reduce namespace duplication
* remove extra reference to current frame
* pr comments
* exclude decoders from module if unused
* fix flac test
* recommend disabling default features with symphonia
2021-06-29 09:12:28 +02:00
Alex Butler
f6af938d8d
Release 0.14.0 ( #368 )
...
* Add 0.14 changes to changelog
* Release 0.14
2021-05-21 22:15:25 +02:00
Marcel Märtens
c397a4d8d1
Fix a error when rodio just panics instead of propagate an error to the user ( #362 )
...
Update version to 0.13.1
2021-03-29 08:58:23 +02:00
SnoozeTime
e1aea73ba0
add feature flag to enable wasm-bindgen ( #342 )
2020-12-09 13:49:36 +01:00
David Ackerman
73857e3d51
Update cpal with Android support ( #336 )
...
* Add cpal with Android support. Update CHANGELOG
* Bump version to 0.13.0
* Update CHANGELOG
2020-11-03 15:04:48 +01:00
est31
f34939b1dc
Release 0.12.0
2020-10-05 01:10:01 +02:00
est31
71bc464ff2
Use OR instead of /
2020-10-05 01:09:40 +02:00
Nicolas Braud-Santoni
ff9f6fc7de
SampleRateConverter: Parametrize tests over the sample frequencies
2020-10-01 17:04:08 +02:00
Jacob Hughes
95317f9b88
Add LoopedDecoder
...
LoopedDecoder works like the normal Decoder, but when the decoder
reaches the end of file it will restart playback from the beginning.
This has the advantage over Decoder::new().repeat_infinite() that it
will not buffer the entire uncompressed audio file into memory.
Update minimp3 to version 0.5 to use the `into_iter()` method
2020-08-27 15:07:40 -04:00
Alex Butler
286d63d6b3
Use cpal 0.12
2020-07-10 20:08:12 +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
00c627241c
Rework to use no-event-loop cpal
2020-05-02 13:33:52 +01:00
est31
7bf8ba5cb6
Release v0.11.0
2020-03-16 22:39:44 +01:00
est31
1b3b716e9f
Update cpal to 0.11.0
2020-01-30 20:56:26 +01:00
Alex Butler
29344401ee
Update lewton to 0.10
2020-01-30 20:43:24 +01:00
est31
7f9eff3cc8
Release v0.10.0
2019-11-16 23:27:22 +01:00
est31
b36ce81447
Update some links to the new location
2019-11-16 08:02:42 +01:00
est31
80948cf5c4
Merge pull request #243 from est31/remove_nalgebra
...
Remove nalgebra in favour of a handmade function
2019-08-09 22:06:57 +02:00
est31
a15ca2b43e
Remove nalgebra in favour of a handmade function
2019-08-09 20:46:41 +02:00
Alex Butler
0151398043
Update cpal -> 0.10
...
* Provide device prevous method using `cpal::default_host()`
* Naively handle new cpal errors
2019-07-18 13:06:14 +01:00