Mercurial > SDL_sound_CoreAudio
comparison playsound/playsound.c @ 137:e3f4767d6037
Removed an experiment.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 12 Oct 2001 17:31:46 +0000 |
parents | 69cd80e80363 |
children | 195c96fa355a |
comparison
equal
deleted
inserted
replaced
136:8b7a5ed255bb | 137:e3f4767d6037 |
---|---|
339 sdl_desired.freq = sample->actual.rate; | 339 sdl_desired.freq = sample->actual.rate; |
340 sdl_desired.format = sample->actual.format; | 340 sdl_desired.format = sample->actual.format; |
341 sdl_desired.channels = sample->actual.channels; | 341 sdl_desired.channels = sample->actual.channels; |
342 } /* else */ | 342 } /* else */ |
343 | 343 |
344 sdl_desired.samples = 4096 * 2; | 344 sdl_desired.samples = 4096; |
345 sdl_desired.callback = audio_callback; | 345 sdl_desired.callback = audio_callback; |
346 sdl_desired.userdata = sample; | 346 sdl_desired.userdata = sample; |
347 | 347 |
348 if (SDL_OpenAudio(&sdl_desired, NULL) < 0) | 348 if (SDL_OpenAudio(&sdl_desired, NULL) < 0) |
349 { | 349 { |