Commit a5c03940 authored by Max Kellermann's avatar Max Kellermann

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.
parent 3a82283b
...@@ -114,17 +114,6 @@ struct audio_output_plugin { ...@@ -114,17 +114,6 @@ struct audio_output_plugin {
void (*send_tag)(void *data, const struct tag *tag); 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 { enum audio_control_command {
AC_MIXER_GETVOL = 0, AC_MIXER_GETVOL = 0,
AC_MIXER_SETVOL, AC_MIXER_SETVOL,
......
...@@ -26,6 +26,17 @@ ...@@ -26,6 +26,17 @@
#include <time.h> #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 { struct audio_output {
/** /**
* The device's configured display name. * The device's configured display name.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment