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 -
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.
-
Hi,
He changed Qt's source code and build it
-
Hi,
He changed Qt's source code and build it
-
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