kcat

Results 640 comments of kcat

> If I can’t trust that the version of OpenAL Soft I’m passing audio to hasn’t been modified by a malicious user to include fopen() and fwrite() calls, then I...

So it queued a buffer that was never filled with any data, which resulted in it having no real format, so the next real buffer to be queued didn't match...

The spec says about `alSourceQueueBuffers`: ``` All buffers in a queue must have the same format and attributes, with the exception of the NULL buffer (i.e., 0) which can always...

> It indeed seems that each time the Frequency shows up as 0 in the game, *BufferFmt->mSampleLen* also returns 0. Yes, because if Frequency is 0, `alBufferData` was never called...

There's actually two DLLs from Creative... `wrap_oal.dll` implements a software mixer and a wrapper over DirectSound3D, and `ct_oal.dll` which is a hardware implementation for their cards. Older versions of `wrap_oal.dll`...

There haven't been any recent changes with the DirectSound backend. Underruns should also be more likely to cause repeats in the playback stream instead of crackling with that backend. If...

It does that since `1.21.0`. Starting with commit 8853519d896f11b678873f0afacac16b3cdebc27 (there's been additional commits since then that fix problems that came to light afterward), the tables are calculated when the library...

1.19 embeds the HRTF data by default (`ALSOFT_EMBED_HRTF_DATA`), which slightly increases the library size but doesn't require extra `.mhr` files to support HRTF at runtime, and adds a higher quality...

> Is it expected that ALSOFT_EMBED_HRTF_DATA is a larger in 1.21.1 than 1.19.1? Did the HRTF data increase in size? No, the HRTF data should actually be less with 1.21...

There doesn't seem to be much readily-available information on what `-dead_strip` does. It seems to be Darwin-specific. MinSizeRel builds should already link with `-s` to strip unused symbols/code, so I'm...