]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - udp_header.h
Implement chunk queing for the udp sender.
[paraslash.git] / udp_header.h
index 555180570f5ebd79b2df54555f89618c285e6cf1..24f6bb87d3a411b57984c8bbea1a1d2d1f3e4e36 100644 (file)
@@ -25,10 +25,10 @@ enum udp_stream_type {
 
 /** The possible packet types. */
 enum udp_audio_packet_type {
-       /** End of file. */
-       UDP_EOF_PACKET,
        /** Beginning of file. */
        UDP_BOF_PACKET,
+       /** End of file. */
+       UDP_EOF_PACKET,
        /** Combined header/data packet (ogg only). */
        UDP_HEADER_PACKET,
        /** Packet contains only audio file data. */
@@ -107,8 +107,7 @@ _static_inline_ void udp_write_packet_type(char *buf, uint8_t type)
  *
  * \param buf The buffer.
  *
- * \return One of the four differnt packet types.
- * \sa \ref udp_stream_type.
+ * \return The packet type, see \ref udp_stream_type.
  */
 _static_inline_ uint8_t udp_read_packet_type(char *buf)
 {