SDL_mixer / win32 and DirectSound error

Hi,

A few of my users reported problems with gltron on win32.
It fails upon

if(Mix_OpenAudio(22050, AUDIO_U16, 1, 1024) < 0) {
fprintf(stderr, “can’t open audio: %s\n”, SDL_GetError());
exit(2);
}

The error returned by SDL_GetError is:

DirectSound CreateSoundBuffer: Invalid parameter

I found a mail in the mailinglist archive, reporting this
problem with DirectX 3, but one user reported that he was
using DirectX 6.1

Does anyone have experience with this problem?

  • Andreas–
    Check out my 3D lightcycle game: http://www.gltron.org
    More than 60’000 Downloads of the latest version (0.53)

I’ve reported this some time ago - this happens if you
have DirectX3 installed.

In the meantime I’m using the patch below in my personally
built SDL version that is shipping with PySol.

MarkusOn 13-Apr-2000 Andreas Umbach wrote:

Hi,

A few of my users reported problems with gltron on win32.
It fails upon

if(Mix_OpenAudio(22050, AUDIO_U16, 1, 1024) < 0) {
fprintf(stderr, “can’t open audio: %s\n”, SDL_GetError());
exit(2);
}

The error returned by SDL_GetError is:

DirectSound CreateSoundBuffer: Invalid parameter

I found a mail in the mailinglist archive, reporting this
problem with DirectX 3, but one user reported that he was
using DirectX 6.1

Does anyone have experience with this problem?

  • Andreas

    Check out my 3D lightcycle game: http://www.gltron.org
    More than 60’000 Downloads of the latest version (0.53)

---- 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

-------------- next part --------------
A non-text attachment was scrubbed…
Name: patch
Type: application/octet-stream
Size: 1145 bytes
Desc: patch
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20000413/764f2c48/attachment.obj

I’ve reported this some time ago - this happens if you
have DirectX3 installed.

In the meantime I’m using the patch below in my personally
built SDL version that is shipping with PySol.

Thanks, I’ve added it to CVS.

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software

Sam Lantinga schrieb am 13 Apr 2000:

I’ve reported this some time ago - this happens if you
have DirectX3 installed.

In the meantime I’m using the patch below in my personally
built SDL version that is shipping with PySol.

Thanks, I’ve added it to CVS.

How do I checkout the latest SDL_mixer CVS?

  • Andreas–
    Check out my 3D lightcycle game: http://www.gltron.org
    More than 60’000 Downloads of the latest version (0.53)

Sam Lantinga schrieb am 13 Apr 2000:

I’ve reported this some time ago - this happens if you
have DirectX3 installed.

In the meantime I’m using the patch below in my personally
built SDL version that is shipping with PySol.

Thanks, I’ve added it to CVS.

How do I checkout the latest SDL_mixer CVS?

http://cvs.lokigames.com/

See ya!
-Sam Lantinga, Lead Programmer, Loki Entertainment Software