comparison src/audio/SDL_audio.c @ 3788:7006b176ef4f SDL-ryan-multiple-audio-device

More work on the 1.3 CoreAudio code.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 03 Oct 2006 18:32:34 +0000
parents 8d74a4721ca9
children 8f8209f8da6d
comparison
equal deleted inserted replaced
3787:8d74a4721ca9 3788:7006b176ef4f
852 for (i = 0; i < SDL_arraysize(open_devices); i++) { 852 for (i = 0; i < SDL_arraysize(open_devices); i++) {
853 SDL_CloseAudioDevice(i); 853 SDL_CloseAudioDevice(i);
854 } 854 }
855 855
856 /* Free the driver data */ 856 /* Free the driver data */
857 current_audio.Deinitialize(); 857 current_audio.impl.Deinitialize();
858 SDL_memset(&current_audio, '\0', sizeof (current_audio)); 858 SDL_memset(&current_audio, '\0', sizeof (current_audio));
859 SDL_memset(open_devices, '\0', sizeof (open_devices)); 859 SDL_memset(open_devices, '\0', sizeof (open_devices));
860 } 860 }
861 861
862 #define NUM_FORMATS 10 862 #define NUM_FORMATS 10