Re: [hatari-devel] 32 Bits mode and bad sound

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


I've found the SDL revision wich cause the sound problem:

Changeset:	8919 : c9be8299ba6b
Parent:	 8917
Author:	Sam Lantinga <slouken@xxxxxxxxxx>
Branch:	default
Date:	2 years ago   (24 juin 2014 10:38)
Description:	Fixed bug 2467 - bad memcpy in
SDL_OpenAudio/open_audio_device/prepare_audiospec chain

Rainer Deyke

If 'SDL_OpenAudio' is called with 'obtained == NULL',
'prepare_audiospec' performs a bad 'memcpy' with the destination and
source pointing to the same block of memory.  The problem appears to be
on in 'SDL_OpenAudio', which calls open_audio_device with 'obtained =
desired' when 'obtained == NULL'.  'open_audio_device' cannot deal with
'desired' and 'obtained' pointing to the same block of memory but can
deal with 'obtained == NULL'
Modified:	 src/audio/SDL_audio.c

It's a very very long time ago change.

....

JV
Jerome



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/