/** 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. */
*
* \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)
{