Skip to content
Snippets Groups Projects
Commit 553a2978 authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

ringtone: fix for iOS

Change-Id: Ic0f1856fe5bd6f68717331c25847778ca105c5c7
parent 3724d899
Branches
Tags
No related merge requests found
......@@ -67,6 +67,7 @@ AudioFile::AudioFile(const std::string &fileName, unsigned int sampleRate) :
});
DeviceParams dev;
dev.input = fileName;
dev.name = fileName;
if (decoder->openInput(dev) < 0)
throw AudioFileException("File could not be opened: " + fileName);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment