Code Monkey home page Code Monkey logo

Comments (2)

MichailiK avatar MichailiK commented on August 15, 2024 1

As a workaround, do not use JMusicBot in a way which requires native libraries to function. JMusicBot makes use of native libraries under 2 circumstances:

  • Setting a volume to anything other than 100 requires JMusicBot to re-encode the audio. It makes use of natives to do that.
  • If JMusicBot encounters any non-Opus audio (such as MP3 or WAV) it will try to load native libraries to re-encode the audio to Opus. Discord only makes use of Opus for voice channels. (YouTube serves audio with Opus, so YouTube playback shouldn't be problematic. You'll likely just encounter that when trying to play local mp3/wav files.)

Unfortunately, no natives have been built for RISC-V, presumably as its still pretty niche. lavaplayer handles audio for us, so we'd have to ask them about this. I believe the developers are already aware of this incompatibility though.

from musicbot.

IngwiePhoenix avatar IngwiePhoenix commented on August 15, 2024

Ahh interesting!

Thanks for the infos - thats the kinda pointer I needed. I wonder if I could "build" my way through this problem. Doesn't sound too difficult; just getting the natives built.

I'll come back to this when I tried some things out! :)

from musicbot.

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.