• src/xpdev/xpbeep.c

    From Deucе@VERT to Git commit to main/sbbs/master on Wednesday, March 17, 2021 23:41:53
    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 Thursday, March 18, 2021 00:15:18
    https://gitlab.synchro.net/main/sbbs/-/commit/dc1d24b3b16cc0210c56cfd1
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Re-enable PulseAudio, ensure the handle is set to NULL on close.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thursday, March 18, 2021 09:58:31
    https://gitlab.synchro.net/main/sbbs/-/commit/fc9f3d6e3a62fa3e288cdaf4
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Do what was likely intended by 8b6b7b7c

    The previous attempt completely disabled pulse audio.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thursday, March 18, 2021 14:24:32
    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 Thursday, March 18, 2021 14:25:58
    https://gitlab.synchro.net/main/sbbs/-/commit/e07d1380e650ce7992444f1f
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Fix bug in last commit (extra parameter)

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thursday, March 18, 2021 14:27:14
    https://gitlab.synchro.net/main/sbbs/-/commit/0ef63571e50584c81e2e3da4
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Remove debug crap.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Thursday, March 18, 2021 18:37:54
    https://gitlab.synchro.net/main/sbbs/-/commit/606762311f25c816bdb153ee
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Fix the single-threaded build:

    error: ‘handle_mutex’ undeclared

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Friday, March 19, 2021 11:05:12
    https://gitlab.synchro.net/main/sbbs/-/commit/d5e788518f41cbfddf9b3273
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Fix race condition when handle is opened by playing a sample.

    Caused a SyncTERM hang if it played a FG beep.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Monday, September 30, 2024 20:15:08
    https://gitlab.synchro.net/main/sbbs/-/commit/3993af5cda237d9b760680c2
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Since we can check at the menu now, we don't need this warning.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thursday, December 19, 2024 14:03:39
    https://gitlab.synchro.net/main/sbbs/-/commit/a4579ec124b326cd00f8c1ba
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    I *think* this is "FreeBSD or Solaris"...

    Nobody will really care though.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Thursday, January 02, 2025 10:16:46
    https://gitlab.synchro.net/main/sbbs/-/commit/5fd6557c9a1719537ae66b7a
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Some especially silly Coverity-induced paranoia.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Friday, January 03, 2025 09:38:31
    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 Friday, January 03, 2025 11:01:35
    https://gitlab.synchro.net/main/sbbs/-/commit/403fce39994d95a63c030811
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Remove stutter.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Deucе@VERT to Git commit to main/sbbs/master on Monday, January 20, 2025 14:02:41
    https://gitlab.synchro.net/main/sbbs/-/commit/a13b771308ba74307480165b
    Modified Files:
    src/xpdev/xpbeep.c
    Log Message:
    Add missing re-lock in xptone_open_locked()

    While we're here, add debug assertions to the pthread stuff.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net