diff --git a/stepmania/src/RageSoundReader.h b/stepmania/src/RageSoundReader.h index 8e274ef574..5dc4106c9a 100644 --- a/stepmania/src/RageSoundReader.h +++ b/stepmania/src/RageSoundReader.h @@ -20,8 +20,17 @@ public: /* Return values for Read(). */ enum { + /* An error occurred; GetError() will return a description of the error. */ ERROR = -1, - END_OF_FILE = -2 + END_OF_FILE = -2, + + /* A nonblocking buffer in the filter chain has underrun, and no data is + * currently available. */ + WOULD_BLOCK = -3, + + /* The source position has changed in an expected way, such as looping. + * Seeking manually will not cause this. */ + STREAM_LOOPED = -4, }; /* GetNextSourceFrame() provides the source frame associated with the next frame