Skip to content
Snippets Groups Projects
Unverified Commit 3fe379ca authored by Sébastien Blin's avatar Sébastien Blin
Browse files

recordbox: fix audio recording

GitLab: #601
Change-Id: I00a2f58ce39647a773599550f831a6478817a257
parent ad8072c1
No related branches found
No related tags found
No related merge requests found
...@@ -105,7 +105,7 @@ Rectangle { ...@@ -105,7 +105,7 @@ Rectangle {
function startRecording() { function startRecording() {
timer.start() timer.start()
pathRecorder = AVModel.startLocalMediaRecorder(VideoDevices.getDefaultDevice()) pathRecorder = AVModel.startLocalMediaRecorder(isVideo? VideoDevices.getDefaultDevice() : "")
if (pathRecorder == "") { if (pathRecorder == "") {
timer.stop() timer.stop()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment