JasonLG1979
5da8ddf5e2
Rename set_factor to update_normalisation_data to better indicate what it does
2023-06-23 11:24:10 -05:00
JasonLG1979
bfb0366c90
Make sure the ResampleWorker task_receiver is also drained on drop
2023-06-23 10:10:14 -05:00
JasonLG1979
0e3ffe5394
Harmonize thread names and debug messages
2023-06-23 03:08:22 -05:00
JasonLG1979
8d35b4b860
Update notify_about_position logic
...
It would be so much easier to use elapsed but elapsed could potentially panic is rare cases.
See: https://doc.rust-lang.org/std/time/struct.Instant.html#monotonicity
Otherwise this is pretty straight forward.
If anything fails getting expected_position_ms it will return 0 which will trigger a notify if either stream_position_ms or decoder_position_ms is > 1000.
If all goes well it's simply a matter of calculating the max delta of expected_position_ms and stream_position_ms and expected_position_ms and decoder_position_ms.
So if the decoder or the sample pipeline are off by more than 1 sec we notify.
2023-06-23 00:38:15 -05:00
JasonLG1979
09bd1bd324
Fix up notify
2023-06-22 04:43:56 -05:00
JasonLG1979
b5e0ea2bd3
Fix examples and update change log
2023-06-22 02:06:24 -05:00
JasonLG1979
586e9f1929
Fix clippy lint round 1000 + a small bug fix
2023-06-22 01:40:50 -05:00
JasonLG1979
2a8da828c4
Fix clippy lint
2023-06-22 01:26:15 -05:00
JasonLG1979
efec96b9cc
Put it all together
2023-06-21 23:32:03 -05:00
JasonLG1979
e1ea400220
Change the backends so that they support the diffrent sample rates
2023-06-21 22:17:41 -05:00
JasonLG1979
3bcf5498d2
Convert get_latency_pcm to get_latency_ms in sample_pipeline
2023-06-21 21:11:37 -05:00
JasonLG1979
9861a582a6
Add sample_pipeline
2023-06-21 20:55:00 -05:00
JasonLG1979
375f83797a
Add normaliser
2023-06-21 20:48:02 -05:00
JasonLG1979
3b64f25286
Add resampler
2023-06-21 20:29:22 -05:00
JasonLG1979
71660a2351
Add InterpolationQuality and SampleRate enums
2023-06-21 19:51:14 -05:00
JasonLG1979
7dae33c4f0
Use default macro
2023-06-21 19:24:40 -05:00
JasonLG1979
35b94bdc94
Add the ability to get backend latency
2023-06-21 19:17:23 -05:00
JasonLG1979
0cefd0ea66
Better thread handling in player
2023-06-21 19:09:21 -05:00
eladyn
4d402e690c
add session timeout handling ( #1129 )
2023-06-01 21:39:35 +02:00
Roderick van Domburg
310725d2fb
Merge pull request #1150 from yubiuser/tweak/workflow_order
...
Check formatting and linting first on workflow
2023-06-01 20:51:29 +02:00
Roderick van Domburg
cb8a9bc931
Merge pull request #1165 from JasonLG1979/norm-data
...
Read Normalisation Data in one go
2023-06-01 20:49:25 +02:00
yubiuser
c964102a34
Update dependencies sysinfo and RSA ( #1164 )
2023-05-14 21:27:17 +02:00
JasonLG1979
f89c622e30
Read Normalisation Data in one go
...
Read all the Normalisation Data in one shot to avoid 4 seperate reads.
2023-05-13 13:00:50 -05:00
AeRo
31d18f7e30
Respect disabled normalisation with maximum volume ( #1159 )
2023-05-06 09:47:08 +02:00
Christian König
b8eed83d38
Check formatting and linting first on workflow
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-05-04 12:52:21 +02:00
Roderick van Domburg
03b547d3b3
Merge pull request #1157 from librespot-org/dependabot/github_actions/dev/actions/checkout-3.5.2
...
Bump actions/checkout from 3.5.0 to 3.5.2
2023-04-16 21:11:35 +02:00
dependabot[bot]
83139f8d07
Bump actions/checkout from 3.5.0 to 3.5.2
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.0 to 3.5.2.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3.5.0...v3.5.2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-15 10:57:24 +00:00
Roderick van Domburg
e4d4765332
Merge pull request #1156 from yubiuser/update/quick_xml
...
Update quick-xml
2023-04-14 22:21:22 +02:00
Roderick van Domburg
fea1a819fd
Merge pull request #1155 from yubiuser/update/hyper-rustls
...
Update hyper-rustls
2023-04-14 21:43:58 +02:00
Roderick van Domburg
411f530e58
Merge pull request #1153 from yubiuser/update/vergen
...
Update vergen
2023-04-14 21:43:26 +02:00
Christian König
d8547f176c
Update quick-xml
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-14 09:41:58 +02:00
Christian König
d83ed814a3
Update hyper-rustls
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-13 21:22:40 +02:00
Christian König
ae8387af1d
Update vergen
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-13 21:17:47 +02:00
Roderick van Domburg
2718d22c31
Merge pull request #1152 from yubiuser/update/rsa
...
Update rsa
2023-04-13 20:07:47 +02:00
Roderick van Domburg
7f6c126753
Merge pull request #1149 from yubiuser/remove/action_rust
...
Remove actions-rs/toolchain
2023-04-13 20:03:54 +02:00
yubiuser
e8c3ee07ef
Update base64 ( #1148 )
2023-04-13 20:02:33 +02:00
Roderick van Domburg
2a197947c4
Merge pull request #1154 from librespot-org/dependabot/cargo/h2-0.3.17
...
Bump h2 from 0.3.16 to 0.3.17
2023-04-13 19:58:03 +02:00
dependabot[bot]
2e7944f43e
Bump h2 from 0.3.16 to 0.3.17
...
Bumps [h2](https://github.com/hyperium/h2 ) from 0.3.16 to 0.3.17.
- [Release notes](https://github.com/hyperium/h2/releases )
- [Changelog](https://github.com/hyperium/h2/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/h2/compare/v0.3.16...v0.3.17 )
---
updated-dependencies:
- dependency-name: h2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-13 17:09:42 +00:00
Christian König
453ef48385
Update rsa
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-12 23:38:05 +02:00
Christian König
cd56225935
Remove actions-rs/toolchain
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-11 23:10:04 +02:00
Roderick van Domburg
c5a1d331db
Merge pull request #1146 from librespot-org/dependabot/github_actions/dev/actions-rs/toolchain-1.0.7
...
Bump actions-rs/toolchain from 1.0.6 to 1.0.7
2023-04-11 21:19:55 +02:00
Roderick van Domburg
1063f5e4ff
Merge pull request #1147 from yubiuser/update/cache
...
Update actions/cache
2023-04-11 21:19:35 +02:00
yubiuser
e14dac3ff3
Remove and update dependencies ( #1140 )
2023-04-11 20:33:45 +02:00
Christian König
0a62d8a90e
Update actions/cache
...
Signed-off-by: Christian König <ckoenig@posteo.de>
2023-04-11 20:29:14 +02:00
dependabot[bot]
c3df881152
Bump actions-rs/toolchain from 1.0.6 to 1.0.7
...
Bumps [actions-rs/toolchain](https://github.com/actions-rs/toolchain ) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/actions-rs/toolchain/releases )
- [Changelog](https://github.com/actions-rs/toolchain/blob/master/CHANGELOG.md )
- [Commits](https://github.com/actions-rs/toolchain/compare/v1.0.6...v1.0.7 )
---
updated-dependencies:
- dependency-name: actions-rs/toolchain
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-11 18:20:35 +00:00
yubiuser
a7fb7ee673
Update github actions and add Dependabot ( #1141 )
...
Update GitHub actions and add Dependabot
2023-04-11 20:20:09 +02:00
Roderick van Domburg
7de8bdc0f3
Merge pull request #1137 from francescovannini/libpulse-fix-docker-crosscompile
...
Fixes pulseaudio backend linking error by installing libpulse0 package …
2023-03-26 13:40:15 +02:00
francesco
4a4f5d0add
Fixes libpulse backend linking error by installing libpulse0 package for all architectures (excepts mipsel, which remains broken)
2023-03-25 19:28:47 +01:00
Roderick van Domburg
d569d37966
Merge pull request #1136 from eladyn/jack_update
...
update jack to match alsa requirement
2023-03-22 13:38:52 +01:00
eladyn
9836db2c2c
update jack to match alsa requirement
2023-03-22 13:35:15 +01:00