Commit graph

6 commits

Author SHA1 Message Date
Simon Howard
7fd60f8d9b Add thread name to SDL_CreateThread calls.
SDL2's version of SDL_CreateThread has an extra parameter to specify
a name for the thread.
2014-11-28 15:43:26 -05:00
Simon Howard
7684ddcfd8 Clean up file headers.
This change rewrites and simplifies the copyright headers at the top
of all source files:

 * Remove "Emacs style mode select" line; this line was included in
   the headers for the originally released source files and appears
   to be to set the file type for old versions of Emacs. I'm not sure
   entirely why it was required but I don't think it is any more.
 * Remove "You should have received a copy of..." text from copyright
   header. This refers to the old 59 Temple Place address where the
   FSF headquarters used to be located and is no longer correct.
   Rather than change to the new address, just remove the paragraph
   as it is superfluous anyway. This fixes #311.
 * Remove ---- separator lines so that the file headers are barer
   and more simplified.
2014-05-05 00:20:54 -04:00
Simon Howard
46fb2a7c8c pcsound: Fix resouce leak with speaker_handle.
speaker_handle should be close()d after forking the separate sound
server. This fixes #192 (thanks Edward-san).
2014-04-10 00:09:15 -04:00
Simon Howard
125f86e18b Make the BSD PC speaker driver work on FreeBSD.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1113
2008-04-15 23:16:16 +00:00
Simon Howard
604e09624e Try to open /dev/speaker in the parent process, so that we can tell if
we don't have permission to open it before we fork.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 966
2007-09-03 00:43:29 +00:00
Simon Howard
0517fad3f4 Add pcsound driver for OpenBSD.
Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 965
2007-09-03 00:30:51 +00:00