Drobe logo

Audio software porting made easier


Published on 12th Sep 2004, 23:09:05, source is drobe.co.uk
By Chris Williams

Source code, lend me your ears

There's a lot of open source software out there, with quite a lot of it being aimed at Unix compatible operating systems - software that RISC OS could really do with.

However as RISC OS isn't Unix compatible by nature, a POSIX layer such as the GCCSDK's Unixlib is usually employed as a bridge between what the ported software expects and what RISC OS provides.

Music and code motifRecent work on Unixlib by the GCCSDK team has included bug fixes and support for threading (specifically pthreads), and also this month, support for /dev/dsp. This enables OSS sound support and allows applications such as Madplay and Soundtracker (still in testing) to be ported to RISC OS and successfully output audio.

"The actual playing is done by the DigitalRenderer module, which has an interface for precisely this application, although there's some additional functionality in Unixlib to present the correct ioctls and file handling", explained drobe.co.uk's Peter Naulls, who added the /dev/dsp support to Unixlib. DigitalRenderer, which was developed by Andreas Dehmel, is also used to provide audio output for the SDL-powered game ports.

The /dev/dsp interface and other recent work on Unixlib is available from the latest source in CVS, if you wish to try it out prior to the next release of Unixlib.

Links
GCCSDK website

Related articles
Unix Porting Project issues refunds
Unix Porting Project to ditch name
Unix Porting Project to seek UK admin

This article has been linked to, or is available in the following formats:  
 
 
 
 
 
[Printable] [Digg this] [Blog search]


Design and concept (c) Fudgecake Design, 1999 - 2001. Content (c) The Drobe Team, 1999 - 2006. See www.drobe.co.uk for more information. For non-commercial personal use only.