Results 1 to 3 of 3

Thread: How come QAudio works on 4 of my platforms but not the 5th?

  1. #1
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default How come QAudio works on 4 of my platforms but not the 5th?

    Hello,

    So basically QAudioDeviceInfo sees the available devices and I can play audio with QAudioOutput on the following 4 platforms I use:

    -Dell Inspiron 640m laptop, Windows XP
    -Dell Inspiron 640m laptop (same one), Ubuntu 10.04
    -Mac Pro running OS 10.6
    -HP elite desktop, Windows 7

    But it doesn't see any devices and audio examples won't work on this one:

    -HP elite desktop, Ubuntu 10.04 (same machine as HP above).

    That is, QAudioDeviceInfo::availableDevices returns an empty QList.

    Any ideas? I'd really like it to work on that platform. Thank you--

    Matt

  2. #2
    Join Date
    May 2008
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How come QAudio works on 4 of my platforms but not the 5th?

    I'm having the same issue with a Sager laptop with Ubuntu 10.04. Nobody has any clue? I'm using Qt 4.6.2

  3. #3
    Join Date
    Apr 2010
    Posts
    769
    Thanks
    1
    Thanked 94 Times in 86 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: How come QAudio works on 4 of my platforms but not the 5th?

    Probably because the audio requires proprietary codecs that aren't available under Linux, or at least don't ship with the open source distribution.

    Or, it's simply due to the nightmarish chaos that is Linux audio.

Similar Threads

  1. QAudio : no 5.1 support ?!
    By divide in forum Qt Programming
    Replies: 0
    Last Post: 20th June 2010, 10:13
  2. Creating projects for different platforms
    By Luc4 in forum Qt Programming
    Replies: 9
    Last Post: 29th May 2010, 10:16
  3. Multiple platforms
    By ctote in forum Qt Programming
    Replies: 8
    Last Post: 15th February 2010, 19:48
  4. What platforms are you using Qt on?
    By gfunk in forum Qt Programming
    Replies: 7
    Last Post: 8th February 2007, 15:47
  5. Compiling on different platforms
    By Tori in forum Newbie
    Replies: 1
    Last Post: 25th January 2006, 22:09

Tags for this Thread

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.