Changed naming of "average volume" to "peak volume" to more accurately describe what is being done/represented
Removed the divide by 2 in calc_peak_volume so that the second half of the samples would also be factored when calculating the peak volume in the most recent sample data
Changed references to 128 to use the SDL_MIX_MAXVOLUME preprocessor definition for clarity
Changed the line that caches the peak volume in input_callback to use sizeof(int16_t) instead of 2 for clarity
Changed input_callback to use a local buffer of size XBLC_FIFO_SIZE instead of allocating one at runtime
Changed the get/set volume functions in xblc.h and xblc.c to use floating point values on the interval [0, 1] instead of integers on the range [0, SDL_MIX_MAXVOLUME] because they're used that way everywhere else anyway
Changed the numOutputDevices variable in DrawAudioDeviceSelectComboBox function to num_devices to match the naming scheme and because this function doesn't only work with output devices.
Changed xemu_input_bind to use an if statement instead of a switch. The switch was left behind from before I added the xemu_input_unbind_peripheral function when I was calling xemu_input_unbind_xmu and xemu_input_unbind_xblc directly
* Added XMU Settings to the Input Screen
* Added Peripherals to config
* Prevent overwriting existing XMUs
* Added blockdev.h to try to fix the MacOS build
* Fixed some issues that antangelo pointed out
* Moved the peripheralType and param vars into the loop
* Moved fatx.h and fatx.c to ui\thirdparty\fatx
* Added Validation for Peripheral Settings
* Fixed some nits that were pointed out
* don't pass NULL into xemu_settings_set_string
* Changes following Matt's recommendations
* Changes to XMU FilePicker
* XMU image auto-bind logic refactor
* renamed peripheralType to peripheral_type
* removed unnecessary calls to g_strdup_printf and g_free
* Cleaned up some comments, removed an unnecessary variable
* handle overwrite prompt in Windows
* Fixed some code format and style inconsistencies
* More formatting fixes
* Fixed a few memory leaks
* qemu_access: check for Read and Write access
* Run clang-format
* Remove unused xemu_new_xmu declaration
* Fix use after free in rebind code
Introduces a new user interface that looks much nicer, is easier to
navigate with controllers, provides more context to users, and is
scalable. Some additional features are included.
* Adds 'popup menu' with actions that can be used easily from controller
* Adds 'main menu', unifying other configuration dialogs
* Adds port-forwarding user interface
* Adds screenshot feature
* Adds volume control feature
* Adds gamepad auto-bind option
* Adds vsync configuration option
* Adds auto UI scaling
* Adds preferred window size selection
* Adds AV pack selection
* Exposes some existing config items in GUI