Fear and Loading in SDL

Hi, I’ve got a quick question about SDL_LoadWAV for
16bit wavs: am I going to see endian native samples
or can they be anything?

P.S. getting away from the topic and cute subject here,
but the sound callback passed to SDL_OpenAudio has a
length parameter (in bytes) - I just realised that I’ve
not been using, instead expecting the buffer length to
be what I set in open audio. Could this explain the
choppy audio I get on some hp laptops (xp sp2)(sdl1.2.11,
msvc built) when the buffer size is smaller than 1/20th
of a second? Is this question too precise?

P.P.S drum toy rocks!–
felix: lightweight threads, HOFs and game scripting.
svn co https://svn.sourceforge.net/svnroot/felix/felix/trunk felix

Hi, I’ve got a quick question about SDL_LoadWAV for
16bit wavs: am I going to see endian native samples
or can they be anything?

P.S. getting away from the topic and cute subject here,
but the sound callback passed to SDL_OpenAudio has a
length parameter (in bytes) - I just realised that I’ve
not been using, instead expecting the buffer length to
be what I set in open audio. Could this explain the
choppy audio I get on some hp laptops (xp sp2)(sdl1.2.11,
msvc built) when the buffer size is smaller than 1/20th
of a second? Is this question too precise?

Yep, that could be the problem.

Bob PendletonOn Sat, 2007-02-17 at 11:39 +0100, Rhythmic Fistman wrote:

P.P.S drum toy rocks!


±-------------------------------------+