Skip to content

Conversation

@kblaschke
Copy link
Member

@kblaschke kblaschke commented Oct 28, 2025

The playlist bug is not critical, but a major inconvenience as reported by several users, so backporting it to 4.1 made sense.

For the new release, I've also cherry-picked a few other small improvements:

  • Update projectm-eval to latest master
  • Add distance intrinsic to HLSLParser
  • Fix array subscript operator in HLSLParser to use int

Also bumped version to 4.1.5 for another small bugfix release with the changes in this PR.

@kblaschke kblaschke added this to the 4.1.5 milestone Oct 28, 2025
@kblaschke kblaschke self-assigned this Oct 28, 2025
@kblaschke kblaschke added bug The issue is (potentially) a bug. important Important bugs or features which should be fixed/implemented ASAP. labels Oct 28, 2025
This caused projectM to sometimes stop switching presets if the index chosen was the end of the given interval. Since the preset switch fails in this case, no additional switches will happen unless the user manually switches to a new preset.

Signed-off-by: Kai Blaschke <[email protected]>
@kblaschke kblaschke force-pushed the playlist-fix-random-preset-index-v4.1.x branch from c396b9f to 2e45114 Compare October 28, 2025 16:54
Required to propagate NaNs as SM3/DX9 does.

Signed-off-by: Kai Blaschke <[email protected]>
Since earlier projectM versions had values in these args which were way higher than they should've been, they were divided by 100. Since the audio processing refactor, this is no longer required, but these divisions were overlooked and thus shaders got only 1% of the actual magnitude expected.

Signed-off-by: Kai Blaschke <[email protected]>
@kblaschke kblaschke force-pushed the playlist-fix-random-preset-index-v4.1.x branch from 2e45114 to 8daabeb Compare November 2, 2025 14:09
@kblaschke
Copy link
Member Author

Added two small, but possibly important fixes by @yoyofr.

@kblaschke kblaschke changed the title Playlist: Fix random preset index selection and other small improvements v4.1.5: Fix random preset index selection, shader issues and other small improvements Nov 2, 2025
yoyofr and others added 2 commits November 2, 2025 15:41
Fixes a small memory leak.

Signed-off-by: Kai Blaschke <[email protected]>
@kblaschke kblaschke force-pushed the playlist-fix-random-preset-index-v4.1.x branch from 8daabeb to 976c70b Compare November 2, 2025 14:42
@kblaschke kblaschke merged commit 976c70b into projectM-visualizer:v4.1.x Nov 3, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug The issue is (potentially) a bug. important Important bugs or features which should be fixed/implemented ASAP.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants