QSoundEffect and iOS (Low Latency sound format)
-
Hi,
I'm writing here to ask about the format supported by QSoundEffect and iOS (I understand it uses Core Audio plugin), I tried converting my audio to several formats with no luck, I've read Apple Documentation for Audio formats supported and I'm unable to convert to that format.
Can anyone share a low latency audio format (Or actual audio file) that works on iOS with QSoundEffect.
I have made some sounds work on iOS, but they work in a very low volume thus it's very difficult for my users to hear that sound.
Appreciate your responses.
Thank you in advance!
Ahmed -
Hello,
I hope someone will be able to help, I would appreciate the feedback.
Bests,
Ahmed -
Actually, What I've found at the Qt sources is the problem I guess
Look at the function
@
void CoreAudioOutput::setVolume(qreal volume)
{
const qreal normalizedVolume = qBound(qreal(0.0), volume, qreal(1.0));
m_cachedVolume = normalizedVolume;
if (!m_isOpen) {
return;
}
//TODO: actually set the output volume here
//To set the output volume you need a handle to the mixer unit
}@Seems that it is not done, setVolume method isn't working with QSoundEffect
-
I recently ran into the same problem, but the problem was that coreaudio played audio through the earpiece instead of the speakers.
It seems the default category is set to "PlayAndRecord"
Changing it to "Playback" seems to play back sounds with full volume.
-
I am currently facing the same problem with the volume. How did you change the category from "PlayAndRecord" to "Playback"?
-
I am currently facing the same problem with the volume. How did you change the category from "PlayAndRecord" to "Playback"?
-
Hi,
He changed Qt's source code and build it
-
Hi,
He changed Qt's source code and build it
-
Thanks ;). I thought that there is maybe a way to get access to the CoreAudio* modules during development without having to recompile.
-
Thanks ;). I thought that there is maybe a way to get access to the CoreAudio* modules during development without having to recompile.
-
Bug report + fix: https://bugreports.qt.io/browse/QTBUG-44757
-
Bug report + fix: https://bugreports.qt.io/browse/QTBUG-44757
-
You should send your patch for review on gerrit
-
You should send your patch for review on gerrit