I was missing a setRecordingDir() call in startRecording().  It should get updated now.  I'm thinking that I should move the code for creating directories to openSndFile instead of setRecordingDir.  That way we're sure that the file path will be created.