Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages | Examples

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 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 Feb 18 09:38:21 2005 for ALSA project - the C library reference by  doxygen 1.3.9.1