[SDL] Fear and Loading in SDL
Bob Pendleton
bob at pendleton.com
Sun Feb 18 09:45:25 PST 2007
On Sat, 2007-02-17 at 11:39 +0100, Rhythmic Fistman wrote:
> 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 Pendleton
>
> P.P.S drum toy rocks!
>
--
+--------------------------------------+
+ Bob Pendleton: writer and programmer +
+ email: Bob at Pendleton.com +
+ web: www.GameProgrammer.com +
+ www.Wise2Food.com +
+ nutrient info on 7,000+ common foods +
+--------------------------------------+
More information about the SDL
mailing list