Comments (7)
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.
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.
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.
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.
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.
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.
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)
- FFXIV Endwalker Benchmark no audio and crashes in xaudio2_7 on exit HOT 1
- Add support for (custom) HRTF HOT 3
- FAudio versions after 22.07 cause popping HOT 1
- Should we use an external library for the resampler and/or mixer? HOT 8
- Does this library support Android version? If supported, how to compile it? HOT 2
- Super Meat Boy makes ear shattering sound with faudio. HOT 7
- Spider-Man: Shattered Dimensions - dialogue audio doesn't play HOT 4
- Bool size in Darwin ppc ABI is 4-byte (Windows too?) HOT 8
- FAudio.h:723: error: wrong number of arguments specified for ‘deprecated’ attribute HOT 3
- Failure with audio device with 18 inputs: "OpenAudioDevice failed: Unsupported number of audio channels" HOT 3
- warning: expression result un used [-Wunused-value]
- Document graph dependency issues for DestroyVoice
- Segmentation Fault. HOT 1
- Playing VVVVVV on the Wii gives just noise HOT 4
- Running into a segmentation fault HOT 1
- Moorhuhn Director's Cut crashes inside FACTSoundBank_Prepare HOT 2
- SDL3 support HOT 12
- (Question) Implementing Spatial Audio HOT 2
- Windows tests don't compile (unknown type name ‘IXAudio27SourceVoice’)
- Assertion failed: !FAILED(hr) && "Failed to get default audio endpoint!" when there are no audio devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from faudio.