9 #ifndef PLAYD_MESSAGES_H 10 #define PLAYD_MESSAGES_H 19 #define PD_VERSION "0.0.0" 33 "Command must contain at least a tag and one command word";
123 #endif // PLAYD_MESSAGES_H const std::string MSG_DEV_BADID
Message shown when an incorrect device ID is provided.
const std::string MSG_IO_CANNOT_ALLOC
Message shown when allocating an IO object fails.
const std::string MSG_CMD_SHORT
Message shown when the CommandHandler receives an under-length command.
const std::string MSG_NOT_FOUND
Message shown when a command is called with a missing resource.
const std::string MSG_CMD_NEEDS_LOADED
Message shown when a command that works only when a file is loaded is fired when there isn't anything...
const std::string MSG_LOAD_EMPTY_PATH
Message shown when one tries to Load an empty path.
const std::string MSG_INVALID_PAYLOAD
Message shown when an invalid payload is supplied for writing.
const std::string MSG_CMD_PLAYER_CLOSING
Message shown when a command is sent to a closing Player.
const std::string MSG_CMD_NEEDS_STOPPED
Message shown when a command that works only when a file is stopped is fired when there isn't anythin...
const std::string MSG_CMD_NEEDS_PLAYING
Message shown when a command that works only when a file is playing is fired when there isn't anythin...
const std::string MSG_CMD_INVALID
Message shown when the CommandHandler receives an invalid command.
const std::string MSG_SEEK_FAIL
Message shown when an attempt to seek fails.
const std::string MSG_OUTPUT_RINGINIT
Message shown when there is an error initialising the ring buffer.
const std::string MSG_TOO_MANY_CONNS
Message shown when too many simultaneous connections are launched.
const std::string MSG_OHAI_BIFROST
The protocol name and version.
const std::string MSG_OUTPUT_RINGWRITE
Message shown when there is an error writing to the ring buffer.
const std::string MSG_SEEK_INVALID_VALUE
Message shown when a seek command has an invalid time value.
const std::string MSG_INVALID_ACTION
Message shown when we try to write/delete to something we can't.
const std::string MSG_DECODE_BADRATE
Message shown when a bad sample rate is found.
const std::string MSG_OHAI_PLAYD
The playd name and version.