-
src/xpdev/xpbeep.c
From
deuce@VERT to
CVS commit on Thu Oct 18 10:51:13 2012
src/xpdev xpbeep.c 1.82 1.83
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv18800
Modified Files:
xpbeep.c
Log Message:
Add a SetThreadName() call.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.sync
-
From
deuce@VERT to
CVS commit on Wed Feb 5 02:19:21 2014
src/xpdev xpbeep.c 1.84 1.85
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv9417
Modified Files:
xpbeep.c
Log Message:
Fix warning.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 23 03:56:46 2014
src/xpdev xpbeep.c 1.86 1.87
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv12883
Modified Files:
xpbeep.c
Log Message:
Coverity discovered not checking malloc() return.
---
þ Synchronet þ Vertrauen þ Home of Synchrone
-
From
deuce@VERT to
CVS commit on Wed Apr 23 22:54:12 2014
src/xpdev xpbeep.c 1.87 1.88
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv30644
Modified Files:
xpbeep.c
Log Message:
Coverity bug: From the pthread standard:
"Attempting to destroy a locked mutex results in undefined behavior."
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 23 23:37:11 2014
src/xpdev xpbeep.c 1.88 1.89
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv31042
Modified Files:
xpbeep.c
Log Message:
Coverity bug: Fix potential memory leaks when exiting xp_play_sample_thread(). Overhaul of the sample allocation by setting it to NULL when it's copied to something that will free it, and for Win32, wait for the currently playing sample (if any) to complete before returning, and free the handle then.
---
þ Synchronet þ Vertrauen þ Home of Synchronet
-
From
deuce@VERT to
CVS commit on Thu Apr 24 00:56:29 2014
src/xpdev xpbeep.c 1.89 1.90
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv31956
Modified Files:
xpbeep.c
Log Message:
Finish the memory leak fix for xp_play_sample_thread() to account for the
case where the handle_type becomes invalid somehow (exceptionall unlikely)
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net
-
From
deuce@VERT to
CVS commit on Wed Feb 11 00:02:39 2015
src/xpdev xpbeep.c 1.90 1.91
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv1837
Modified Files:
xpbeep.c
Log Message:
The SDL audio system continues to play silence after the sample is done.
This means waiting for sdl.GetAudioStatus()!=SDL_AUDIO_PLAYING is an
infinite loop. Pause the audio after the tone is completed to prevent this.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net
-
From
deuce@VERT to
CVS commit on Wed Feb 11 03:16:50 2015
src/xpdev xpbeep.c 1.91 1.92
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv4427
Modified Files:
xpbeep.c
Log Message:
Make the decision on having to close each time through the loop, not once
at the first pass!
This should fix delays between notes on any platform that has any delay when opening or closing an audio device.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net
-
From
deuce@VERT to
CVS commit on Thu Feb 12 03:33:57 2015
src/xpdev xpbeep.c 1.92 1.93
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv20834
Modified Files:
xpbeep.c
Log Message:
If malloc() fails, uninitialized value would be passed to xp_dlclose()
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net
-
From
deuce@VERT to
CVS commit on Mon Apr 27 19:06:53 2015
src/xpdev xpbeep.c 1.93 1.94
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv11659
Modified Files:
xpbeep.c
Log Message:
Fix loop boundaries when cleaning up tone tail.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net
-
From
deuce@VERT to
CVS commit on Thu Feb 1 01:10:45 2018
src/xpdev xpbeep.c 1.95 1.96
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv9039
Modified Files:
xpbeep.c
Log Message:
Fix warning.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu Mar 8 21:50:12 2018
src/xpdev xpbeep.c 1.96 1.97
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv12411
Modified Files:
xpbeep.c
Log Message:
Fix memory leak found by scan-build.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu Apr 16 06:25:04 2020
src/xpdev xpbeep.c 1.99 1.100
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv12008
Modified Files:
xpbeep.c
Log Message:
Part two of xpbeep overhaul... remove duplicated code, fix leaks, fix
races, etc.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Mon Apr 27 23:42:08 2020
src/xpdev xpbeep.c 1.100 1.101
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv21901
Modified Files:
xpbeep.c
Log Message:
Fix some warnings.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Wed Apr 29 21:03:17 2020
src/xpdev xpbeep.c 1.102 1.103
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv6227
Modified Files:
xpbeep.c
Log Message:
SDL needs a copy of the sample as well (ie: it keeps it around and free()s
it itself)
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Fri May 1 13:43:54 2020
src/xpdev xpbeep.c 1.103 1.104
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv10313
Modified Files:
xpbeep.c
Log Message:
Ignore the result of snd_pcm_drain() rather than waiting for it to work.
Call snd_pcm_prepare() before every sample.
Should fix bug #2
https://sourceforge.net/p/syncterm/tickets/2/
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 14 04:17:29 2020
src/xpdev xpbeep.c 1.107 1.108
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv19922
Modified Files:
xpbeep.c
Log Message:
Only access PU from one thread because it's shit.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 14 11:35:45 2020
src/xpdev xpbeep.c 1.108 1.109
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv22647
Modified Files:
xpbeep.c
Log Message:
Remove debug printf()
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 14 11:55:13 2020
src/xpdev xpbeep.c 1.109 1.110
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv25184
Modified Files:
xpbeep.c
Log Message:
More rhobust pulseaudio fail-through.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 14 13:54:30 2020
src/xpdev xpbeep.c 1.110 1.111
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv26118
Modified Files:
xpbeep.c
Log Message:
I thought I removed this debug output already...
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 14 15:57:27 2020
src/xpdev xpbeep.c 1.111 1.112
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv12690
Modified Files:
xpbeep.c
Log Message:
xptone_open() is also a valid first call... put the pthread_once() in there
as well.
Fixes
https://sf.net/p/syncterm/tickets/14/
and
https://sf.net/p/syncterm/tickets/16/
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
deuce@VERT to
CVS commit on Thu May 14 18:12:10 2020
src/xpdev xpbeep.c 1.112 1.113
Update of /cvsroot/sbbs/src/xpdev
In directory cvs:/tmp/cvs-serv4877
Modified Files:
xpbeep.c
Log Message:
Fix last commit for #ifndef XPDEV_THREAD_SAFE
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Wed Mar 17 23:41:53 2021
https://gitlab.synchro.net/main/sbbs/-/commit/123f60d7afd45bf788bedf42
Modified Files:
src/xpdev/xpbeep.c
Log Message:
Fix ALSA output on Linux
It seems that the "real" ALSA will actually silently fail if you
try to clear errors when no errors have occured. The FreeBSD
emulation of ALSA does not have this insane requirement, so this
went unnoticed for the 1.1 release.
I suspect that this actually fixes SF bug 24, because ALSA is
preferred over pulseaudio.
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Mar 18 00:15:18 2021
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Mar 18 09:58:31 2021
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Mar 18 14:24:32 2021
https://gitlab.synchro.net/main/sbbs/-/commit/e07b57962248e5cc907ca032
Modified Files:
src/xpdev/xpbeep.c
Log Message:
When trying to open pulse, play a millisecond of silence
This allows the playback thread to open the device and errors to
be checked. Otherwise, the first sound won't play.
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Mar 18 14:25:58 2021
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Mar 18 14:27:14 2021
-
From
Rob Swindell@VERT to
Git commit to main/sbbs/master on Thu Mar 18 18:37:54 2021
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Fri Mar 19 11:05:12 2021
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Wed Feb 7 12:23:42 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Sat Feb 10 21:49:16 2024
https://gitlab.synchro.net/main/sbbs/-/commit/2e2ab2510aa35d61fda176c1
Modified Files:
src/xpdev/xpbeep.c
Log Message:
Fix some warnings.
We can't use const protection for the sample buffer because the Win32
API takes non-const buffers. For standard implicit conversions,
simply disable the warning where it occurs on purpose. It appears
that MSVC builds use the equivilent of -Wconversion (which isn't even
part of -Wall).
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
-
From
Rob Swindell (on Windows 11)@VERT to
Git commit to main/sbbs/master on Sat Feb 10 22:10:30 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Sat Feb 10 22:28:17 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Feb 22 06:50:40 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Feb 22 07:03:57 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Mon Sep 30 20:15:08 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Dec 19 14:03:39 2024
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Thu Jan 2 10:16:46 2025
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Fri Jan 3 09:38:31 2025
https://gitlab.synchro.net/main/sbbs/-/commit/a51bb0859323c8492f340d7c
Modified Files:
src/xpdev/xpbeep.c
Log Message:
Make the types correct and eliminate infinite loop.
If a write() to the sound device fails (for example USB device goes
away), this would loop forever (in it's own thread and whatnot,
so you only notice because sounds stops and a core gets used up).
---
ï¿ Synchronet ï¿ Vertrauen ï¿ Home of Synchronet ï¿ [vert/cvs/bbs].synchro.net
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Fri Jan 3 11:01:35 2025
-
From
Deucе@VERT to
Git commit to main/sbbs/master on Mon Jan 20 14:02:41 2025