pkgsrc/emulators/fuse-emulator/patches/patch-sound_osssound.c
adam 38bdf195d9 Fuse 1.3.5:
Emulation core improvements:
* Disable tape traps when playing/recording RZX files

Miscellaneous improvements:
* Fix typo in LOG disk format
* Replace old ticket numbers from Trac to Allura
* WidgetUI: Fix memory leak in file selector
* Fix allocator sizeof operand mismatch and remove dead assignment
* Remove prototypes of old plus3 disk functions
* Increase allocated memory to keep GCC7 happy
2017-05-26 19:35:48 +00:00

15 lines
567 B
C

$NetBSD: patch-sound_osssound.c,v 1.1 2017/05/26 19:35:48 adam Exp $
Use correct OSS device across platforms.
--- sound/osssound.c.orig 2007-12-21 17:43:10.000000000 +0100
+++ sound/osssound.c
@@ -52,7 +52,7 @@ int sound_lowlevel_init(const char *devi
int frag,tmp,flags;
/* select a default device if we weren't explicitly given one */
-if(device==NULL) device = "/dev/dsp";
+if(device==NULL) device = DEVOSSAUDIO;
/* Open the sound device non-blocking to avoid hangs if it is being
* used by something else, but then set it blocking again as that's what