Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
2b51cb0a
Commit
2b51cb0a
authored
4 years ago
by
deuce
Browse files
Options
Downloads
Patches
Plain Diff
Fix last commit for #ifndef XPDEV_THREAD_SAFE
parent
ecf6b7aa
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/xpdev/xpbeep.c
+4
-0
4 additions, 0 deletions
src/xpdev/xpbeep.c
with
4 additions
and
0 deletions
src/xpdev/xpbeep.c
+
4
−
0
View file @
2b51cb0a
...
...
@@ -210,7 +210,9 @@ struct alsa_api_struct {
struct
alsa_api_struct
*
alsa_api
=
NULL
;
#endif
#ifdef XPDEV_THREAD_SAFE
static
void
init_sample
(
void
);
#endif
/********************************************************************************/
/* Calculate and generate a sound wave pattern (thanks to Deuce!) */
...
...
@@ -366,7 +368,9 @@ void DLLCALL sdl_fillbuf(void *userdata, Uint8 *stream, int len)
}
#endif
#ifdef XPDEV_THREAD_SAFE
pthread_once_t
sample_initialized_pto
=
PTHREAD_ONCE_INIT
;
#endif
static
BOOL
DLLCALL
xptone_open_locked
(
void
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment