diff options
Diffstat (limited to 'src/DecoderCommand.hxx')
-rw-r--r-- | src/DecoderCommand.hxx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/DecoderCommand.hxx b/src/DecoderCommand.hxx index e6dc26982..394f270c2 100644 --- a/src/DecoderCommand.hxx +++ b/src/DecoderCommand.hxx @@ -20,11 +20,13 @@ #ifndef MPD_DECODER_COMMAND_HXX #define MPD_DECODER_COMMAND_HXX -enum decoder_command { - DECODE_COMMAND_NONE = 0, - DECODE_COMMAND_START, - DECODE_COMMAND_STOP, - DECODE_COMMAND_SEEK +#include <stdint.h> + +enum class DecoderCommand : uint8_t { + NONE = 0, + START, + STOP, + SEEK }; #endif |