openbsd-ports/audio/mp3blaster/patches/patch-nmixer_nmixer_cc
jakemsr 44cb065cc8 - update to mp3blaster-3.2.5
- 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@
2010-01-11 07:51:26 +00:00

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