Results 1 to 2 of 2

Thread: QAudioOutput + not UI thread

  1. #1
    Join Date
    Dec 2009
    Posts
    50
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default QAudioOutput + not UI thread

    Hi Everybody

    If I try to call

    QAudioOutput::strat(QIODevice) from some QThread I do not hear the sound( to be precice QIODevice::readData never called ).


    But QAudioOutput::strat(void) works fine.

    Is it a bug? I do not see any reference in QT docs that QAudioOutput::strat(QIODevice) works only from UI thread.

    Thank you!
    Last edited by medved6; 27th December 2010 at 11:03.

  2. #2
    Join Date
    Dec 2009
    Posts
    50
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QAudioOutput + not UI thread

    Minimum code example is here

    http://www.qtcentre.org/threads/3622...Thread-problem. ( same problem in this forum)

Similar Threads

  1. QAudioOutput in a QThread - problem.
    By _franko_ in forum Qt Programming
    Replies: 14
    Last Post: 17th June 2012, 02:05
  2. QAudioOutput buffer underrun
    By BartBlackMagic in forum Qt Programming
    Replies: 1
    Last Post: 16th September 2010, 17:44
  3. Replies: 1
    Last Post: 29th July 2010, 13:35
  4. QAudioOutput help
    By XavierQT in forum Qt Programming
    Replies: 1
    Last Post: 6th February 2010, 10:35
  5. Replies: 9
    Last Post: 28th November 2009, 20:31

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.