Updated getInputDeviceNames() same for output

Made them loop through the list of mixerinfo's only once and put it in a list.
Merge pull request #1 from davidot/master

Updated getInputDeviceNames() same for output