genode/repos/dde_bsd
Josef Söntgen 9d7a58f6a7 dde_bsd: update audio driver to OpenBSD 6.6
Besides updating to a newer version the update adds the AC97 ICH driver
and addresses shortcomings with the OpenBSD emulation environment:

* Fix 'delay(9)' implementation - it now properly uses 'us' as unit,
  which results on faster initialization of the drivers.

* Fix LOG output that got lost during commit f23579532 and bring over
  the printf implementation from dde_linux for more structured
  printing.

* As said the driver now recognizes the AUICH devices. So far it was
  only tested with the device model in VirtualBox where it produces
  stuttering audio, investigating the cause is still ongoing.

Fixes #3641.
2020-02-20 12:08:16 +01:00
..
include/audio Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
lib dde_bsd: update audio driver to OpenBSD 6.6 2020-02-20 12:08:16 +01:00
patches dde_bsd: update audio driver to OpenBSD 6.6 2020-02-20 12:08:16 +01:00
ports dde_bsd: update audio driver to OpenBSD 6.6 2020-02-20 12:08:16 +01:00
recipes dde_bsd: update audio driver to OpenBSD 6.6 2020-02-20 12:08:16 +01:00
run dde_bsd: update audio driver to OpenBSD 6.6 2020-02-20 12:08:16 +01:00
src dde_bsd: update audio driver to OpenBSD 6.6 2020-02-20 12:08:16 +01:00
audio.list dde_bsd: update audio driver to OpenBSD 6.6 2020-02-20 12:08:16 +01:00
README dde_bsd: update audio driver to OpenBSD 6.6 2020-02-20 12:08:16 +01:00

This repository contains device drivers ported from OpenBSD.

Audio
#####

The audio driver is ported from OpenBSD 6.6 and includes support for
Intel HD Audio, ICH 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. The ICH driver is only
tested in Virtualbox where it produces audible artifacts.


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