diff src/audio/baudio/SDL_beaudio.cc @ 3830:29e83f221c62 SDL-ryan-multiple-audio-device

Fixed some things to use SDL C runtime functions.
author Ryan C. Gordon <icculus@icculus.org>
date Sat, 07 Oct 2006 19:56:47 +0000
parents b225d9820ee3
children 7c9663fb0860
line wrap: on
line diff
--- a/src/audio/baudio/SDL_beaudio.cc	Sat Oct 07 19:53:48 2006 +0000
+++ b/src/audio/baudio/SDL_beaudio.cc	Sat Oct 07 19:56:47 2006 +0000
@@ -117,7 +117,7 @@
     }
 
     /* Parse the audio format and fill the Be raw audio format */
-    memset(&format, '\0', sizeof(media_raw_audio_format));
+    SDL_memset(&format, '\0', sizeof(media_raw_audio_format));
     format.byte_order = B_MEDIA_LITTLE_ENDIAN;
     format.frame_rate = (float) this->spec.freq;
     format.channel_count = this->spec.channels;  /* !!! FIXME: support > 2? */