#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 () |
Dokumentacja definicji
#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); } |
Dokumentacja funkcji
CODEC_CONTROL |
( |
pcm_codec_control |
| ) |
|
CODEC_RECODE |
( |
pcm_codec_code |
| ) |
|
CODEC_RECODE |
( |
pcm_codec_decode |
| ) |
|
static int pcm_plugin_destroy |
( |
| ) |
[static] |
EXPORT int pcm_plugin_init |
( |
int |
prio | ) |
|
static void pcm_recode |
( |
const char * |
in, |
|
|
int |
ibps, |
|
|
int |
ich, |
|
|
char * |
out, |
|
|
int |
obps, |
|
|
int |
och |
|
) |
| [static] |
PLUGIN_DEFINE |
( |
pcm |
, |
|
|
PLUGIN_CODEC |
, |
|
|
NULL |
|
|
) |
| |