Revision 1ea879e5 audio/paaudio.c

b/audio/paaudio.c
95 95
        while (to_mix) {
96 96
            int error;
97 97
            int chunk = audio_MIN (to_mix, hw->samples - rpos);
98
            st_sample_t *src = hw->mix_buf + rpos;
98
            struct st_sample *src = hw->mix_buf + rpos;
99 99

  
100 100
            hw->clip (pa->pcm_buf, src, chunk);
101 101

  
......
295 295
    }
296 296
}
297 297

  
298
static int qpa_init_out (HWVoiceOut *hw, audsettings_t *as)
298
static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as)
299 299
{
300 300
    int error;
301 301
    static pa_sample_spec ss;
302
    audsettings_t obt_as = *as;
302
    struct audsettings obt_as = *as;
303 303
    PAVoiceOut *pa = (PAVoiceOut *) hw;
304 304

  
305 305
    ss.format = audfmt_to_pa (as->fmt, as->endianness);
......
349 349
    return -1;
350 350
}
351 351

  
352
static int qpa_init_in (HWVoiceIn *hw, audsettings_t *as)
352
static int qpa_init_in (HWVoiceIn *hw, struct audsettings *as)
353 353
{
354 354
    int error;
355 355
    static pa_sample_spec ss;
356
    audsettings_t obt_as = *as;
356
    struct audsettings obt_as = *as;
357 357
    PAVoiceIn *pa = (PAVoiceIn *) hw;
358 358

  
359 359
    ss.format = audfmt_to_pa (as->fmt, as->endianness);

Also available in: Unified diff