Giter VIP home page Giter VIP logo

Comments (7)

mrDIMAS avatar mrDIMAS commented on May 12, 2024 1

Should be fixed now. Changes are in 34591e9 . Could you please confirm if CPU usage is ok now?

from fyrox.

mrDIMAS avatar mrDIMAS commented on May 12, 2024 1

Cool. Yeah, I changed design a bit to support multiple contexts. I'm closing the issue then, it is good that you spotted this issue, thanks! I'll try to publish 0.19.0 on crates.io as soon as possible.

from fyrox.

mrDIMAS avatar mrDIMAS commented on May 12, 2024

Hello! It actually sounds like a bug in a backend. Which OS do you use?

I just checked how it works on Windows and single core load was around 2-5%.

from fyrox.

BafDyce avatar BafDyce commented on May 12, 2024

Hi! Thanks for the quick response, given that its holiday season :)

I'm on Linux, so using the alsa backend.

from fyrox.

mrDIMAS avatar mrDIMAS commented on May 12, 2024

I checked on virtual machine and it was something around 0.6-1.0%, previously it was ~98%.

from fyrox.

BafDyce avatar BafDyce commented on May 12, 2024

Edit: Figured my problems out. (Note: When upgrading from 0.18.0, one has to create a SoundEngine and register the context there)

YES, the issue is now fixed! There's no thread consuming 100% CPU anymore. CPU usage is back to very low levels (as expected). Thanks for the quick work!

from fyrox.

BafDyce avatar BafDyce commented on May 12, 2024

Note: I don't know if its a side effect or if it worked before already but (at least on my system) sounds also play flawlessly now in debug mode.

from fyrox.

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.