Updated getInputDeviceNames() same for output

Made them loop through the list of mixerinfo's only once and put it in a list. This creates the exact same output.