SDL audio problem with DirectX 3

SDL fails to open the audio device under DirectX 3 (e.g.
after a fresh Win95 OSR2 install).

It seems that the problem is in SDL_dx5audio.c: AudioAvailable()
returns true, but lateron DX5_OpenAudio fails with an
"DirectSound CreateSoundBuffer: Invalid parameter"
(probably within function CreateSecondary).

At this point there is no way to fall back to the DIB
driver, and so no sound is available at all.

This was tested with both 1.0.4 and 1.0.8. Manually setting
the env var SDL_AUDIODRIVER=waveout works.

Markus

---- Markus F.X.J. Oberhumer @ http://oberhumer.tsx.org ----
---- 5E CB 5C 85 DE AF 9E BF E9 DA 7E 6A 39 F8 CC 67 ----

                  3 WARPS TO URANUS