Jeffrey Lee
authored
Detail: If SndSetup detects that a version of SoundDMA is in use which supports controller enumeration & selection, the plugin display will have an extra string set gadget which can be used to select which device should be used When switching between devices the list of mixer controllers will update accordingly The controller selection will be saved to the SndSetup choices file, along with the mixer settings - with mixer settings being saved for all mxiers that are present, not just the selected one. File changes: - Resources/UK/Res,fae, h/defines - Updated to add the new string set and tweak the layout a bit - h/sound, c/sound - Added linked list of controller devices. Mixer channel detail arrays are now allocated on demand and stored as part of the controller details. Channel details now also tracks the currently selected mute & gain settings, since we can no longer rely on the UI to store those values for us if we're recreating gadgets when switching device. - c/main - Mixer volume slider setup separated out into its own function, so it can be repeated whenever we switch device. - h/common - Forward-declare of new function Admin: Tested on Raspberry Pi, iMx6, Iyonix, RiscPC Requires Sound0HAL-1_84 / Sound0Trid-1_69 / Sound0-1_72 Version 2.08. Tagged as 'SndSetup-2_08'