version 1.16, 2014/03/17 17:53:33 |
version 1.17, 2014/06/02 07:51:25 |
|
|
void dev_midi_fill(void *, int); |
void dev_midi_fill(void *, int); |
void dev_midi_exit(void *); |
void dev_midi_exit(void *); |
|
|
void dev_mon_snoop(struct dev *); |
|
int play_filt_resamp(struct slot *, void *, void *, int); |
int play_filt_resamp(struct slot *, void *, void *, int); |
int play_filt_dec(struct slot *, void *, void *, int); |
int play_filt_dec(struct slot *, void *, void *, int); |
void dev_mix_badd(struct dev *, struct slot *); |
void dev_mix_badd(struct dev *, struct slot *); |
|
|
return max - s->skip; |
return max - s->skip; |
} |
} |
|
|
/* |
|
* merge play buffer contents into record buffer as if the |
|
* play stream was recorded |
|
*/ |
|
void |
|
dev_mon_snoop(struct dev *d) |
|
{ |
|
} |
|
|
|
int |
int |
play_filt_resamp(struct slot *s, void *res_in, void *out, int todo) |
play_filt_resamp(struct slot *s, void *res_in, void *out, int todo) |
{ |
{ |
|
|
|
|
s->pstate = SLOT_RUN; |
s->pstate = SLOT_RUN; |
#ifdef DEBUG |
#ifdef DEBUG |
if (log_level >= 0) { |
if (log_level >= 2) { |
slot_log(s); |
slot_log(s); |
log_puts(": attached at "); |
log_puts(": attached at "); |
log_puti(startpos); |
log_puti(startpos); |