Hooks in configuration files

The hook extension in the ALSA library allows expansion of configuration nodes at run-time. The existence of a hook is determined by the presence of a @hooks compound node.

This example defines a hook which loads two configuration files at the beginning:

@hooks [
        {
                func load
                files [
                        "/etc/asound.conf"
                        "~/.asoundrc"
                ]
                errors false
        }
]

Function reference


Generated on Fri Nov 28 00:08:41 2008 for elphel by  doxygen 1.5.1