Results 1 to 3 of 3

Thread: Audio OutPut

  1. #1
    Join Date
    Jul 2010
    Posts
    72
    Thanks
    35
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Audio OutPut

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Audio OutPut

    Qt Code:
    1. audiooutput: pcm_params.c:2348: sndrv_pcm_hw_params: Assertion `err >= 0' failed
    To copy to clipboard, switch view to plain text mode 
    That's an error in PulseAudio I think

  3. #3
    Join Date
    Dec 2009
    Posts
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Audio OutPut

    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

Similar Threads

  1. Phonon - audio-output-problem and high latency
    By nearlyNERD in forum Qt Programming
    Replies: 3
    Last Post: 27th June 2012, 22:17
  2. Phonon - Audio-Output-Problem
    By nearlyNERD in forum Newbie
    Replies: 4
    Last Post: 19th July 2010, 11:52
  3. play audio url
    By tungvc in forum Qt Programming
    Replies: 0
    Last Post: 15th July 2010, 12:04
  4. Audio Recording in qt
    By BalaQT in forum Qt Programming
    Replies: 8
    Last Post: 12th September 2009, 10:01
  5. input audio
    By addu in forum Qt Programming
    Replies: 9
    Last Post: 10th September 2009, 12:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.