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
410 B
Plaintext
16 lines
410 B
Plaintext
$OpenBSD: patch-nmixer_nmixer_cc,v 1.1 2010/01/11 07:51:26 jakemsr Exp $
|
|
--- nmixer/nmixer.cc.orig Sun Dec 27 01:47:42 2009
|
|
+++ nmixer/nmixer.cc Sun Dec 27 01:48:15 2009
|
|
@@ -151,6 +151,11 @@ NMixer::InitMixerDevice() {
|
|
mixers = new OSSMixer(mixdev);
|
|
#endif
|
|
|
|
+#ifdef WANT_SNDIO
|
|
+ if (!mixers)
|
|
+ mixers = new SndioMixer(mixdev);
|
|
+#endif
|
|
+
|
|
if (!mixers)
|
|
{
|
|
//fallback option if no mixers are available
|