genode-ehmry/repos/dde_bsd
Emery Hemingway ac853252c3 Add Audio::Stereo_out frontend to Audio_out service
Add a frontend for the Audio_out service and convert the audio_out test
to use this utility. Abstracting the service and packet streams allows
the service to be refactored without adjusting native application code.

Fix #3435
2019-06-28 12:06:35 +02:00
..
include/audio bsd_audio_drv: use timeout interface 2019-06-18 19:47:27 +02:00
lib Exclude higher-level repos from strict warnings 2018-01-17 12:14:36 +01:00
patches dde_bsd: update audio driver to OpenBSD 5.9 2016-05-23 15:52:51 +02:00
ports dde_bsd: update mirror URL 2018-09-24 11:18:23 +02:00
recipes Merge branch 'staging' of github.com:genodelabs/genode into staging 2019-05-29 09:53:55 +02:00
run Add Audio::Stereo_out frontend to Audio_out service 2019-06-28 12:06:35 +02:00
src bsd_audio_drv: use timeout interface 2019-06-18 19:47:27 +02:00
audio.list dde_bsd: update audio driver to OpenBSD 5.9 2016-05-23 15:52:51 +02:00
README tool: remove deprecated 'make prepare' mechanism 2016-03-17 17:02:04 +01:00

This repository contains device drivers ported from OpenBSD.

Audio
#####

The audio driver is ported from OpenBSD 5.7 and includes support for
Intel HD Audio as well as for Ensoniq AudioPCI (ES1370) compatible
soundcards. The HDA driver works on real hardware and Virtualbox
whereas the ES1370 driver is only used in Qemu.


Usage
=====

You have to prepare the contrib sources for this repository by
executing _./tool/ports/prepare_port dde_bsd_. Also you need to make
sure to add the 'dde_bsd' repository to the REPOSITORIES variable
in your 'etc/build.conf'.


Example
=======

The driver can be tested by executing the run script 'run/audio_out.run'.
This example plays a sample file in a loop. The file format is header less
two channel float 32 at 44100 Hz. You may use the 'sox' utility to create
these audio files:

! sox -c 2 -r 44100 foo.wav foo.f32