$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;