version 1.5, 2008/08/14 09:39:16 |
version 1.6, 2008/08/14 09:44:15 |
|
|
int mixvol; /* input gain */ |
int mixvol; /* input gain */ |
unsigned mixdone; /* input of mixer */ |
unsigned mixdone; /* input of mixer */ |
unsigned mixtodo; /* output of mixer */ |
unsigned mixtodo; /* output of mixer */ |
unsigned mixdrop; /* frames mix_in() will discard */ |
|
unsigned subdone; /* output if sub */ |
unsigned subdone; /* output if sub */ |
unsigned subdrop; /* silence frames sub_out() will insert */ |
|
#define XRUN_IGNORE 0 /* on xrun silently insert/discard samples */ |
#define XRUN_IGNORE 0 /* on xrun silently insert/discard samples */ |
#define XRUN_SYNC 1 /* catchup to sync to the mix/sub */ |
#define XRUN_SYNC 1 /* catchup to sync to the mix/sub */ |
#define XRUN_ERROR 2 /* xruns are errors, eof/hup buffer */ |
#define XRUN_ERROR 2 /* xruns are errors, eof/hup buffer */ |
|
|
unsigned start; /* offset where data starts */ |
unsigned start; /* offset where data starts */ |
unsigned used; /* valid data */ |
unsigned used; /* valid data */ |
unsigned len; /* size of the ring */ |
unsigned len; /* size of the ring */ |
|
unsigned silence; /* silence to insert on next write */ |
|
unsigned drop; /* frames to drop on next read */ |
struct aproc *rproc; /* reader */ |
struct aproc *rproc; /* reader */ |
struct aproc *wproc; /* writer */ |
struct aproc *wproc; /* writer */ |
unsigned char *data; /* pointer to actual data (immediately following) */ |
unsigned char *data; /* actual data (immediately following) */ |
}; |
}; |
|
|
/* |
/* |