@ -28,7 +28,7 @@ AudioRecorder::~AudioRecorder()
XOJ_RELEASE_TYPE(AudioRecorder);
}
void AudioRecorder::start(std::string filename)
void AudioRecorder::start(string filename)
{
XOJ_CHECK_TYPE(AudioRecorder);
@ -26,7 +26,7 @@ public:
~AudioRecorder();
public:
void start(std::string filename);
void start(string filename);
void stop();
private:
@ -35,7 +35,7 @@ void SoxConsumer::start(string filename, double sampleRate, const DeviceInfo& in
if (this->outputFile == nullptr)
// TODO Stop recording in this case, so the users sees that recording is not running!
g_error("SoxConsumer: output file «%s» could not be opened", filename.c_str());
g_warning("SoxConsumer: output file \"%s\" could not be opened", filename.c_str());
return;