chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More careful testing of scratching, and correctly handle the case
[disorder]
/
lib
/
speaker-protocol.h
diff --git
a/lib/speaker-protocol.h
b/lib/speaker-protocol.h
index ac4fdf0efc5fbb57a7ecf176c89c964d79fbfe4a..520a0c6d4ba3369fad952acaa003a2ae7fbbda8a 100644
(file)
--- a/
lib/speaker-protocol.h
+++ b/
lib/speaker-protocol.h
@@
-42,6
+42,7
@@
struct speaker_message {
* - @ref SM_PAUSED
* - @ref SM_FINISHED
* - @ref SM_PLAYING
* - @ref SM_PAUSED
* - @ref SM_FINISHED
* - @ref SM_PLAYING
+ * - @ref SM_UNKNOWN
*/
int type;
*/
int type;
@@
-83,6
+84,9
@@
struct speaker_message {
/** @brief Finished playing track @c id */
#define SM_FINISHED 129
/** @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.
/** @brief Currently track @c id, @c data seconds in
*
* This is sent from time to time while a track is playing.