Thought the maemo people would like to see this too... -Chris ----- Original Message ----- From: "Chris Dobbs" <chris_dobbs@xxxxxxxxxxxxxxxxxxx> To: "A list for developers using the SDL library. (includes SDL-announce)" <sdl@xxxxxxxxxxxxxxxx> Sent: Thursday, August 14, 2008 4:13 PM Subject: [SDL] Fw: [Portaudio] ARM > All, > > I am forwarding this message from the portAudio mailing list as I think this > may also apply to the SDL project...I can get SDL dsp putput working ok as > it automagically seems to redirect to the esd driver , however I tried the > SDL_audioin project for microphone access and it failed because /dev/dsp > doesnt exist on the N800. > > The note below shows how u can get round this - Its basically describing a > way to get /dev/dsp sound reliant API's working on the N800 ARM machine. > -Chris > > > ----- Original Message ----- > From: "Chris Dobbs" <chris_dobbs@xxxxxxxxxxxxxxxxxxx> > To: "Alan Horstmann" <gineera@xxxxxxxxxxxxxxx> > Cc: <portaudio@xxxxxxxxxxxxxxx> > Sent: Thursday, August 14, 2008 4:10 PM > Subject: Re: [Portaudio] ARM > > > > Hi Alan, > > Though I would share my recent findings as I seem to have got it working > > now. > > This is a fudge but it will do for now until I can be bothered to rewrite > > all my code to use something like gstreamer. > > > > I discovered that there is a wrapper (hijacking) library call libesddsp.so > , > > which if you preload it and then run your /dev/dsp reliant code, it all > > works great ! > > > > This library bascially overrides things like fopen() and then hijacks the > > dsp access over to the esd driver. > > > > I then built a static version of this library and linked my app direct > with > > it. > > To get this to link ok I also needed to include link agst libesd.a and > > libasound.a (provided by alsa-lib project) > > > > the libasound.a was abit of swine as it was by default built with > versioning > > info so I downloaded the alsa-libs project and did > > ./configure --with-static --with-versioned=no > > > > this shut it up and links fine now. > > > > Thansk for all our help and hope this helps someone else ! > > -Chris > > > > > > > > > > ----- Original Message ----- > > From: "Alan Horstmann" <gineera@xxxxxxxxxxxxxxx> > > To: "Chris Dobbs" <chris_dobbs@xxxxxxxxxxxxxxxxxxx> > > Cc: <portaudio@xxxxxxxxxxxxxxx> > > Sent: Wednesday, August 13, 2008 8:49 AM > > Subject: Re: [Portaudio] ARM > > > > > > > On Tuesday 12 August 2008 21:28, you wrote: > > > > Hi Alan, > > > > Yes, that would seem plausible. I built portAddio with the default > > setting > > > > of --enable-alsa and --enable-oss so I must assume PA has alsa > > capability. > > > > Do you know how I instruct PA to use ALSA only? > > > > > > Unfortunately not; I've not written code on top of portaudio; perhaps > > others > > > will help with that. > > > > > > > It seems from that link I > > > > sent you that OSS is a major dependency for the N800 OS. > > > > > > > > BTW, some background here. I am currently trying to port a voice/video > > > > phone from windows to OSX and ARM (N800) - I chose to use PA for the > > sound > > > > abstraction (I started with SDL but the microphone support is not > fully > > > > integrated yet and only avail via another project called > SDL_audioin() ) > > . > > > > I have used a custom build of portVideo too for the video abstaction. > I > > > > have built custom linux kernels before and am fairly familiar with how > > > > device nodes work. > > > > I am developing the ARM code under linux using the maemo scratchbox > > > > environment. > > > > > > To continue to use OSS, work out how maemo creates its device nodes and > > > add /dev/dsp etc. That is the responsibility of the environment. > > > > > > Alan > > > > > > _______________________________________________ > > > Portaudio mailing list > > > Portaudio@xxxxxxxxxxxxxxx > > > http://techweb.rfa.org/mailman/listinfo/portaudio > > > > _______________________________________________ > SDL mailing list > SDL@xxxxxxxxxxxxxxxx > http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org _______________________________________________ maemo-users mailing list maemo-users@xxxxxxxxx https://lists.maemo.org/mailman/listinfo/maemo-users