mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-22 12:48:11 +00:00
settings: Allow audio sink, input, and output to be set per game
This commit is contained in:
parent
a8d9ed845e
commit
6c6d6ece77
3 changed files with 110 additions and 26 deletions
|
@ -45,7 +45,8 @@ private:
|
|||
void UpdateAudioDevices(int sink_index);
|
||||
|
||||
void SetOutputSinkFromSinkID();
|
||||
void SetAudioDevicesFromDeviceID();
|
||||
void SetOutputDevicesFromDeviceID();
|
||||
void SetInputDevicesFromDeviceID();
|
||||
|
||||
void Setup(const ConfigurationShared::Builder& builder);
|
||||
|
||||
|
@ -55,7 +56,11 @@ private:
|
|||
|
||||
std::vector<std::function<void(bool)>> apply_funcs{};
|
||||
|
||||
bool updating_devices = false;
|
||||
QComboBox* sink_combo_box;
|
||||
QPushButton* restore_sink_button;
|
||||
QComboBox* output_device_combo_box;
|
||||
QPushButton* restore_output_device_button;
|
||||
QComboBox* input_device_combo_box;
|
||||
QPushButton* restore_input_device_button;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue