chiark / gitweb /
More careful testing of scratching, and correctly handle the case
[disorder] / lib / speaker-protocol.h
index ac4fdf0efc5fbb57a7ecf176c89c964d79fbfe4a..520a0c6d4ba3369fad952acaa003a2ae7fbbda8a 100644 (file)
@@ -42,6 +42,7 @@ struct speaker_message {
    * - @ref SM_PAUSED
    * - @ref SM_FINISHED
    * - @ref SM_PLAYING
+   * - @ref SM_UNKNOWN
    */
   int type;
 
@@ -83,6 +84,9 @@ struct speaker_message {
 /** @brief Finished playing track @c id */
 #define SM_FINISHED 129
 
+/** @brief Never heard of track @c id */
+#define SM_UNKNOWN 130
+
 /** @brief Currently track @c id, @c data seconds in
  *
  * This is sent from time to time while a track is playing.