X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/e7eb3a2744aa45179daea235800753d3d1955338..11680e1989c6c867f207be7197602776e05cae6a:/clients/playrtp.h diff --git a/clients/playrtp.h b/clients/playrtp.h index 900ff50..ff8a761 100644 --- a/clients/playrtp.h +++ b/clients/playrtp.h @@ -58,11 +58,15 @@ struct packet { * * Valid values are: * - @ref IDLE - the idle bit was set in the RTP packet + * - @ref SILENT - packet is entirely silent */ unsigned flags; /** @brief idle bit set in RTP packet*/ #define IDLE 0x0001 +/** @brief RTP packet is entirely silent */ +#define SILENT 0x0002 + /** @brief Raw sample data * * Only the first @p nsamples samples are defined; the rest is uninitialized @@ -128,7 +132,6 @@ void playrtp_free_packet(struct packet *p); void playrtp_fill_buffer(void); struct packet *playrtp_next_packet(void); -extern const char *device; extern struct packet *received_packets; extern struct packet **received_tail; extern pthread_mutex_t receive_lock;