sdl-wii icon indicating copy to clipboard operation
sdl-wii copied to clipboard

Stereo for sound effects is reversed.

Open GoogleCodeExporter opened this issue 9 years ago • 1 comments

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 [email protected] on 17 Sep 2011 at 3:11

GoogleCodeExporter avatar Jun 19 '15 23:06 GoogleCodeExporter

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 [email protected] on 8 Dec 2013 at 8:18

GoogleCodeExporter avatar Jun 19 '15 23:06 GoogleCodeExporter