Fix for padding in wav file writer.
Added method AudioFormatWriter::ThreadedWriter::setFlushInterval()
Internal refactoring of some camera capture classes to make it easier to update to new APIs.