[SDL] SDL & eee PC
Jacob Meuser
jakemsr at sdf.lonestar.org
Wed Apr 16 03:05:39 PDT 2008
On Wed, Apr 16, 2008 at 11:22:44AM +0200, Rhythmic Fistman wrote:
> Never tried "xandros", but SDL linux sound has given me problems
> that I wasn't able to resolve. Here are my stream-of-consciousness
> notes on it, maybe they'll help. If you figure something out, do tell
> (I don't think I'd tried the dsp driver, so I'll give it a shot). For me the
> important variables seemed to be buffer size and driver, I don't think
> video has anything to do with it:
>
> sound doesn't work out of the box with SDL 1.2.11 on ubuntu (vers?)
>
> under parallels ubuntu (1.2.11). SDL_OpenAudio is failing with
> the message "buffer size must be a power of 2". passing an "obtained" audio
> spec doesn't help, fn fails just the same. making the buffer size a power
> of 2 doesn't actually get you any output. however, setting SDL_AUDIODRIVER
> to either "esd" or "alsa" does work and lifts the unknowable a priori power of 2
> restriction.
the power of 2 restriction is from OSS specs.
> "esd" can't do silence, clicks and seems to overflow with lots
> of sounds. "alsa" seems doesn't have this problem. however killing the alsa
> version with ctl-\ can cause a hellish racket (ctl-c no). Note: alsa asks
> for fewer frames (esd doesn't), hence the spooner* code is working.
> why doesn't the default driver work and which is it??
>
> the non-functional default (on my ubuntu and ben's kubuntu) could be oss?
is sdl doing any conversions or resampling? if so, I wonder if
the patch in bugzilla #477 will help.
> *this refers to the bit of code that handles the situation in which the
> audio callback asks for fewer, or more samples than are ready.
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
--
jakemsr at sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org
More information about the SDL
mailing list