X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/c9467b7a34160c4e25580a2dc82087c5ae0bb2d0..92db088e5b292c1180a090ed369b9851e933e610:/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); } /*