Max Kellermann <m...@duempel.org> writes: >> The struct is now initialized using a static initializer, and this >> technique is compatible with all known versions of libao. > > Why not use memset()? That would be more efficient.
It would. The argument in favor of the static initializer approach is that it does not assume that NULL == 0. I can resend a patch using memset, if you like. -- Chris ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team