Skip to content

Incorrect sends assumption #93

@alexytomi

Description

@alexytomi

The default number of source sends is now actually 2, as per the EFX docs.
However, it can be raised up to 16 via ALC_MAX_AUXILIARY_SENDS attribute
requests, rather than the previous 4.

kcat/openal-soft@d3cc867 (In 1.21.0)

  • OpenAL Soft: Updated to 1.23.1 (up from 1.23.0)
  • Added AL_SOFT_buffer_length_query extension.
  • Added AL_SOFT_source_start_delay extension.
  • Added AL_SOFT_UHJ_ex extension.

https://github.com/LWJGL/lwjgl3/blob/master/doc/notes/3.3.3.md

The default number of sends in modern openal-soft is 2, however the mod expects 4 sends slots. I hear no actual difference but logs does pop a warning up.

[ALSOFT] (WW) Error generated on context 0x74744922c0, code 0xa003, "Invalid send 2"
[ALSOFT] (WW) Error generated on context 0x74744922c0, code 0xa003, "Invalid send 3"
[ALSOFT] (WW) Error generated on context 0x74744922c0, code 0xa003, "Invalid send 2"
...repeatedly

The Minecraft log itself then gets filled up with ALC_INVALID_ENUM errors

This means if someone is using a janky fucking setup that's using newer openal-soft, the mod spews out errors.

This is probably invalid because it's not possible in official minecraft lwjgl nor official lwjgl at all but am documenting it anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions