X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/2e9ba080dd30434f3e8f88e63029280889586a32..6edfd17ae7012be4f2365f8e84e4a1654fb1fdb6:/clients/playrtp.c diff --git a/clients/playrtp.c b/clients/playrtp.c index 2ab6790..2bd2452 100644 --- a/clients/playrtp.c +++ b/clients/playrtp.c @@ -678,6 +678,12 @@ int main(int argc, char **argv) { } } if(config_read(0, NULL)) disorder_fatal(0, "cannot read configuration"); + if(backend == &uaudio_rtp) { + /* This means that you have NO local sound output. This can happen if you + * use a non-Apple GCC on a Mac (because it doesn't know how to compile + * CoreAudio/AudioHardware.h). */ + disorder_fatal(0, "cannot play RTP through RTP"); + } if(!maxbuffer) maxbuffer = 2 * minbuffer; argc -= optind;