Comments (2)
I reverted the change because the patch I was provided to attempt to fix the compiler warning completely broke crossfade.
After spending some time digesting your excellent description, I agree with your assessment of what the check should be so I've made the following change to output.c and crossfade still seems to be working as expected.
@@ -152,7 +152,7 @@
IF_DSD(
output.dop = output.next_dop;
)
-
if (!output.fade == FADE_ACTIVE || !output.fade_mode == FADE_CROSSFADE) {
-
if (output.fade == FADE_INACTIVE || output.fade_mode != FADE_CROSSFADE)
{
Thank you for taking the time to report your fixes back to me. Change committed at 3028f38
from squeezelite.
Thanks :-) What bothered me is that with the existing test, crossfade should not work when there is replaygain. I did explicity test it and the replaygain of the next track was applied to the current track when doing the crossfade, so with a big difference between the current and next, it was very audible. I'm surprised nobody ever complained, hence I was nervous my analysis was wrong. But I did checked the same 2 tracks with a big replay gain difference with old and new test and definitevly saw that new one works, old one does not ...
from squeezelite.
Related Issues (20)
- Question about squeezelite and aplay HOT 8
- Why is it so complicated to set the volume? HOT 2
- Squeezelite - no sound in XFCE , solved: -squeezelite daemon per session / pulseaudio systemwide -- wiki entry? HOT 2
- Parametric EQ support HOT 1
- Squeezelite allocates more than 80 MB of reserved memory and gets killed by OOM Killer HOT 3
- Squeezelite User Service for Systemd HOT 1
- libFLAC.so.8 deprecated on Arch Linux ARM? HOT 3
- Squeezelite & pipewire - buffer size HOT 3
- Standby issue with Topping E50/D90 HOT 3
- pCP won't start when DAC is powered off HOT 6
- Multiple Identical Dacs w/squuezelite emulation. HOT 15
- Mistakingly trying to play locally... HOT 5
- Add option to recreate PulseAudio stream when the next song has a different sample rate
- squeezelite exits 0 even when unable to open alsa device HOT 2
- Add support for `playlist play source:` command through LMS
- Issue playing 32bit WAV files HOT 1
- MPRIS support HOT 3
- Compiling with SSL on a 32 bits system fails HOT 3
- Decoding m4a files over-runs music data atom HOT 11
- squeezelite on MacOS keeps coreaudiod pinned at 11-12% CPU HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from squeezelite.