mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2026-02-24 01:40:07 -05:00
headers: make headers self-contained
each header should include the dependency headers in order to make the headers self-contained. this is allows clangd based IDEs to parse the headers and populate the code model correctly
This commit is contained in:
parent
d28e8cb294
commit
58d9d991f4
18 changed files with 47 additions and 0 deletions
|
|
@ -28,6 +28,9 @@
|
||||||
#ifndef __ALSA_CONF_H
|
#ifndef __ALSA_CONF_H
|
||||||
#define __ALSA_CONF_H
|
#define __ALSA_CONF_H
|
||||||
|
|
||||||
|
#include "input.h"
|
||||||
|
#include "output.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,11 @@
|
||||||
#ifndef __ALSA_CONTROL_H
|
#ifndef __ALSA_CONTROL_H
|
||||||
#define __ALSA_CONTROL_H
|
#define __ALSA_CONTROL_H
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include "conf.h"
|
||||||
|
#include "global.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@
|
||||||
#ifndef __ALSA_CONTROL_PLUGIN_H
|
#ifndef __ALSA_CONTROL_PLUGIN_H
|
||||||
#define __ALSA_CONTROL_PLUGIN_H
|
#define __ALSA_CONTROL_PLUGIN_H
|
||||||
|
|
||||||
|
#include "control.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup Control_Plugins Primitive Control Plugins
|
* \defgroup Control_Plugins Primitive Control Plugins
|
||||||
* \ingroup Control
|
* \ingroup Control
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@
|
||||||
#ifndef __ALSA_ERROR_H
|
#ifndef __ALSA_ERROR_H
|
||||||
#define __ALSA_ERROR_H
|
#define __ALSA_ERROR_H
|
||||||
|
|
||||||
|
#include <stdarg.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@
|
||||||
#ifndef __ALSA_HWDEP_H
|
#ifndef __ALSA_HWDEP_H
|
||||||
#define __ALSA_HWDEP_H
|
#define __ALSA_HWDEP_H
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,8 @@
|
||||||
#define __ALSA_INPUT_H
|
#define __ALSA_INPUT_H
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@
|
||||||
#ifndef __ALSA_MIXER_H
|
#ifndef __ALSA_MIXER_H
|
||||||
#define __ALSA_MIXER_H
|
#define __ALSA_MIXER_H
|
||||||
|
|
||||||
|
#include "control.h"
|
||||||
|
#include "pcm.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@
|
||||||
#ifndef __ALSA_MIXER_ABST_H
|
#ifndef __ALSA_MIXER_ABST_H
|
||||||
#define __ALSA_MIXER_ABST_H
|
#define __ALSA_MIXER_ABST_H
|
||||||
|
|
||||||
|
#include "mixer.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@
|
||||||
#define __ALSA_OUTPUT_H
|
#define __ALSA_OUTPUT_H
|
||||||
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,9 @@
|
||||||
#ifndef __ALSA_PCM_H
|
#ifndef __ALSA_PCM_H
|
||||||
#define __ALSA_PCM_H
|
#define __ALSA_PCM_H
|
||||||
|
|
||||||
|
#include "conf.h"
|
||||||
|
#include "global.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@
|
||||||
#ifndef __ALSA_PCM_IOPLUG_H
|
#ifndef __ALSA_PCM_IOPLUG_H
|
||||||
#define __ALSA_PCM_IOPLUG_H
|
#define __ALSA_PCM_IOPLUG_H
|
||||||
|
|
||||||
|
#include "pcm.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup PCM_IOPlug External I/O plugin SDK
|
* \defgroup PCM_IOPlug External I/O plugin SDK
|
||||||
* \ingroup Plugin_SDK
|
* \ingroup Plugin_SDK
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,8 @@
|
||||||
#ifndef __ALSA_PCM_PLUGIN_H
|
#ifndef __ALSA_PCM_PLUGIN_H
|
||||||
#define __ALSA_PCM_PLUGIN_H
|
#define __ALSA_PCM_PLUGIN_H
|
||||||
|
|
||||||
|
#include "pcm.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* \defgroup PCM_Plugins PCM Plugins
|
* \defgroup PCM_Plugins PCM Plugins
|
||||||
* \ingroup PCM
|
* \ingroup PCM
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,8 @@
|
||||||
#ifndef __ALSA_PCM_RATE_H
|
#ifndef __ALSA_PCM_RATE_H
|
||||||
#define __ALSA_PCM_RATE_H
|
#define __ALSA_PCM_RATE_H
|
||||||
|
|
||||||
|
#include "pcm.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@
|
||||||
#ifndef __ALSA_RAWMIDI_H
|
#ifndef __ALSA_RAWMIDI_H
|
||||||
#define __ALSA_RAWMIDI_H
|
#define __ALSA_RAWMIDI_H
|
||||||
|
|
||||||
|
#include "conf.h"
|
||||||
|
#include "global.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,12 @@
|
||||||
#ifndef __ALSA_SEQ_H
|
#ifndef __ALSA_SEQ_H
|
||||||
#define __ALSA_SEQ_H
|
#define __ALSA_SEQ_H
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
#include <unistd.h>
|
||||||
|
#include "conf.h"
|
||||||
|
#include "seq_event.h"
|
||||||
|
#include "timer.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,9 @@
|
||||||
#ifndef __ALSA_SEQ_MIDI_EVENT_H
|
#ifndef __ALSA_SEQ_MIDI_EVENT_H
|
||||||
#define __ALSA_SEQ_MIDI_EVENT_H
|
#define __ALSA_SEQ_MIDI_EVENT_H
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
|
#include "seq_event.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,8 @@
|
||||||
#ifndef __ALSA_TIMER_H
|
#ifndef __ALSA_TIMER_H
|
||||||
#define __ALSA_TIMER_H
|
#define __ALSA_TIMER_H
|
||||||
|
|
||||||
|
#include "conf.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@
|
||||||
#ifndef __ALSA_TOPOLOGY_H
|
#ifndef __ALSA_TOPOLOGY_H
|
||||||
#define __ALSA_TOPOLOGY_H
|
#define __ALSA_TOPOLOGY_H
|
||||||
|
|
||||||
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue