-
Bug
-
Resolution: Done
-
P2: Important
-
5.3.2
-
None
-
Cubieboard 2 (sunxi), Debian
-
8b92454d6fffcee7a8cf1fb5e0c92920c77733c8 (qt/qtmultimedia/5.13) 61a6a09429cf8c34a356748a3bb76fc7868a54b1 (qt/qtmultimedia/5.12)
Message:
ALSA lib pcm.c:7339:(snd_pcm_recover) underrun occurred
Code should have more koefficients (2, 4, 6, 8, 10, ...) (8 for cubieboard2)
qtmultimedia/src/plugins/alsa/qalsaaudiooutput.cpp:440
if (period_time*4 <= maxBufferTime) {
// Use 4 periods if possible
buffer_time = period_time*4;
chunks = 4;
} else if (period_time*2 <= maxBufferTime) {
// Use 2 periods if possible
buffer_time = period_time*2;
chunks = 2;
} else {
qWarning()<<"QAudioOutput: alsa only supports single period!";
fatal = true;
}