Allow mixers to be identified by device name, where possible
Detail: c/module - If a version of SoundDMA is in use which supports the device enumeration/selection APIs, allow mixers to be identified by name rather than by number. SoundDMA will be relied upon for name resolution, allowing stable device names/IDs to be used rather than the unstable numbering system. For compatibility, "0" (for *commands) and NULL (for SWIs) will be interpreted as a reference to the mixer for the current default audio device. Also fix AddDevice not filling in the device number when adding the new device. Admin: Tested on iMX6 Version 1.04. Tagged as 'SoundCtrl-1_04'
Showing with 158 additions and 28 deletions