[Qt-interest] Buffer underrun problems with QtMultimedia 4.7

Pietro Gagliardi pietro10 at mac.com
Thu Jun 24 05:21:05 CEST 2010


Okay, so I upgraded to 4.7 and my GUI problems went away; they seemed  
to be caused by the Carbon core, as 4.6.3 on Windows seems to works  
fine until the application is quit. Now I have a new problem that I  
can't seem to get rid of:

If you listen to the following recording of my tracker at work, you'll  
notice occasional skipping: http://idisk.mac.com/pietro10-Public/gtaudiosnip.wav 
  (The code below reduced the speed of the skips.) I found that this  
is due to a buffer underrun that happens every so often in the code. I  
have the buffer set to as large as it could be without the sound  
processor taking forever, so I wonder if any of you know what else is  
going on. I have tried chunking as in the Audio Output example and  
using bytesFree(), periodSize(), and bufferSize(), but these just  
increase the number of underruns; switching to a timer yields the same  
result. playback.cpp playback.h Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100623/be9cf444/attachment.html 


More information about the Qt-interest-old mailing list