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.
This commit is contained in:
Max Kellermann 2009-02-16 00:43:12 +01:00
parent 3a82283b19
commit a5c0394007
2 changed files with 11 additions and 11 deletions

View File

@ -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,

View File

@ -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.