Revision 1ea879e5 audio/ossaudio.c
b/audio/ossaudio.c | ||
---|---|---|
294 | 294 |
int err, rpos, live, decr; |
295 | 295 |
int samples; |
296 | 296 |
uint8_t *dst; |
297 |
st_sample_t *src;
|
|
297 |
struct st_sample *src;
|
|
298 | 298 |
struct audio_buf_info abinfo; |
299 | 299 |
struct count_info cntinfo; |
300 | 300 |
int bufsize; |
... | ... | |
434 | 434 |
} |
435 | 435 |
} |
436 | 436 |
|
437 |
static int oss_init_out (HWVoiceOut *hw, audsettings_t *as)
|
|
437 |
static int oss_init_out (HWVoiceOut *hw, struct audsettings *as)
|
|
438 | 438 |
{ |
439 | 439 |
OSSVoiceOut *oss = (OSSVoiceOut *) hw; |
440 | 440 |
struct oss_params req, obt; |
... | ... | |
442 | 442 |
int err; |
443 | 443 |
int fd; |
444 | 444 |
audfmt_e effective_fmt; |
445 |
audsettings_t obt_as;
|
|
445 |
struct audsettings obt_as;
|
|
446 | 446 |
|
447 | 447 |
oss->fd = -1; |
448 | 448 |
|
... | ... | |
576 | 576 |
return 0; |
577 | 577 |
} |
578 | 578 |
|
579 |
static int oss_init_in (HWVoiceIn *hw, audsettings_t *as)
|
|
579 |
static int oss_init_in (HWVoiceIn *hw, struct audsettings *as)
|
|
580 | 580 |
{ |
581 | 581 |
OSSVoiceIn *oss = (OSSVoiceIn *) hw; |
582 | 582 |
struct oss_params req, obt; |
... | ... | |
584 | 584 |
int err; |
585 | 585 |
int fd; |
586 | 586 |
audfmt_e effective_fmt; |
587 |
audsettings_t obt_as;
|
|
587 |
struct audsettings obt_as;
|
|
588 | 588 |
|
589 | 589 |
oss->fd = -1; |
590 | 590 |
|
Also available in: Unified diff