ekg2
|
#include "ekg2-config.h"
#include <stdlib.h>
#include <sys/ioctl.h>
#include <linux/soundcard.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <ekg/audio.h>
#include <ekg/debug.h>
#include <ekg/commands.h>
#include <ekg/plugins.h>
#include <ekg/vars.h>
#include <ekg/windows.h>
#include <ekg/xmalloc.h>
Struktury danych | |
struct | oss_device_t |
struct | oss_private_t |
Funkcje | |
PLUGIN_DEFINE (oss, PLUGIN_AUDIO, NULL) | |
AUDIO_DEFINE (oss) | |
int | oss_read (int type, int fd, watch_type_t watch, void *data) |
int | oss_audio_read (int type, int fd, string_t buf, void *data) |
int | oss_audio_write (int type, int fd, string_t buf, void *data) |
oss_device_t * | oss_device_find (const char *path, int way, int freq, int sample, int channels) |
int | oss_device_free (oss_device_t *dev, int way) |
oss_device_t * | oss_device_new (const char *path, int way, int freq, int sample, int channels) |
AUDIO_CONTROL (oss_audio_control) | |
static int | oss_setvar_default (void *data, va_list ap) |
static int | oss_cmd_record (const char *name, const char **params, session_t *session, const char *target, int quiet) |
EXPORT int | oss_plugin_init (int prio) |
static int | oss_plugin_destroy () |
Zmienne | |
char * | config_audio_device = NULL |
list_t | oss_devices |
AUDIO_CONTROL | ( | oss_audio_control | ) |
AUDIO_DEFINE | ( | oss | ) |
int oss_audio_read | ( | int | type, |
int | fd, | ||
string_t | buf, | ||
void * | data | ||
) |
int oss_audio_write | ( | int | type, |
int | fd, | ||
string_t | buf, | ||
void * | data | ||
) |
|
static |
oss_device_t* oss_device_find | ( | const char * | path, |
int | way, | ||
int | freq, | ||
int | sample, | ||
int | channels | ||
) |
int oss_device_free | ( | oss_device_t * | dev, |
int | way | ||
) |
oss_device_t* oss_device_new | ( | const char * | path, |
int | way, | ||
int | freq, | ||
int | sample, | ||
int | channels | ||
) |
|
static |
EXPORT int oss_plugin_init | ( | int | prio | ) |
int oss_read | ( | int | type, |
int | fd, | ||
watch_type_t | watch, | ||
void * | data | ||
) |
|
static |
PLUGIN_DEFINE | ( | oss | , |
PLUGIN_AUDIO | , | ||
NULL | |||
) |
char* config_audio_device = NULL |
list_t oss_devices |