diff libao2/ao_alsa5.c @ 3700:91f801a94a59

memset is more portable than bzero ("BSD"ism)
author pl
date Mon, 24 Dec 2001 10:35:43 +0000
parents 981a9e5118ce
children d141f1e9cc36
line wrap: on
line diff
--- a/libao2/ao_alsa5.c	Mon Dec 24 10:27:28 2001 +0000
+++ b/libao2/ao_alsa5.c	Mon Dec 24 10:35:43 2001 +0000
@@ -173,7 +173,7 @@
 
     if (info.flags & SND_PCM_INFO_PLAYBACK)
     {
-	bzero(&chninfo, sizeof(chninfo));
+	memset(&chninfo, 0, sizeof(chninfo));
 	chninfo.channel = SND_PCM_CHANNEL_PLAYBACK;
 	if ((err = snd_pcm_channel_info(alsa_handler, &chninfo)) < 0)
 	{