version 1.2, 2010/04/16 12:38:07
|
version 1.7, 2021/03/31 06:30:53
|
Line 1
|
Line 1
|
|
[[!meta title="OpenSoundSystem"]] |
|
|
# Open Sound System for NetBSD |
# Open Sound System for NetBSD |
|
|
This page shows the progress of the porting of OSSv4 to NetBSD. |
This page shows the progress of the porting of OSSv4 to NetBSD. |
|
|
|
## Update |
|
|
|
It's not known if anyone is continuing to work on a native port of OSSv4, but this page is kept for archival purposes. |
|
|
|
NetBSD 10 should have greater compatibility with OSSv4 via the userspace translation layer [ossaudio(3)](///man.netbsd.org/ossaudio.3), and the native audio system [audio(4)](man.netbsd.org/audio.4) is still preferred. |
|
|
## Version |
## Version |
|
|
The current version is v4.2 (hg-889) |
The current version is v4.2 (hg-889) |
Line 11 The current version is v4.2 (hg-889)
|
Line 19 The current version is v4.2 (hg-889)
|
* DMA: ported (not complete) |
* DMA: ported (not complete) |
* PCI config access: complete |
* PCI config access: complete |
* PCI mapping: ported to bus_space |
* PCI mapping: ported to bus_space |
* INB/OUTB: incomplete (should use bus_space) |
* INB/OUTB: incomplete (should use [[!template id=man name="bus_space" section="9"]]) |
* module support: WIP |
* module support: WIP |
* Locking: ported |
* Locking: ported to [[!template id=man name="mutex" section="9"]] |
* MALLOC: ported to kmem API |
* MALLOC: ported to [[!template id=man name="kmem" section="9"]] |
* getid: ported to kauth |
* getid: ported to [[!template id=man name="kauth" section="9"]] |
* pkg: incomplete |
* pkg: incomplete |
* compat_audio: not yet |
* compat_audio: not yet |
|
|
Line 41 Browse online: <http://bitbucket.org/aho
|
Line 49 Browse online: <http://bitbucket.org/aho
|
To get it: |
To get it: |
|
|
hg clone http://bitbucket.org/ahoka/oss4-netbsd |
hg clone http://bitbucket.org/ahoka/oss4-netbsd |
|
|
|
### How to build it? |
|
|
|
<http://www.opensound.com/wiki/index.php/Building_OSSv4_from_source> |
|
|
|
I use this to build modules: |
|
|
|
rm -rf /tmp/ossbuild |
|
mkdir /tmp/ossbuild |
|
cd /tmp/ossbuild |
|
|
|
/home/ahoka/mercurial.opensound.com/configure |
|
|
|
gmake build |
|
|
|
cd prototype/usr/lib/oss/build/ |
|
sh install.sh |
|
|