Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge dev #513

Merged
merged 8 commits into from
Jan 12, 2025
Merged

merge dev #513

merged 8 commits into from
Jan 12, 2025

Conversation

udo-munk
Copy link
Owner

No description provided.

udo-munk and others added 8 commits January 9, 2025 11:47
Fixed native MS Windows compilation of the frontpanel library after the
C conversion. Can't test if it works, but the code-flow didn't change
with the C conversion, so it should.
compile {non-}SDL files conditionally, fix native MS Windows compilation
Add sound support to the frontpanel library.

Add a power flag to frontpanel, so it can determine that the power is on.
Can be bound with new API call fp_bindPowerFlag().

Add option "fansound" and switch options "onsound" and "offsound" to the
frontpanel configuration file.

Change "make clean" in all Makefile's to remove all .d and .o files, so
there won't be any leftovers from previous compiles with different options.

Initialize all SDL libraries in simsdl.c in case we want to use these
not only in the frontpanel library.
make some noise; remove all .o and .d files on "make clean"
The swap buffer calls where made with the data lock mutexes held,
this caused fp_sampleData() to be blocked until the next VSync on
macOS and Linux using NVIDIA graphics, which is obviously not what
we want.
Was strange before when one resized the window.
move swap buffer calls outside of Lpanel_draw()
@udo-munk udo-munk merged commit 07bb305 into master Jan 12, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants