]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
sound: Add an example of basic sound application
authorGoran Mekić <meka@tilda.center>
Wed, 4 Aug 2021 10:04:54 +0000 (18:04 +0800)
committerKa Ho Ng <khng@FreeBSD.org>
Fri, 27 Aug 2021 12:05:27 +0000 (20:05 +0800)
commit45d1b7b34a5a431562fa793d2361a51497b19ff1
treef8575024f88d8be11b75a4a209e344ce7f959720
parent200842074ba60e8e4c8ab2776a3d2b85d3cd4101
sound: Add an example of basic sound application

This is an example demonstrating the usage of the OSS-compatible APIs
provided by the sound(4) subsystem. It reads frames from a dsp node and
writes them to the same dsp node.

Reviewed by: hselasky, bcr
Differential revision: https://reviews.freebsd.org/D30149

(cherry picked from commit 21d854658801f6ddb91de3a3c3384e90f5d920f2)
share/examples/Makefile
share/examples/sound/README [new file with mode: 0644]
share/examples/sound/basic.c [new file with mode: 0644]
share/examples/sound/ossinit.h [new file with mode: 0644]