Changes

Jump to navigation Jump to search
1,571 bytes added ,  00:08, 29 October 2013
m
no edit summary
== SDL_Mixer: Mix_PlayMusic playback is very slow ==
Hi. I have a strange bug with the SDL_Mixer. When I use the couple of fonction Mix_LoadMUS and Mix_PlayMusic with audio files (Wav or MP3) the SDL lib behaves strangely: All played musics are slowed down and if I whant to get a "good" result I have to increase manualy the pitch of my audio files (+35%)... Someone have an idea ?
--[[User:BScrk|BScrk]] <span style="font-size: smaller;" class="autosigned">—Preceding undated comment added 02:50, 21 October 2009(UTC).</span><!--Template:Undated-->
: That's not a bug. Your files should be encoded to 32khz or 48khz, the audio port code doesn't handle conversion. --[[User:Tantric|Tantric]] 04:59, 21 October 2009 (UTC)
:: Indeed, it's work fine using 32Khz encoding ! Thank you --[[User:BScrk|BScrk]] 22 October 2009
 
== sdl_gfx ==
 
Any chance the sdl_gfx library will ever be fixed for Wii? My program relies heavily on the primitive drawing functions and I'm getting dumps. *sigh* if only sdl_draw supported triangles... [[User:Aeron|Aeron]] 03:20, 6 March 2010 (UTC)
 
 
== This Tutorial Is Broken ==
This tutorial no longer seems to work. I'm getting an assortment of errors. Could someone please add version number or file links that are compatible with this tutorial? <small>—Preceding unsigned comment added by [[User:Wiibrew111|Wiibrew111]] ([[User talk:Wiibrew111|talk]] • [[Special:Contributions/Wiibrew111|contribs]]) 20:39, 26 May 2012 (CEST)</small>
I noticed that in the WII SDL page (http://wiibrew.org/wiki/SDL_Wii ) the gamecube controller support is not documented.
 
== Gamecube controller support==
 
It is not documented, but from the code it seems that SDL Wii should support also the gamecube controllers which should be mapped to SDL joystick 4-7 (Wii controllers are mapped to 0-3), the stick axes and the pad are associated as in the Wii classsic controller and the buttons are with this order:
 
BUTTON 0 = A,
BUTTON 1 = B,
BUTTON 2 = X,
BUTTON 3 = Y,
BUTTON 4 = Z,
BUTTON 5 = R,
BUTTON 6 = L,
BUTTON 7 = START
 
I can not say if the support works since I do not have a gamecube controller to test
 
[[User:Oibaf|Oibaf]] 1 Jan 2013 (UTC)
 
There were some bugs in the code. Not it is fixed.
 
[[User:Oibaf|Oibaf]] 28 Oct 2013 (UTC)
295

edits

Navigation menu