Git Product home page Git Product logo

Comments (2)

ralph-irving avatar ralph-irving commented on July 17, 2024

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.

philippe44 avatar philippe44 commented on July 17, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.