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:
parent
3a82283b19
commit
a5c0394007
@ -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 @@
|
|||||||
|
|
||||||
#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.
|
||||||
|
Loading…
Reference in New Issue
Block a user