[maemo-developers] libSDL

From: Andrew Zabolotny zap at homelink.ru
Date: Sat Aug 9 12:20:30 EEST 2008
From Fri, 8 Aug 2008 17:03:36 +0100
"Chris Dobbs" <chris_dobbs at dobbscr.karoo.co.uk> wrote:

> I have recently ported some software which uses SDL for audio to my
> Nokia N800. When I run the program it complains that 
> 
> "Couldn't open audio device /dev/dsp : No such file or directory"
You should use the 'esd' SDL driver:

export SDL_AUDIODRIVER=esd

Normally this is always present in the N8x0 environment, perhaps you
changed something or are trying to run your application from
scratchbox.

> Which is understandable as I think the N800 uses something
> like /dev/pcm1 or something.
N8x0 uses a very 'specific' (to say so) way to output sound: via DSP.
So it's the /dev/dsptask/pcm/[0-3] device with some unknown API.

-- 
Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : http://lists.maemo.org/pipermail/maemo-developers/attachments/20080809/242b650f/attachment.pgp 
More information about the maemo-developers mailing list