49#define MOD_NAME "[dummy a.] "
64 *available_devices = NULL;
79 if (strcmp(cfg,
"debug") == 0) {
81 }
else if (strcmp(cfg,
"help") == 0) {
85 }
else if (strlen(cfg) > 0) {
86 MSG(ERROR,
"Wrong option: %s\n", cfg);
107 printf(
MOD_NAME "Received TS: %10" PRId64
108 ", offset: %6lld, sample: %6lld (+%lld), len: %d\n",
int void(** deleter)(void *))
static void audio_play_dummy_put_frame(void *state, const struct audio_frame *f)
static bool audio_play_dummy_ctl(void *state, int request, void *data, size_t *len)
static void * audio_play_dummy_init(const char *cfg)
static void audio_play_dummy_help(void)
static void audio_play_dummy_done(void *state)
static bool audio_play_dummy_reconfigure(void *state, struct audio_desc desc)
static const struct audio_playback_info aplay_dummy_info
static void audio_play_dummy_probe(struct device_info **available_devices, int *count, void(**deleter)(void *))
This file contains definition of some common audio types.
#define AUDIO_PLAYBACK_CTL_QUERY_FORMAT
#define AUDIO_PLAYBACK_ABI_VERSION
int color_printf(const char *format,...)
@ LIBRARY_CLASS_AUDIO_PLAYBACK
#define REGISTER_MODULE(name, info, lclass, abi)
Registers module to global modules' registry.
struct used to comunicate with audio capture/playback device
This file contains some common data types.
@ kHz90
timestamp time base