dborth / sdl-wii

SDL for Wii
http://wiibrew.org/wiki/SDL_Wii
47 stars 16 forks source link

Stereo for sound effects is reversed. #44

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Stereo sound panning in SDL_Wii seems to be reversed from the PC and other SDL 
ports. In both WiiDoom and a generic SDL game that I am porting to the Wii, the 
sounds are quite clearly oriented backwards from what they should be.

Original issue reported on code.google.com by benshadw...@gmail.com on 17 Sep 2011 at 3:11

GoogleCodeExporter commented 9 years ago
Libogc's AUDIO_InitDMA() function expects samples in the order right,left 
whilst SDL expects samples in the order left,right. SDL Wii library 
(SDL_wiiaudio.c) passes AUDIO_InitDMA the SDL audio buffer whithout making the 
needed inversion.

Original comment by olimpier...@gmail.com on 8 Dec 2013 at 8:18