doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Attributes | List of all members
dma_buffparms Struct Reference

#include <audio_core.h>

Public Attributes

oss_mutex mutex
 
sound_os_info * osp
 
char * raw_buf
 
oss_native_ulong raw_buf_phys
 
int buffsize
 
unsigned char * tmpbuf1
 
unsigned char * tmpbuf2
 
int dma
 
voiddriver_use_ptr
 
long driver_use_value
 
void(* audio_callback )(int dev, int parm)
 
int callback_parm
 
voidsrcstate [OSS_MAX_AUDIO_CHANNELS]
 
oss_native_ulong flags
 
int dma_mode
 
int nbufs
 
int frag_used
 
int fragment_size
 
int bytes_in_use
 
int data_rate
 
int frame_size
 
int fragsize_rq
 
int low_water
 
volatile oss_native_ulonglong byte_counter
 
volatile oss_native_ulonglong user_counter
 
int write_count
 
int interrupt_count
 
int fragment_counter
 
int expand_factor
 
int mapping_flags
 
char neutral_byte
 
int error
 
int play_underruns
 
int rec_overruns
 
int underrun_flag
 
int play_error
 
int num_play_errors
 
int rec_error
 
int num_rec_errors
 
unsigned char * leftover_buf
 
int leftover_bytes
 
int tmpbuf_len
 
int tmpbuf_ptr
 
cnv_func_t convert_func
 
unsigned int convert_mode
 
struct audio_buffer *(* user_import )(struct audio_operations *adev, struct dma_buffparms *dmap, sample_parms *parms, unsigned char *cbuf, int len)
 
int(* user_export )(struct audio_operations *adev, struct dma_buffparms *dmap, sample_parms *parms, struct audio_buffer *buf, unsigned char *cbuf, int maxbytes)
 
struct audio_buffer *(* device_read )(struct audio_operations *adev, struct dma_buffparms *dmap, sample_parms *parms, unsigned char *cbuf, int len)
 
int(* device_write )(struct audio_operations *adev, struct dma_buffparms *dmap, void *frombuf, void *tobuf, int maxspace, int *fromlen, int *tolen)
 

Detailed Description

Definition at line 39 of file audio_core.h.

Member Data Documentation

void(* dma_buffparms::audio_callback)(int dev, int parm)

Definition at line 56 of file audio_core.h.

int dma_buffparms::buffsize

Definition at line 50 of file audio_core.h.

volatile oss_native_ulonglong dma_buffparms::byte_counter

Definition at line 91 of file audio_core.h.

int dma_buffparms::bytes_in_use

Definition at line 86 of file audio_core.h.

int dma_buffparms::callback_parm

Definition at line 57 of file audio_core.h.

cnv_func_t dma_buffparms::convert_func

Definition at line 118 of file audio_core.h.

unsigned int dma_buffparms::convert_mode

Definition at line 119 of file audio_core.h.

int dma_buffparms::data_rate

Definition at line 87 of file audio_core.h.

struct audio_buffer*(* dma_buffparms::device_read)(struct audio_operations *adev, struct dma_buffparms *dmap, sample_parms *parms, unsigned char *cbuf, int len)

Definition at line 128 of file audio_core.h.

int(* dma_buffparms::device_write)(struct audio_operations *adev, struct dma_buffparms *dmap, void *frombuf, void *tobuf, int maxspace, int *fromlen, int *tolen)

Definition at line 132 of file audio_core.h.

int dma_buffparms::dma

Definition at line 52 of file audio_core.h.

int dma_buffparms::dma_mode

Definition at line 75 of file audio_core.h.

void* dma_buffparms::driver_use_ptr

Definition at line 53 of file audio_core.h.

long dma_buffparms::driver_use_value

Definition at line 54 of file audio_core.h.

int dma_buffparms::error

Definition at line 109 of file audio_core.h.

int dma_buffparms::expand_factor

Definition at line 96 of file audio_core.h.

oss_native_ulong dma_buffparms::flags

Definition at line 67 of file audio_core.h.

int dma_buffparms::frag_used

Definition at line 84 of file audio_core.h.

int dma_buffparms::fragment_counter

Definition at line 95 of file audio_core.h.

int dma_buffparms::fragment_size

Definition at line 85 of file audio_core.h.

int dma_buffparms::fragsize_rq

Definition at line 89 of file audio_core.h.

int dma_buffparms::frame_size

Definition at line 88 of file audio_core.h.

int dma_buffparms::interrupt_count

Definition at line 94 of file audio_core.h.

unsigned char* dma_buffparms::leftover_buf

Definition at line 115 of file audio_core.h.

int dma_buffparms::leftover_bytes

Definition at line 116 of file audio_core.h.

int dma_buffparms::low_water

Definition at line 90 of file audio_core.h.

int dma_buffparms::mapping_flags

Definition at line 98 of file audio_core.h.

oss_mutex dma_buffparms::mutex

Definition at line 45 of file audio_core.h.

int dma_buffparms::nbufs

Definition at line 83 of file audio_core.h.

char dma_buffparms::neutral_byte

Definition at line 100 of file audio_core.h.

int dma_buffparms::num_play_errors

Definition at line 112 of file audio_core.h.

int dma_buffparms::num_rec_errors

Definition at line 113 of file audio_core.h.

sound_os_info* dma_buffparms::osp

Definition at line 47 of file audio_core.h.

int dma_buffparms::play_error

Definition at line 112 of file audio_core.h.

int dma_buffparms::play_underruns

Definition at line 110 of file audio_core.h.

char* dma_buffparms::raw_buf

Definition at line 48 of file audio_core.h.

oss_native_ulong dma_buffparms::raw_buf_phys

Definition at line 49 of file audio_core.h.

int dma_buffparms::rec_error

Definition at line 113 of file audio_core.h.

int dma_buffparms::rec_overruns

Definition at line 110 of file audio_core.h.

void* dma_buffparms::srcstate[OSS_MAX_AUDIO_CHANNELS]

Definition at line 66 of file audio_core.h.

unsigned char* dma_buffparms::tmpbuf1

Definition at line 51 of file audio_core.h.

unsigned char * dma_buffparms::tmpbuf2

Definition at line 51 of file audio_core.h.

int dma_buffparms::tmpbuf_len

Definition at line 117 of file audio_core.h.

int dma_buffparms::tmpbuf_ptr

Definition at line 117 of file audio_core.h.

int dma_buffparms::underrun_flag

Definition at line 111 of file audio_core.h.

volatile oss_native_ulonglong dma_buffparms::user_counter

Definition at line 92 of file audio_core.h.

int(* dma_buffparms::user_export)(struct audio_operations *adev, struct dma_buffparms *dmap, sample_parms *parms, struct audio_buffer *buf, unsigned char *cbuf, int maxbytes)

Definition at line 124 of file audio_core.h.

struct audio_buffer*(* dma_buffparms::user_import)(struct audio_operations *adev, struct dma_buffparms *dmap, sample_parms *parms, unsigned char *cbuf, int len)

Definition at line 120 of file audio_core.h.

int dma_buffparms::write_count

Definition at line 93 of file audio_core.h.


The documentation for this struct was generated from the following file: