Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14721
Modified Files: Tag: devel_0_37 s_audio.c Log Message: alignment of audio bus
Index: s_audio.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/s_audio.c,v retrieving revision 1.1.1.1.2.10 retrieving revision 1.1.1.1.2.11 diff -C2 -d -r1.1.1.1.2.10 -r1.1.1.1.2.11 *** s_audio.c 9 Oct 2004 07:42:34 -0000 1.1.1.1.2.10 --- s_audio.c 9 Oct 2004 11:58:22 -0000 1.1.1.1.2.11 *************** *** 144,154 ****
if (sys_soundin) ! free(sys_soundin); ! sys_soundin = (t_float *)malloc(inbytes); memset(sys_soundin, 0, inbytes); ! if (sys_soundout) ! free(sys_soundout); ! sys_soundout = (t_float *)malloc(outbytes); memset(sys_soundout, 0, outbytes);
--- 144,154 ----
if (sys_soundin) ! freealignedbytes(sys_soundin,inbytes); ! sys_soundin = (t_float *)getalignedbytes(inbytes); memset(sys_soundin, 0, inbytes); ! if (sys_soundout) ! freealignedbytes(sys_soundout,outbytes); ! sys_soundout = (t_float *)getalignedbytes(outbytes); memset(sys_soundout, 0, outbytes);