GithubHelp home page GithubHelp logo

sometime wrong about nier-visualizer HOT 11 OPEN

Citrussss avatar Citrussss commented on July 28, 2024
sometime wrong

from nier-visualizer.

Comments (11)

bogerchan avatar bogerchan commented on July 28, 2024

Thanks for reporting the issues, I would fix it ASAP. : )

from nier-visualizer.

akshitk007 avatar akshitk007 commented on July 28, 2024

@Citrussss I am facing the same issue Did you find something to handle this issue?

from nier-visualizer.

Citrussss avatar Citrussss commented on July 28, 2024

@Citrussss I am facing the same issue Did you find something to handle this issue?

i am download code and change it at local .

    fun updateWaveData(waveData: ByteArray) {
        if(this::mDestWaveData.isInitialized){//add this line..
            System.arraycopy(waveData, 0, mDestWaveData, 0, mDestWaveData.size)
            System.arraycopy(computedWaveData, 0, mPrevWaveData, 0, mPrevWaveData.size)
//        System.arraycopy(waveData, 0, computedWaveData, 0, computedWaveData.size)
//        System.arraycopy(waveData, 0, mPrevWaveData, 0, mPrevWaveData.size)
            mWaveAnimator.reset()
        }
    }

from nier-visualizer.

olivaresrafael avatar olivaresrafael commented on July 28, 2024

I am facing the same issue when restar activity.

from nier-visualizer.

sergeykrupenich avatar sergeykrupenich commented on July 28, 2024

are there any updates related to the issue?

from nier-visualizer.

bogerchan avatar bogerchan commented on July 28, 2024

Sorry for the late reply, the issue is happened when you are not call the start event, you can call the following codes after the activity is restarted.

mVisualizerManager?.start(svWave, mRenderers[idx % mRenderers.size])

Next release will fix this issue. : )

from nier-visualizer.

rameezhandel avatar rameezhandel commented on July 28, 2024

Thanks for the wonderful library.
when are you releasing the fix for this issue?

from nier-visualizer.

Citrussss avatar Citrussss commented on July 28, 2024

@rameezhandel I dont think so what he would fix it ASAP when he tell at 2020 but 🐦 咕咕咕(joke!)

from nier-visualizer.

kishorekumarek avatar kishorekumarek commented on July 28, 2024

fun updateWaveData(waveData: ByteArray) {
if(this::mDestWaveData.isInitialized){//add this line..
System.arraycopy(waveData, 0, mDestWaveData, 0, mDestWaveData.size)
System.arraycopy(computedWaveData, 0, mPrevWaveData, 0, mPrevWaveData.size)
// System.arraycopy(waveData, 0, computedWaveData, 0, computedWaveData.size)
// System.arraycopy(waveData, 0, mPrevWaveData, 0, mPrevWaveData.size)
mWaveAnimator.reset()
}
}

@Citrussss this fixed the crash for you?

from nier-visualizer.

Citrussss avatar Citrussss commented on July 28, 2024

sure ,but aren't you an IOS developer? @kishorekumarek

from nier-visualizer.

kishorekumarek avatar kishorekumarek commented on July 28, 2024

@Citrussss yes i work on android as well.. :)

from nier-visualizer.

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.