mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-27 17:18:53 +00:00
cb43e04691
Ldso now does not automatically execute static constructors of the binary and shared libraries the binary depends on. If static construction is required (e.g., if a shared library with constructor is used or a compilation unit contains global statics) the component needs to execute the constructors explicitly in Component::construct() via Genode::Env::exec_static_constructors(). In the case of libc components this is done by the libc startup code (i.e., the Component::construct() implementation in the libc). The loading of shared objects at runtime is not affected by this change and constructors of those objects are executed immediately. Fixes #2332 |
||
---|---|---|
.. | ||
include/audio | ||
lib | ||
patches | ||
ports | ||
run | ||
src | ||
audio.list | ||
README |
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