class PauseResumeAudioRecorder {

    public void setMaxFileSizeInBytes(final long maxFileSizeInBytes){
        if (maxFileSizeInBytes<1000 || maxFileSizeInBytes> PcmWavConverter.MAX_SIZE_WAV_FILE_BYTES){
            throw new IllegalArgumentException("Invalid max file size given");
        }
        if (currentAudioState.get()!=PREPARED_STATE && currentAudioState.get()!=INITIALIZED_STATE ){
            throw new IllegalStateException("Cannot modify max file size during a non-prepared and non-initialized state");
        }
        this.maxFileSizeInBytes=maxFileSizeInBytes;
    }

    public  PauseResumeAudioRecorder();

}