|
ekg2
|
#include "ekg2-config.h"#include <string.h>#include <stdlib.h>#include <ekg/audio.h>#include <ekg/debug.h>#include <ekg/dynstuff.h>#include <ekg/plugins.h>#include <ekg/xmalloc.h>Struktury danych | |
| struct | pcm_private_t |
Definicje | |
| #define | QUERY_INPUT_ADD(attr, val) if (!val) { array_add(&inpque, attr); array_add(&inpque, (char *) &val); } |
| #define | QUERY_OUTPUT_ADD(attr, val) if (!val) { array_add(&outque, attr); array_add(&outque, (char *) &val); } |
Funkcje | |
| PLUGIN_DEFINE (pcm, PLUGIN_CODEC, NULL) | |
| CODEC_DEFINE (pcm) | |
| CODEC_CONTROL (pcm_codec_control) | |
| static void | pcm_recode (const char *in, int ibps, int ich, char *out, int obps, int och) |
| int | pcm_codec_process (int type, codec_way_t way, string_t input, string_t output, void *data) |
| CODEC_RECODE (pcm_codec_code) | |
| CODEC_RECODE (pcm_codec_decode) | |
| EXPORT int | pcm_plugin_init (int prio) |
| static int | pcm_plugin_destroy () |
| #define QUERY_INPUT_ADD | ( | attr, | |
| val | |||
| ) | if (!val) { array_add(&inpque, attr); array_add(&inpque, (char *) &val); } |
| #define QUERY_OUTPUT_ADD | ( | attr, | |
| val | |||
| ) | if (!val) { array_add(&outque, attr); array_add(&outque, (char *) &val); } |
| CODEC_CONTROL | ( | pcm_codec_control | ) |
| CODEC_DEFINE | ( | pcm | ) |
| CODEC_RECODE | ( | pcm_codec_code | ) |
| CODEC_RECODE | ( | pcm_codec_decode | ) |
| int pcm_codec_process | ( | int | type, |
| codec_way_t | way, | ||
| string_t | input, | ||
| string_t | output, | ||
| void * | data | ||
| ) |
|
static |
| EXPORT int pcm_plugin_init | ( | int | prio | ) |
|
static |
| PLUGIN_DEFINE | ( | pcm | , |
| PLUGIN_CODEC | , | ||
| NULL | |||
| ) |
1.8.1.2