Moved some prototypes from src/pcm/pcm_plugin.h to include/pcm_plugin.h.

Merged src/pcm/atomic.h to include/iatomic.h.
Added initial description of hw and hooks plugins.
This commit is contained in:
Jaroslav Kysela 2002-01-12 10:52:42 +00:00
parent b36ad628f7
commit 8c1887d7af
18 changed files with 442 additions and 159 deletions

View file

@ -1,3 +1,11 @@
/**
* \file pcm/pcm_plugin.c
* \ingroup PCM
* \brief PCM Interface
* \author Jaroslav Kysela <perex@suse.cz>
* \author Abramo Bagnara <abramo@alsa-project.org>
* \date 2000-2001
*/
/*
* PCM - Common plugin code
* Copyright (c) 2000 by Abramo Bagnara <abramo@alsa-project.org>
@ -18,12 +26,21 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
/*!
* \page pcm_plugins PCM (digital audio) plugins
*
* PCM plugins extends functionality and features of PCM devices.
* The plugins take care about various sample conversions, sample
* copying among channels and so on.
*/
#include <sys/shm.h>
#include <limits.h>
#include "pcm_local.h"
#include "pcm_plugin.h"
#ifndef DOC_HIDDEN
int snd_pcm_plugin_close(snd_pcm_t *pcm)
{
snd_pcm_plugin_t *plugin = pcm->private_data;
@ -481,3 +498,5 @@ snd_pcm_fast_ops_t snd_pcm_plugin_fast_ops = {
mmap_commit: snd_pcm_plugin_mmap_commit,
};
#endif