aboutsummaryrefslogtreecommitdiff
path: root/src/common-defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/common-defs.h')
-rw-r--r--src/common-defs.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/common-defs.h b/src/common-defs.h
index c7d497a..5b5c418 100644
--- a/src/common-defs.h
+++ b/src/common-defs.h
@@ -24,6 +24,18 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define SIGNAL_SINK_MUTE_UPDATE "SinkMuteUpdate"
#define SIGNAL_SINK_AVAILABLE_UPDATE "SinkAvailableUpdate"
+typedef enum {
+ MUTED,
+ ZERO_LEVEL,
+ LOW_LEVEL,
+ MEDIUM_LEVEL,
+ HIGH_LEVEL,
+ BLOCKED,
+ UNAVAILABLE,
+ AVAILABLE
+}SoundState;
+
+
#define DBUSMENU_PROPERTY_EMPTY -1
/* DBUS Custom Items */
@@ -54,4 +66,4 @@ with this program. If not, see <http://www.gnu.org/licenses/>.
#define DBUSMENU_PLAYLISTS_MENUITEM_TYPE "x-canonical-sound-menu-player-playlists-type"
#define DBUSMENU_PLAYLISTS_MENUITEM_TITLE "x-canonical-sound-menu-player-playlists-title"
-#define DBUSMENU_PLAYLISTS_MENUITEM_PLAYLISTS "x-canonical-sound-menu-player-playlists-playlists" \ No newline at end of file
+#define DBUSMENU_PLAYLISTS_MENUITEM_PLAYLISTS "x-canonical-sound-menu-player-playlists-playlists"