Giter Club home page Giter Club logo

Comments (7)

flibitijibibo avatar flibitijibibo commented on August 21, 2024

This is on me; I have some Owlboy WaveBanks marked as streaming when they shouldn't be. What you can do is go to that assert and set wb->streaming = isStreaming and both asserts should go away (and the game should run just fine).

from faudio.

rfht avatar rfht commented on August 21, 2024

Will this be fixed in Owlboy with an update? Or will FAudio need to accomodate here? It would be a little impractical to have a separate build of FAudio just for this, it would seem...

from faudio.

flibitijibibo avatar flibitijibibo commented on August 21, 2024

I'll update Owlboy at some point, not sure when yet. I thought about setting wb->streaming after the assert but I dunno if that's safe to do with WMA yet. Once we have WMA support done for Wine I'll be able to say for sure that it's either safe to override or requires an update to the games I tweaked (I think it's just Owlboy, Apotheon and Cryptark I did this for?).

from faudio.

rfht avatar rfht commented on August 21, 2024

In the meantime, is it safe to run everything with wb->streaming = isStreaming? Or will other games break? In that case, I'll keep 2 versions of libFAudio around for now.

from faudio.

flibitijibibo avatar flibitijibibo commented on August 21, 2024

AFAIK it should be safe with PCM/ADPCM, so if you want to include a patch in your packages that should be okay. If you want to avoid asserts you can compile with O2+ and the SDL_ASSERT_LEVEL should bump up one level and skip any popups.

from faudio.

rfht avatar rfht commented on August 21, 2024

Thanks, I didn't know this was affected by -O2 compiler flag. The package for OpenBSD should/will be set up to use -O2 anyway.

The time window before OpenBSD 6.4-release is closing, but I hope to get some testing in before then.

from faudio.

rfht avatar rfht commented on August 21, 2024

Okay, with adding a patch to set wb->streaming = isStreaming and building with -O2, Owlboy works just fine and audio is great. 👍

from faudio.

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.