#include <gr_audio_sink.h>
#include <gr_audio_source.h>
#include <string>
Go to the source code of this file.
Defines |
#define | AUDIO_REGISTER_FIXTURE(x) static struct x{x();}x;x::x() |
#define | AUDIO_REGISTER_SOURCE(prio, arch) |
#define | AUDIO_REGISTER_SINK(prio, arch) |
Typedefs |
typedef audio_source::sptr(* | source_factory_t )(int, const std::string &, bool) |
typedef audio_sink::sptr(* | sink_factory_t )(int, const std::string &, bool) |
Enumerations |
enum | reg_prio_type { REG_PRIO_LOW = 100,
REG_PRIO_MED = 200,
REG_PRIO_HIGH = 300
} |
Functions |
void | audio_register_source (reg_prio_type prio, const std::string &arch, source_factory_t source) |
void | audio_register_sink (reg_prio_type prio, const std::string &arch, sink_factory_t sink) |
Define Documentation
#define AUDIO_REGISTER_FIXTURE |
( |
|
x | ) |
static struct x{x();}x;x::x() |
#define AUDIO_REGISTER_SINK |
( |
|
prio, |
|
|
|
arch |
|
) |
| |
Value:static audio_sink::sptr arch##_sink_fcn(int, const std::string &, bool); \
AUDIO_REGISTER_FIXTURE(arch##_sink_reg){ \
audio_register_sink(prio, #arch, &arch##_sink_fcn); \
} static audio_sink::sptr arch##_sink_fcn
#define AUDIO_REGISTER_SOURCE |
( |
|
prio, |
|
|
|
arch |
|
) |
| |
Value:static audio_source::sptr arch##_source_fcn(int, const std::string &, bool); \
AUDIO_REGISTER_FIXTURE(arch##_source_reg){ \
audio_register_source(prio, #arch, &arch##_source_fcn); \
} static audio_source::sptr arch##_source_fcn
Typedef Documentation
Enumeration Type Documentation
- Enumerator:
REG_PRIO_LOW |
|
REG_PRIO_MED |
|
REG_PRIO_HIGH |
|
Function Documentation