Audio software porting made easierBy Chris Williams. Published: 12th Sep 2004, 23:09:05 | Permalink | Printable
Source code, lend me your earsThere'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.
Recent 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.
/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.
Previous: Software news
Next: IP networking: CIDR, NAT and more
DiscussionViewing threaded comments | View comments unthreaded, listed by date | Skip to the end
Please login before posting a comment. Use the form on the right to do so or create a free account.
Search the archives
Today's featured article
RISC OS Gaming in Focus
Neil my-one-game-a-week-addiction White shows how easy it is.
10 comments, latest by nice and sweet on 29/4/03 6:45PM. Published: 21 Apr 2003
First release of unofficial open source SharedCLibrary
Open sourcing by stealth continues
8 comments, latest by gdshaw on 22/12/06 9:55AM. Published: 19 Dec 2006
News and media:
RISCOS Ltd •
RISC OS Open •
MW Software •
Advantage Six •
CJE Micros •
Liquid Silicon •
Chris Why's Acorn/RISC OS collection •
The Register •
The Inquirer •
Apple Insider •
BBC News •
Sky News •
Google News •