Please help, I can't figure it out

Forum for technical discussions regarding development. If you have a general suggestion, problem or comment, please use one of the other forums.

Moderator: OpenTTD Developers

Post Reply
MikeG
Engineer
Engineer
Posts: 8
Joined: 26 Jan 2005 12:49

Please help, I can't figure it out

Post by MikeG »

Hi,

my problem is with SDL_AudioSpec these callback function fill_audio_buffer.

I tried to build my sound driver using sdl_mixer. But its harder than I expect. These callback function calls MxMixSamples with the _mixer and the sound buffer, which should filled in this callback function. Now I have the problem to do the same thing like SDL in SDL_Mixer. May someone has an idea?

Please see my patch posted in http://www.tt-forums.net/viewtopic.php?t=13037 thread.

Thanks for all

Mike
User avatar
orudge
Administrator
Administrator
Posts: 25218
Joined: 26 Jan 2001 20:18
Skype: orudge
Location: Banchory, UK
Contact:

Post by orudge »

What do you mean, exactly?

Your patch may be of more interest when combined with my new music system, which incorporates a streaming sound system into the OpenTTD sound mixer.
MikeG
Engineer
Engineer
Posts: 8
Joined: 26 Jan 2005 12:49

Post by MikeG »

I would do this, if I know, where I can find this system. I searched forums for it. So I have to wait for your patch it seems.

You can send me per email to mike.greubel@pro-entertain.de, than I can do my best.

Mike
Post Reply

Return to “OpenTTD Development”

Who is online

Users browsing this forum: Semrush [Bot] and 11 guests