chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
disorder-playrtp now prefers to drop silent packets (rather than
[disorder]
/
clients
/
playrtp.h
diff --git
a/clients/playrtp.h
b/clients/playrtp.h
index d5caa4c1c66cdeaae135f63fb46557f3c6af4b3f..ff8a76197052ffc4734866d6c8dc1fe9bf11688d 100644
(file)
--- 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
*
* 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
*/
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
/** @brief Raw sample data
*
* Only the first @p nsamples samples are defined; the rest is uninitialized