ekg2
GIT master
|
#include "ekg2.h"
#include <stdlib.h>
#include <sys/ioctl.h>
#include <linux/soundcard.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
Struktury danych | |
struct | oss_device_t |
struct | oss_private_t |
Funkcje | |
static int | oss_plugin_destroy () |
AUDIO_DEFINE (oss) | |
int | oss_read (int type, int fd, watch_type_t watch, void *data) |
WATCHER_AUDIO (oss_audio_read) | |
WATCHER_AUDIO (oss_audio_write) | |
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) |
__attribute__ ((visibility("default"))) | |
Zmienne | |
char * | config_audio_device = NULL |
plugin_t | oss_plugin = { .name = "oss", .pclass = PLUGIN_AUDIO , .destroy = oss_plugin_destroy, .theme_init = NULL } |
list_t | oss_devices |
__attribute__ | ( | (visibility("default")) | ) |
AUDIO_CONTROL | ( | oss_audio_control | ) |
AUDIO_DEFINE | ( | oss | ) |
|
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 |
int oss_read | ( | int | type, |
int | fd, | ||
watch_type_t | watch, | ||
void * | data | ||
) |
|
static |
WATCHER_AUDIO | ( | oss_audio_read | ) |
WATCHER_AUDIO | ( | oss_audio_write | ) |
char* config_audio_device = NULL |
list_t oss_devices |
plugin_t oss_plugin = { .name = "oss", .pclass = PLUGIN_AUDIO , .destroy = oss_plugin_destroy, .theme_init = NULL } |