#include "ALSA.H"
#include <alsa/pcm_external.h>
#include <alsa/pcm_plugin.h>
#include <typeinfo>
#include <sstream>
Go to the source code of this file.
|
#define | STATICFNNAME(name) name##_static |
|
#define | STATICFNDEF(retType, name) static retType STATICFNNAME(name) (snd_pcm_extplug_t *extplug) |
|
#define | STATICFNDEF2(retType, name, arg1_type, arg1) static retType STATICFNNAME(name) (snd_pcm_extplug_t *extplug, arg1_type arg1) |
|
#define | STATICFNBODY(name) {std::cout<<__func__<<std::endl; return static_cast<ALSAExternalPlugin*>(extplug->private_data)->name();} |
|
#define | STATICFNBODY2(name, arg1) {std::cout<<__func__<<std::endl; return static_cast<ALSAExternalPlugin*>(extplug->private_data)->name(arg1);} |
|
#define | STATICFN(retType, name) STATICFNDEF(retType, name) STATICFNBODY(name) |
|
#define | STATICFN2(retType, name, arg1_type, arg1) STATICFNDEF2(retType, name, arg1_type, arg1) STATICFNBODY2(name, arg1) |
|
◆ STATICFN
◆ STATICFN2
◆ STATICFNBODY
#define STATICFNBODY |
( |
|
name | ) |
{std::cout<<__func__<<std::endl; return static_cast<ALSAExternalPlugin*>(extplug->private_data)->name();} |
◆ STATICFNBODY2
#define STATICFNBODY2 |
( |
|
name, |
|
|
|
arg1 |
|
) |
| {std::cout<<__func__<<std::endl; return static_cast<ALSAExternalPlugin*>(extplug->private_data)->name(arg1);} |
◆ STATICFNDEF
#define STATICFNDEF |
( |
|
retType, |
|
|
|
name |
|
) |
| static retType STATICFNNAME(name) (snd_pcm_extplug_t *extplug) |
◆ STATICFNDEF2
#define STATICFNDEF2 |
( |
|
retType, |
|
|
|
name, |
|
|
|
arg1_type, |
|
|
|
arg1 |
|
) |
| static retType STATICFNNAME(name) (snd_pcm_extplug_t *extplug, arg1_type arg1) |
◆ STATICFNNAME
#define STATICFNNAME |
( |
|
name | ) |
name##_static |