X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/b50cfb8a0d4fc71877ae0bfcd7b28879886a2ac1..08b645e5286b46b3606b92482b4cf0e1bd89f63e:/lib/uaudio-apis.c diff --git a/lib/uaudio-apis.c b/lib/uaudio-apis.c index 1006fd9..867b1fd 100644 --- a/lib/uaudio-apis.c +++ b/lib/uaudio-apis.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder. - * Copyright (C) 2009 Richard Kettlewell + * Copyright (C) 2009, 2013 Richard Kettlewell * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -35,6 +35,9 @@ const struct uaudio *const uaudio_apis[] = { #if HAVE_COREAUDIO_AUDIOHARDWARE_H &uaudio_coreaudio, #endif +#if HAVE_PULSEAUDIO + &uaudio_pulseaudio, +#endif #if HAVE_ALSA_ASOUNDLIB_H &uaudio_alsa, #endif @@ -55,7 +58,7 @@ const struct uaudio *uaudio_find(const char *name) { return uaudio_apis[n]; if(!strcmp(name, "network")) return &uaudio_rtp; - fatal(0, "cannot find audio API '%s'", name); + disorder_fatal(0, "cannot find audio API '%s'", name); } /*