squti / Android-Wave-Recorder

A powerful and efficient library to record WAVE form audio files (WAV) in Android
MIT License
239 stars 44 forks source link

Added `changeFile` function #10

Closed DaChelimo closed 3 years ago

DaChelimo commented 3 years ago

The new function changes the filePath only if the WaveRecorder has not yet started recording. It also throws an IllegalStateException if called in the wrong state.

squti commented 3 years ago

Please just rollback all of your changes and just make one commit for WaveRecorder.kt file and then make a new pull request. Moreover please use present tense in your commit message for example use Add instead of Added and consider my comment about the exception message.

DaChelimo commented 3 years ago

Sorry for the delay. I'm a beginner when it comes to Git so I couldn't find a way to revert a commit until today. Will pull in a short while.