chiark / gitweb /
playrtp: refuse to play RTP via RTP.
authorRichard Kettlewell <rjk@terraraq.org.uk>
Sun, 31 Jul 2011 11:24:44 +0000 (12:24 +0100)
committerRichard Kettlewell <rjk@terraraq.org.uk>
Sun, 31 Jul 2011 11:24:44 +0000 (12:24 +0100)
commit30a821969dcd507dc7da2583fa0134492dfd82b2
treeb796571e88875a47b7c0beef867b772d69c0838e
parentf122b27f9200e7bb73888e5efe4873671545182c
playrtp: refuse to play RTP via RTP.

playrtp attempting to use the RTP backend becomes the default
situation if no local sound output API is available.  This can happen
using (e.g.)  Fink's GCC 4.4, because it cannot compile Apple's header
files, and so concludes that CoreAudio/AudioHardware.h is not
available.

This is about the minimal possible change to stop playrtp crashing in
this case.  There are a variety of better possible answers.
clients/playrtp.c