Leaving CPC and 32nd-per-quarter at -1 causes arithmetic errors later if the SMF file doesn't contain an explicit time signature meta-event
This is a stripped down version of libsmf 1.2 by Edward Tomasz Napiera for internal use by Evoral. See COPYING for licensing information. The complete version can be found at <http://libsmf.sf.net>.