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
Internationalising RISC OS
Unicode, i18n and more explained
30 comments, latest by caliston2 on 16/7/03 8:57PM. Published: 10 Jul 2003
ROS app could scupper encryption law
We're not going to mention the T word
18 comments, latest by Loris on 2/6/06 7:25PM. Published: 21 May 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 •