In OSS_RawOpenDevice, always retrieve the device format and store it
commitede0e8ae644908ad881c25dbbc752a6c8946f0ae
authorFrancois Gouget <fgouget@codeweavers.com>
Tue, 7 Jan 2003 23:08:05 +0000 (7 23:08 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Tue, 7 Jan 2003 23:08:05 +0000 (7 23:08 +0000)
treea732cb3187878a16b99b92f59f32994dc337d3f7
parent297f3d898d1c5e433c6b608accb6f842cf1d84a1
In OSS_RawOpenDevice, always retrieve the device format and store it
in the OSS_DEVICE structure.
Modify our internal functions so that they can be told to still open
the device even if the device format is not an exact match.
In wodOpen return the actual device format if the WAVE_DIRECTSOUND
flag is set.
Fixes DirectSound on i810 soundcards (i.e. cards supporting only
48000x16x2).
dlls/winmm/wineoss/audio.c