mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-05 13:30:00 -05:00
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:
parent
b36ad628f7
commit
8c1887d7af
18 changed files with 442 additions and 159 deletions
|
|
@ -193,19 +193,6 @@ struct _snd_pcm {
|
|||
struct list_head async_handlers;
|
||||
};
|
||||
|
||||
#define ROUTE_PLUGIN_FLOAT 1
|
||||
#define ROUTE_PLUGIN_RESOLUTION 16
|
||||
|
||||
#if ROUTE_PLUGIN_FLOAT
|
||||
typedef float snd_pcm_route_ttable_entry_t;
|
||||
#define HALF 0.5
|
||||
#define FULL 1.0
|
||||
#else
|
||||
typedef int snd_pcm_route_ttable_entry_t;
|
||||
#define HALF (ROUTE_PLUGIN_RESOLUTION / 2)
|
||||
#define FULL ROUTE_PLUGIN_RESOLUTION
|
||||
#endif
|
||||
|
||||
/* FIXME */
|
||||
#define _snd_pcm_link_descriptor _snd_pcm_poll_descriptor
|
||||
#define _snd_pcm_async_descriptor _snd_pcm_poll_descriptor
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue