openbsd-ports/audio/mp3blaster/patches/patch-mpegsound_fileplayer_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

17 lines
510 B
Plaintext

$OpenBSD: patch-mpegsound_fileplayer_cc,v 1.1 2010/01/11 07:51:26 jakemsr Exp $
--- mpegsound/fileplayer.cc.orig Sat Jan 24 07:25:11 2009
+++ mpegsound/fileplayer.cc Sat Jan 2 17:08:58 2010
@@ -79,6 +79,12 @@ bool Fileplayer::opendevice(const char *device, soundt
player = new SDLPlayer();
break;
#endif
+#ifdef WANT_SNDIO
+ case AUDIODRV_SNDIO:
+ debug("Using sndio audiodriver\n");
+ player = new Sndioplayer();
+ break;
+#endif
default:
debug("Unsupported audiodriver!\n");
return false;