Coder Social home page Coder Social logo

Comments (6)

karlstav avatar karlstav commented on June 4, 2024

this might be intended behavior, not the key controls, those should work (if the sleep timer is not configured).

When the source is paused, there is no data coming in, i would have to add a function to reset the buffer to zero after some time without new input data. I think i already have it in the fifo input.

from cava.

gardk avatar gardk commented on June 4, 2024

Yeah, the bars freezing does make sense actually, but it would be nice to have them reset to zero after some time :)

from cava.

karlstav avatar karlstav commented on June 4, 2024

was finally able to reproduce. The issue is that the main thread is waiting for the audio to terminate, but the on_process callback is not being fired. Need to think of some solution.

from cava.

karlstav avatar karlstav commented on June 4, 2024

I guess that was what this was for: 0d77307 will re-add it make some signal to the thread when terminating the audio.

from cava.

gardk avatar gardk commented on June 4, 2024

You can make on_process keep firing by setting PW_KEY_NODE_ALWAYS_PROCESS, seems to fix this issue completely.

from cava.

karlstav avatar karlstav commented on June 4, 2024

it does! and then the bars also go down when pausing.

I will consider this resolved then, thanks @gardk for the contribution!

from cava.

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.