Revision 1ea879e5 audio/sdlaudio.c
b/audio/sdlaudio.c | ||
---|---|---|
257 | 257 |
decr = to_mix; |
258 | 258 |
while (to_mix) { |
259 | 259 |
int chunk = audio_MIN (to_mix, hw->samples - hw->rpos); |
260 |
st_sample_t *src = hw->mix_buf + hw->rpos;
|
|
260 |
struct st_sample *src = hw->mix_buf + hw->rpos;
|
|
261 | 261 |
|
262 | 262 |
/* dolog ("in callback to_mix %d, chunk %d\n", to_mix, chunk); */ |
263 | 263 |
hw->clip (buf, src, chunk); |
... | ... | |
323 | 323 |
sdl_close (&glob_sdl); |
324 | 324 |
} |
325 | 325 |
|
326 |
static int sdl_init_out (HWVoiceOut *hw, audsettings_t *as)
|
|
326 |
static int sdl_init_out (HWVoiceOut *hw, struct audsettings *as)
|
|
327 | 327 |
{ |
328 | 328 |
SDLVoiceOut *sdl = (SDLVoiceOut *) hw; |
329 | 329 |
SDLAudioState *s = &glob_sdl; |
... | ... | |
332 | 332 |
int endianess; |
333 | 333 |
int err; |
334 | 334 |
audfmt_e effective_fmt; |
335 |
audsettings_t obt_as;
|
|
335 |
struct audsettings obt_as;
|
|
336 | 336 |
|
337 | 337 |
shift <<= as->nchannels == 2; |
338 | 338 |
|
Also available in: Unified diff