forked from FluidSynth/fluidsynth
-
Notifications
You must be signed in to change notification settings - Fork 2
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
PS2 fluidsynth #1
Open
7dog123
wants to merge
27
commits into
ps2dev:ee-sans_glib
Choose a base branch
from
7dog123:ee-sans_glib
base: ee-sans_glib
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
fa5173c
Implement MSGS-style Drum Note Cut (#1199)
derselbst bd04f3f
Make settings more pleasing, natural and subtler (#1287)
es20490446e eabae3b
Merge remote-tracking branch 'origin/release/2.3' into master
derselbst 652df6f
Fix signedness warning
derselbst 1b40e17
Fix ISO C warning
derselbst 0901883
Stop the pipewire loop before destroying the stream
mawe42 0588096
Lock thread loop before destroying stream
mawe42 56932cd
Deprecate LASH support
derselbst a3b88cc
Make it a WARNING
derselbst 895f07d
Fix XG drum bank selection logic
derselbst c5ed1af
Merge branch 'release/2.3' into master
derselbst 72cc6b3
Remove LASH
derselbst 619fc5c
Add FLUID_HOST_COMPILER cmake variable
derselbst 46ff5fa
Merge branch 'release/2.3' into master
derselbst db86c36
Remove vcpkg CI badge from README
derselbst e104532
add a new windows workflow based on msys2 (#1316)
pedrolcl f78a9db
Minor fixups for MSYS2 CI (#1317)
derselbst abdd098
Keep GitHub Actions up to date with GitHub's Dependabot
cclauss 60ee179
Merge pull request #1318 from cclauss/patch-1
derselbst 7a4f8c7
Bump the github-actions group with 2 updates
dependabot[bot] cb8da1e
Merge pull request #1319 from FluidSynth/dependabot/github_actions/gi…
derselbst af8de7b
Sloppy port to PS2
7dog123 d2100a2
Since the PS2SDK doesn't have atomic libaries use global mutex from p…
7dog123 9c72492
Update fluidsynth_priv.h
7dog123 f41b53c
Merge branch 'ee-sans-glib' into ee-sans_glib
Wolf3s 0e14d79
Remove messy PS2 code.
Wolf3s ffa4324
Merge pull request #1 from Wolf3s/ee-sans-glib
7dog123 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -328,6 +328,29 @@ typedef _private fluid_private_t; | |
|
||
/* Atomic operations */ | ||
|
||
#if HAVE_PTHREAD_H | ||
|
||
#include <stdbool.h> | ||
|
||
int pthread_atomic_int_get(const volatile int *atomic); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I know that currently EE toolchain doesn't support |
||
void pthread_atomic_int_inc(volatile int *atomic); | ||
void pthread_atomic_int_set(volatile int *atomic, int value); | ||
bool pthread_atomic_int_dec_and_test (volatile int *atomic); | ||
bool pthread_atomic_int_compare_and_exchange(volatile int *atomic, int oldval, int newval); | ||
int pthread_atomic_int_add(volatile int *atomic, int val); | ||
|
||
#define fluid_atomic_int_inc(_pi) pthread_atomic_int_inc(_pi) | ||
#define fluid_atomic_int_get(_pi) pthread_atomic_int_get(_pi) | ||
#define fluid_atomic_int_set(_pi, _val) pthread_atomic_int_set(_pi, _val) | ||
#define fluid_atomic_int_dec_and_test(_pi) pthread_atomic_int_dec_and_test(_pi) | ||
#define fluid_atomic_int_compare_and_exchange(_pi, _old, _new) \ | ||
pthread_atomic_int_compare_and_exchange(_pi, _old, _new) | ||
#define fluid_atomic_int_add(_pi, _add) \ | ||
pthread_atomic_int_add(_pi, _add) | ||
#define fluid_atomic_int_exchange_and_add(_pi, _add) \ | ||
pthread_atomic_int_add(_pi, _add) | ||
|
||
#else | ||
#define fluid_atomic_int_inc(_pi) atomic_fetch_add(_pi, 1) | ||
#define fluid_atomic_int_get(_pi) atomic_load(_pi) | ||
#define fluid_atomic_int_set(_pi, _val) atomic_store(_pi, _val) | ||
|
@@ -344,6 +367,8 @@ typedef _private fluid_private_t; | |
#define fluid_atomic_pointer_compare_and_exchange(_pp, _old, _new) \ | ||
atomic_compare_exchange_weak(_pp, _old, _new) | ||
|
||
#endif | ||
|
||
static FLUID_INLINE void | ||
fluid_atomic_float_set(fluid_atomic_float_t *fptr, float val) | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these specific changes being needed?