summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound.h')
-rw-r--r--src/emu/sound.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/emu/sound.h b/src/emu/sound.h
index 6c7bac5ea4b..51865272ba7 100644
--- a/src/emu/sound.h
+++ b/src/emu/sound.h
@@ -423,14 +423,14 @@ public:
u32 outputs_count() const { return m_outputs_count; }
// manage the sound_io mapping and volume configuration
- void config_add_sound_io_connection_node(sound_io_device *dev, std::string_view name, float db);
- void config_add_sound_io_connection_default(sound_io_device *dev, float db);
+ void config_add_sound_io_connection_node(sound_io_device *dev, std::string_view name, float db, int index = -1);
+ void config_add_sound_io_connection_default(sound_io_device *dev, float db, int index = -1);
void config_remove_sound_io_connection_node(sound_io_device *dev, std::string_view name);
void config_remove_sound_io_connection_default(sound_io_device *dev);
void config_set_volume_sound_io_connection_node(sound_io_device *dev, std::string_view name, float db);
void config_set_volume_sound_io_connection_default(sound_io_device *dev, float db);
- void config_add_sound_io_channel_connection_node(sound_io_device *dev, u32 guest_channel, std::string_view name, u32 node_channel, float db);
- void config_add_sound_io_channel_connection_default(sound_io_device *dev, u32 guest_channel, u32 node_channel, float db);
+ void config_add_sound_io_channel_connection_node(sound_io_device *dev, u32 guest_channel, std::string_view name, u32 node_channel, float db, int index = -1);
+ void config_add_sound_io_channel_connection_default(sound_io_device *dev, u32 guest_channel, u32 node_channel, float db, int index = -1);
void config_remove_sound_io_channel_connection_node(sound_io_device *dev, u32 guest_channel, std::string_view name, u32 node_channel);
void config_remove_sound_io_channel_connection_default(sound_io_device *dev, u32 guest_channel, u32 node_channel);
void config_set_volume_sound_io_channel_connection_node(sound_io_device *dev, u32 guest_channel, std::string_view name, u32 node_channel, float db);
@@ -611,16 +611,15 @@ private:
// manage the sound_io mapping and volume configuration,
// but don't change generation because we're in the update process
-
config_mapping &config_get_sound_io(sound_io_device *dev);
- void internal_config_add_sound_io_connection_node(sound_io_device *dev, std::string_view name, float db);
- void internal_config_add_sound_io_connection_default(sound_io_device *dev, float db);
+ void internal_config_add_sound_io_connection_node(sound_io_device *dev, std::string_view name, float db, int index = -1);
+ void internal_config_add_sound_io_connection_default(sound_io_device *dev, float db, int index = -1);
void internal_config_remove_sound_io_connection_node(sound_io_device *dev, std::string_view name);
void internal_config_remove_sound_io_connection_default(sound_io_device *dev);
void internal_config_set_volume_sound_io_connection_node(sound_io_device *dev, std::string_view name, float db);
void internal_config_set_volume_sound_io_connection_default(sound_io_device *dev, float db);
- void internal_config_add_sound_io_channel_connection_node(sound_io_device *dev, u32 guest_channel, std::string_view name, u32 node_channel, float db);
- void internal_config_add_sound_io_channel_connection_default(sound_io_device *dev, u32 guest_channel, u32 node_channel, float db);
+ void internal_config_add_sound_io_channel_connection_node(sound_io_device *dev, u32 guest_channel, std::string_view name, u32 node_channel, float db, int index = -1);
+ void internal_config_add_sound_io_channel_connection_default(sound_io_device *dev, u32 guest_channel, u32 node_channel, float db, int index = -1);
void internal_config_remove_sound_io_channel_connection_node(sound_io_device *dev, u32 guest_channel, std::string_view name, u32 node_channel);
void internal_config_remove_sound_io_channel_connection_default(sound_io_device *dev, u32 guest_channel, u32 node_channel);
void internal_config_set_volume_sound_io_channel_connection_node(sound_io_device *dev, u32 guest_channel, std::string_view name, u32 node_channel, float db);