Comments (3)
Well, I'll tell you what's happening here. Typically you can tell an OS the
audio
rate you want - in this case it's 22khz, and the OS will support it. But the
Wii's
DSP chip can ONLY run at 32khz and 48khz. So, you ask for 22050 and you get a
response of "no, I'll give you 32000". For typical porting you'd have to
convert
your audio to either 32khz or 48khz yourself - you have no choice. But I
believe
that the SDL mixer does this conversion for you on your behalf (how thoughtful
:) )
Same goes for the other spec values, they are forced on the Wii - AUDIO_MSB
(big
endian samples), 2 (# channels) and 512 (# samples - which conveniently you're
using).
Original comment by [email protected]
on 9 Jun 2009 at 12:10
from sdl-wii.
That's most useful - thanks :)
I noticed that the sound effects were a bit clippy and assumed (making an ass
out of
u and me both, yes!) it was because of this, but now that I bother to do it, the
.wavs in question are clippy in Winamp too.
Original comment by jonathan.buchanan
on 9 Jun 2009 at 2:53
from sdl-wii.
Original comment by [email protected]
on 13 Jun 2009 at 5:53
- Changed state: Invalid
from sdl-wii.
Related Issues (20)
- Undefined references to KEYBOARD functions HOT 1
- Keyboard has to be reconnected again to work :-( HOT 3
- Put SDL in portlibs directory? HOT 1
- Crash when unloading OGG music file HOT 2
- Wont compile HOT 2
- SMPEG Linking Errors When Using SDL_Mixer HOT 2
- Library does not work properly with libogc 1.8.7 HOT 1
- LIBPNG VERSION HOT 4
- SDL_Delay HOT 1
- SDL_image does not compile HOT 2
- Mouse emulation not working. HOT 3
- configure script fails due to devkitPPC unitptr_t conflict HOT 10
- Stereo for sound effects is reversed. HOT 1
- Mouse sensitivity HOT 2
- 640 X 512 screen resolution
- Font redering HOT 3
- Wireless USB Keyboard not working
- Gamecube controller support HOT 2
- SDL_CondWaitTimeout makes an incorrect timespec HOT 5
- SDL_KillThread is not working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sdl-wii.