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
audio_driver Struct Reference

#include <audio_core.h>

Public Attributes

int(* open )(int dev, int mode, int open_flags)
 
void(* close )(int dev, int mode)
 
void(* output_block )(int dev, oss_native_ulong buf, int count, int fragsize, int intrflag)
 
void(* start_input )(int dev, oss_native_ulong buf, int count, int fragsize, int intrflag)
 
int(* ioctl )(int dev, unsigned int cmd, ioctl_arg arg)
 
int(* prepare_for_input )(int dev, int bufsize, int nbufs)
 
int(* prepare_for_output )(int dev, int bufsize, int nbufs)
 
void(* halt_io )(int dev)
 
int(* local_qlen )(int dev)
 
int(* copy_user )(int dev, char *localbuf, int localoffs, WR_BUF_CONST snd_rw_buf *userbuf, int useroffs, int *len, int max_space)
 
void(* halt_input )(int dev)
 
void(* halt_output )(int dev)
 
void(* trigger )(int dev, int bits)
 
int(* set_speed )(int dev, int speed)
 
unsigned int(* set_bits )(int dev, unsigned int bits)
 
short(* set_channels )(int dev, short channels)
 
void(* postprocess_write )(int dev)
 
void(* preprocess_read )(int dev)
 
int(* check_input )(int dev)
 
int(* check_output )(int dev)
 
int(* alloc_buffer )(int dev, struct dma_buffparms *dmap, int direction)
 
int(* free_buffer )(int dev, struct dma_buffparms *dmap, int direction)
 
void(* lock_buffer )(int dev, int direction)
 
voiddummy
 
int(* get_buffer_pointer )(int dev, struct dma_buffparms *dmap, int direction)
 
int(* calibrate_speed )(int dev, int nominal_rate, int true_rate)
 
int(* sync_control )(int dev, int event, int mode)
 
void(* prepare_to_stop )(int dev)
 
int(* get_input_pointer )(int dev, struct dma_buffparms *dmap, int direction)
 
int(* get_output_pointer )(int dev, struct dma_buffparms *dmap, int direction)
 
int(* bind )(int dev, unsigned int cmd, ioctl_arg arg)
 
void(* setup_fragments )(int dev, dmap_p dmap, int direction)
 

Detailed Description

Definition at line 141 of file audio_core.h.

Member Data Documentation

int(* audio_driver::alloc_buffer)(int dev, struct dma_buffparms *dmap, int direction)

Definition at line 169 of file audio_core.h.

int(* audio_driver::bind)(int dev, unsigned int cmd, ioctl_arg arg)

Definition at line 184 of file audio_core.h.

int(* audio_driver::calibrate_speed)(int dev, int nominal_rate, int true_rate)

Definition at line 175 of file audio_core.h.

int(* audio_driver::check_input)(int dev)

Definition at line 166 of file audio_core.h.

int(* audio_driver::check_output)(int dev)

Definition at line 167 of file audio_core.h.

void(* audio_driver::close)(int dev, int mode)

Definition at line 144 of file audio_core.h.

int(* audio_driver::copy_user)(int dev, char *localbuf, int localoffs, WR_BUF_CONST snd_rw_buf *userbuf, int useroffs, int *len, int max_space)

Definition at line 154 of file audio_core.h.

void* audio_driver::dummy

Definition at line 172 of file audio_core.h.

int(* audio_driver::free_buffer)(int dev, struct dma_buffparms *dmap, int direction)

Definition at line 170 of file audio_core.h.

int(* audio_driver::get_buffer_pointer)(int dev, struct dma_buffparms *dmap, int direction)

Definition at line 173 of file audio_core.h.

int(* audio_driver::get_input_pointer)(int dev, struct dma_buffparms *dmap, int direction)

Definition at line 180 of file audio_core.h.

int(* audio_driver::get_output_pointer)(int dev, struct dma_buffparms *dmap, int direction)

Definition at line 182 of file audio_core.h.

void(* audio_driver::halt_input)(int dev)

Definition at line 157 of file audio_core.h.

void(* audio_driver::halt_io)(int dev)

Definition at line 152 of file audio_core.h.

void(* audio_driver::halt_output)(int dev)

Definition at line 158 of file audio_core.h.

int(* audio_driver::ioctl)(int dev, unsigned int cmd, ioctl_arg arg)

Definition at line 149 of file audio_core.h.

int(* audio_driver::local_qlen)(int dev)

Definition at line 153 of file audio_core.h.

void(* audio_driver::lock_buffer)(int dev, int direction)

Definition at line 171 of file audio_core.h.

int(* audio_driver::open)(int dev, int mode, int open_flags)

Definition at line 143 of file audio_core.h.

void(* audio_driver::output_block)(int dev, oss_native_ulong buf, int count, int fragsize, int intrflag)

Definition at line 145 of file audio_core.h.

void(* audio_driver::postprocess_write)(int dev)

Definition at line 163 of file audio_core.h.

int(* audio_driver::prepare_for_input)(int dev, int bufsize, int nbufs)

Definition at line 150 of file audio_core.h.

int(* audio_driver::prepare_for_output)(int dev, int bufsize, int nbufs)

Definition at line 151 of file audio_core.h.

void(* audio_driver::prepare_to_stop)(int dev)

Definition at line 179 of file audio_core.h.

void(* audio_driver::preprocess_read)(int dev)

Definition at line 164 of file audio_core.h.

unsigned int(* audio_driver::set_bits)(int dev, unsigned int bits)

Definition at line 161 of file audio_core.h.

short(* audio_driver::set_channels)(int dev, short channels)

Definition at line 162 of file audio_core.h.

int(* audio_driver::set_speed)(int dev, int speed)

Definition at line 160 of file audio_core.h.

void(* audio_driver::setup_fragments)(int dev, dmap_p dmap, int direction)

Definition at line 185 of file audio_core.h.

void(* audio_driver::start_input)(int dev, oss_native_ulong buf, int count, int fragsize, int intrflag)

Definition at line 147 of file audio_core.h.

int(* audio_driver::sync_control)(int dev, int event, int mode)

Definition at line 178 of file audio_core.h.

void(* audio_driver::trigger)(int dev, int bits)

Definition at line 159 of file audio_core.h.


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