44cb065cc8
- add sndio audio to mp3blaster and splay programs - implement nmixer as a generic midi volume controller, that defaults to using the aucat:0 midi device - stop using multiple threads for mpeg decoding. they are poorly implmented, just spinning and using all available cpu cycles with feedback from naddy@ and ratchov@
16 lines
434 B
Plaintext
16 lines
434 B
Plaintext
$OpenBSD: patch-src_splay_common_cc,v 1.1 2010/01/11 07:51:27 jakemsr Exp $
|
|
--- src/splay_common.cc.orig Sun Dec 27 19:35:03 2009
|
|
+++ src/splay_common.cc Sun Dec 27 19:35:39 2009
|
|
@@ -29,7 +29,11 @@ bool splay_shuffleflag=false,
|
|
splay_forcetomonoflag=false;
|
|
|
|
#ifdef PTHREADEDMPEG
|
|
+#ifdef __OpenBSD__
|
|
+int splay_threadnum=0;
|
|
+#else
|
|
int splay_threadnum=50;
|
|
+#endif
|
|
#endif
|
|
|
|
const char *splay_Sounderrors[SOUND_ERROR_UNKNOWN]=
|