N800

All,
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”

Which is understandable as I think the N800 uses something like /dev/pcm1 or something.

I am using the libSDL.so libraries provided with the N800 and just wondered if there is something in a config file somewhere that I need to change as It seems odd that SDL would be provided if it didnt work.

Any help is appreciated,
-Chris Dobbs

Just out of curiosity, did you try setting the environment variable
AUDIODEV to the name of the sound device file (ie /dev/pcm1) on the
Nokia N800?

Regards,

Johnathan GurleyOn Fri, Aug 8, 2008 at 11:02 AM, Chris Dobbs <chris_dobbs at dobbscr.karoo.co.uk> wrote:

All,
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”

Which is understandable as I think the N800 uses something like /dev/pcm1 or
something.

I am using the libSDL.so libraries provided with the N800 and just wondered
if there is something in a config file somewhere that I need to change as It
seems odd that SDL would be provided if it didnt work.

Any help is appreciated,
-Chris Dobbs


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Chris Dobbs wrote:

All,
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”

Which is understandable as I think the N800 uses something like
/dev/pcm1 or something.

I am using the libSDL.so libraries provided with the N800 and just
wondered if there is something in a config file somewhere that I need to
change as It seems odd that SDL would be provided if it didnt work.

Try setting the environment variable SDL_PATH_DSP to “/dev/pcm1”. How
you do this on the N800 I leave as an exercise for you :slight_smile:

Many thanks, will try it!> ----- Original Message -----

From: tim@ngus.net (Tim Angus)
To: "A list for developers using the SDL library. (includes SDL-announce)"

Sent: Friday, August 08, 2008 5:07 PM
Subject: Re: [SDL] N800

Chris Dobbs wrote:

All,
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”

Which is understandable as I think the N800 uses something like
/dev/pcm1 or something.

I am using the libSDL.so libraries provided with the N800 and just
wondered if there is something in a config file somewhere that I need to
change as It seems odd that SDL would be provided if it didnt work.

Try setting the environment variable SDL_PATH_DSP to “/dev/pcm1”. How
you do this on the N800 I leave as an exercise for you :slight_smile:


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

I must have missed this before but this is set in my env. list :
SDL_AUDIODRIVER=esd

so looks like esd is the driver

will try your suggestion , thanks for help
-Chris> ----- Original Message -----

From: johnathan.gurley@gmail.com (Johnathan Gurley)
To: "A list for developers using the SDL library. (includes SDL-announce)"

Sent: Friday, August 08, 2008 5:06 PM
Subject: Re: [SDL] N800

Just out of curiosity, did you try setting the environment variable
AUDIODEV to the name of the sound device file (ie /dev/pcm1) on the
Nokia N800?

Regards,

Johnathan Gurley

On Fri, Aug 8, 2008 at 11:02 AM, Chris Dobbs <@Chris_Dobbs> wrote:

All,
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”

Which is understandable as I think the N800 uses something like
/dev/pcm1 or

something.

I am using the libSDL.so libraries provided with the N800 and just
wondered

if there is something in a config file somewhere that I need to change
as It

seems odd that SDL would be provided if it didnt work.

Any help is appreciated,
-Chris Dobbs


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org