K 10 svn:author V 5 tobik K 8 svn:date V 27 2019-03-01T09:40:24.545566Z K 7 svn:log V 785 audio/portaudio: Amend r419598 and always add OSS default device first r419598 tried to solve a problem where when hw.snd.default_unit is set to anything except zero /dev/dsp0 is not available to programs using portaudio since it assumes that /dev/dsp and /dev/dsp0 are the same device. However with that fix, when hw.snd.default_unit=1 and hw.snd.basename_clone=0, portaudio will hide /dev/dsp1 from the device list since it will use /dev/dsp for it instead of /dev/dsp1. However since /dev/dsp is not available, QueryDevice() will fail and /dev/dsp1 will never be added to the device list. Instead of looking up hw.snd.default_unit we can solve this by always trying to add /dev/dsp to the device list first. PR: 236118 Submitted by: Tatsuki Makino END