ekg2  GIT master
Struktury danych | Funkcje | Zmienne
Dokumentacja pliku oss.c
#include "ekg2.h"
#include <stdlib.h>
#include <sys/ioctl.h>
#include <linux/soundcard.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
Wykres zależności załączania dla oss.c:

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_toss_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_toss_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
 

Dokumentacja funkcji

◆ __attribute__()

__attribute__ ( (visibility("default"))  )

◆ AUDIO_CONTROL()

AUDIO_CONTROL ( oss_audio_control  )

◆ AUDIO_DEFINE()

AUDIO_DEFINE ( oss  )

◆ oss_cmd_record()

static int oss_cmd_record ( const char *  name,
const char **  params,
session_t session,
const char *  target,
int  quiet 
)
static

◆ oss_device_find()

oss_device_t* oss_device_find ( const char *  path,
int  way,
int  freq,
int  sample,
int  channels 
)

◆ oss_device_free()

int oss_device_free ( oss_device_t dev,
int  way 
)

◆ oss_device_new()

oss_device_t* oss_device_new ( const char *  path,
int  way,
int  freq,
int  sample,
int  channels 
)

◆ oss_plugin_destroy()

static int oss_plugin_destroy ( )
static

◆ oss_read()

int oss_read ( int  type,
int  fd,
watch_type_t  watch,
void *  data 
)

◆ oss_setvar_default()

static int oss_setvar_default ( void *  data,
va_list  ap 
)
static

◆ WATCHER_AUDIO() [1/2]

WATCHER_AUDIO ( oss_audio_read  )

◆ WATCHER_AUDIO() [2/2]

WATCHER_AUDIO ( oss_audio_write  )

Dokumentacja zmiennych

◆ config_audio_device

char* config_audio_device = NULL

◆ oss_devices

list_t oss_devices

◆ oss_plugin

plugin_t oss_plugin = { .name = "oss", .pclass = PLUGIN_AUDIO , .destroy = oss_plugin_destroy, .theme_init = NULL }