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
How to create a modern desktop theme
More to life than drab 16 colours of 1994 [Updated]
47 comments, latest by jymbob on 13/10/06 6:38PM. Published: 4 Oct 2006
X11 developments, earthquakes, spam, !Paint and lots more
1 comment, latest by davehigton on 16/6/03 7:47AM. Published: 15 Jun 2003
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 •