Return MMSYS_NOERROR even if we don't open the device with the
commit2147b9f5da4c8e66e4f34913ab14932345a5f9e3
authorFrancois Gouget <fgouget@codeweavers.com>
Thu, 16 Jan 2003 00:19:04 +0000 (16 00:19 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 16 Jan 2003 00:19:04 +0000 (16 00:19 +0000)
tree200fd5cce39262637af095babd849964ed073cc9
parent37bbb1c26e6cfbe86c291ae7d71e3832731df5d7
Return MMSYS_NOERROR even if we don't open the device with the
requested format, otherwise OSS_OpenDevice will not increment
open_count.
Use -1 to signal OSS_RawOpenDevice not to do ioctls because 0 is
ambiguous (also means mono as opposed to stereo).
dlls/winmm/wineoss/audio.c