PDA

View Full Version : Audio OutPut



Maluko_Da_Tola
19th July 2010, 23:02
Hello,

When I compile the Qt demo "Audiooutput", Qt creator does not do anything and displays the following message:

Starting /home/nuno/Documents/TrampaQt/untitled folder/audiooutput/audiooutput...
audiooutput: pcm_params.c:2348: sndrv_pcm_hw_params: Assertion `err >= 0' failed.
The program has unexpectedly finished.
/home/nuno/Documents/TrampaQt/untitled folder/audiooutput/audiooutput exited with code 0

I am running Qt creator on Ubuntu. Any suggestions on how to make the demo project "Audiooutput" work?

Thank you

tbscope
20th July 2010, 09:19
audiooutput: pcm_params.c:2348: sndrv_pcm_hw_params: Assertion `err >= 0' failed
That's an error in PulseAudio I think

earthling
13th September 2010, 21:55
Had the same problem, with Qt 4.6.3 on Fedora and Ubuntu, on MeeGo, all on i586 and x86_64, and on PPC/PS3.

On all those, it works with Qt 4.7 rc1. That's with the same PulseAudio configuration.

So if it is a PulseAudio error, it is one that Qt 4.7 deals with effectively :)