diff options
author | Max Kellermann <max@duempel.org> | 2009-02-16 00:43:12 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-16 00:43:12 +0100 |
commit | a5c0394007c2cd25bed707d2d5858bd05af7a11b (patch) | |
tree | 1d8b07c5aa532de183fdb1af5531728811e95fd1 | |
parent | 3a82283b1959b6a7d5a2d5d8df6f96bff2618a3e (diff) | |
download | mpd-a5c0394007c2cd25bed707d2d5858bd05af7a11b.tar.gz mpd-a5c0394007c2cd25bed707d2d5858bd05af7a11b.tar.xz mpd-a5c0394007c2cd25bed707d2d5858bd05af7a11b.zip |
output_api: moved "enum output_command" to output_internal.h
Now that the output_command enum isn't exposed to output plugins
anymore, we can hide its definition within output_internal.h.
Diffstat (limited to '')
-rw-r--r-- | src/output_api.h | 11 | ||||
-rw-r--r-- | src/output_internal.h | 11 |
2 files changed, 11 insertions, 11 deletions
diff --git a/src/output_api.h b/src/output_api.h index 15d39f33f..15eb657c7 100644 --- a/src/output_api.h +++ b/src/output_api.h @@ -114,17 +114,6 @@ struct audio_output_plugin { void (*send_tag)(void *data, const struct tag *tag); }; -enum audio_output_command { - AO_COMMAND_NONE = 0, - AO_COMMAND_OPEN, - AO_COMMAND_CLOSE, - AO_COMMAND_PLAY, - AO_COMMAND_PAUSE, - AO_COMMAND_CANCEL, - AO_COMMAND_SEND_TAG, - AO_COMMAND_KILL -}; - enum audio_control_command { AC_MIXER_GETVOL = 0, AC_MIXER_SETVOL, diff --git a/src/output_internal.h b/src/output_internal.h index d2b6e41b2..9f842159f 100644 --- a/src/output_internal.h +++ b/src/output_internal.h @@ -26,6 +26,17 @@ #include <time.h> +enum audio_output_command { + AO_COMMAND_NONE = 0, + AO_COMMAND_OPEN, + AO_COMMAND_CLOSE, + AO_COMMAND_PLAY, + AO_COMMAND_PAUSE, + AO_COMMAND_CANCEL, + AO_COMMAND_SEND_TAG, + AO_COMMAND_KILL +}; + struct audio_output { /** * The device's configured display name. |