Open Sound System

开放声音系统(Open Sound System,OSS)是一个在 Unix 操作系统上用于发出和取得声音的接口。它是基于标准的 Unix 设备(即 POSIX 的读、写、ioctl 等)。

Open Sound System
原作者Hannu Savolainen
开发者4Front Technologies
首次发布1992
当前版本
  • 4.2-build2019 (2019年3月5日)[1]
操作系统跨平台
类型音频
许可协议BSD许可证 / 通用开发与散布许可证 / GNU General Public License / 专有
网站www.opensound.com

OSS 是在 1992年由 Hannu Savolainen 创造的,目前可用于11个主流的类Unix操作系统。OSS 可以在4种授权选择下发布,其中3种是自由软件授权,因此 OSS 是自由软件。[2]

API

这个 API 设计成使用传统 Unix 的 open()、read()、write() 和 ioctl() 架构,访问特定的设备。例如,声音输入和输出的缺省设备是 /dev/dsp。使用Shell 的例子:

cat /dev/urandom >/dev/dsp # plays white noise through the speaker
cat /dev/dsp >a.a # reads data from the microphone and copies it to file a.a

免费,专有,自由

2007年7月,4Front Technologies 发布用于 OpenSolaris 的 CDDL 和用于 Linux 的 GPL 授权的 OSS 原代码。[2] 2008年1月4Front Technologies发布基于 FreeBSD (和其它 BSD 系统)下BSD许可证的 OSS。[3]

参见

参考文献

  1. http://ossnext.trueinstruments.com/forum/viewtopic.php?f=19&t=5876.
  2. . [2010-08-27]. (原始内容存档于2011-07-25).
  3. . [2010-08-27]. (原始内容存档于2010-09-25).

外部链接

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.