mirror of https://github.com/stella-emu/stella.git
Fixed PPC big-endian sound issues.
git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2644 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
parent
e823ffe03f
commit
63a598fb7f
|
@ -21,6 +21,9 @@
|
|||
* Fixed typo in TIA HMOVE writes, thanks to Thomas Jentzsch. This fixes
|
||||
the constant collision issues in "Kool-Aid Man".
|
||||
|
||||
* Fixed sound issues on OSX PPC machines (all sound was in little-endian
|
||||
format, but PPC is big-endian).
|
||||
|
||||
-Have fun!
|
||||
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ SoundSDL::SoundSDL(OSystem* osystem)
|
|||
// whereby sound stopped working after the first video change
|
||||
SDL_AudioSpec desired;
|
||||
desired.freq = myOSystem->settings().getInt("freq");
|
||||
desired.format = AUDIO_S16;
|
||||
desired.format = AUDIO_S16SYS;
|
||||
desired.channels = 2;
|
||||
desired.samples = myOSystem->settings().getInt("fragsize");
|
||||
desired.callback = callback;
|
||||
|
|
Loading…
Reference in New Issue