aboutsummaryrefslogtreecommitdiff
path: root/include/aoapplication.h
diff options
context:
space:
mode:
authorSalanto <62221668+Salanto@users.noreply.github.com>2022-07-30 18:42:55 +0200
committerGitHub <noreply@github.com>2022-07-30 18:42:55 +0200
commit4fa86c0174961be22e1996a472e908b36656083d (patch)
tree98f5adbfeb7a318482c69776527575284d3ef1b3 /include/aoapplication.h
parent7b88d4be954b415e069ee0d612e4df3793c61756 (diff)
Add option to disable music streaming. (#829)
* Add option to disable streamintg This one gets a unique message to prevent people forgetting they disable it and the wondering why streaming broke. * Fix code order * Fixes the music channel still playing audio when a new stream was blocked. * Update tooltip * Update tooltip to reflect the current way the feature works.
Diffstat (limited to 'include/aoapplication.h')
-rw-r--r--include/aoapplication.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/aoapplication.h b/include/aoapplication.h
index 21c04b82..f1ba9d7f 100644
--- a/include/aoapplication.h
+++ b/include/aoapplication.h
@@ -194,6 +194,9 @@ public:
// Returns true if stop music on objection is enabled in the config.ini
bool objection_stop_music();
+ // Returns true if streaming is enabled in the config.ini
+ bool is_streaming_disabled();
+
// Returns the value of default_music in config.ini
int get_default_music();