aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Config.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Config.h')
-rw-r--r--src/crepe/api/Config.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h
index e762d89..fae31f4 100644
--- a/src/crepe/api/Config.h
+++ b/src/crepe/api/Config.h
@@ -12,7 +12,7 @@ namespace crepe {
*
* This struct stores both engine default settings and global configuration parameters.
*/
-struct Config {
+struct Config final {
//! Retrieve handle to global Config instance
static Config & get_instance();
@@ -70,6 +70,12 @@ struct Config {
*/
std::string root_pattern = ".crepe-root";
} asset;
+
+ //! Audio system settings
+ struct {
+ //! Max amount of simultanious voices
+ unsigned int voices = 32;
+ } audio;
};
} // namespace crepe