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
Should the TCO of RISC OS be higher?
Show us the money
61 comments, latest by datawave on 16/06/05 5:07PM. Published: 17 Feb 2005
DigitalCD MIDI player now 32bit-compatible
Courtesy of Alan Gibson
Discuss this. Published: 24 Apr 2007
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 •