Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-131323

QTextToSpeech::enqueue doesn't work with winrt engine

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8.0
    • Speech
    • None
    • Windows

    Description

      QTextToSpeech::enqueue doesn't appear to work properly with winrt speech engine. If you call enqueue twice in a row, sometimes (but not always) the first text isn't spoken, just the second. Same code works fine with sapi engine.

      Also, QTextToSpeech::aboutToSynthesize doesn't appear to work as documented for both winrt and sapi. In the docs, it says:

          void QTextToSpeech::aboutToSynthesize(qsizetype id)

      The id is the value returned by a call to enqueue(), 

      However, here's a list of ids returned by enqueue and then what is passed to a slot connected to aboutToSynthesize:

      enqueue 0
      aboutToSynthesize 0
      enqueue 1
      enqueue 2
      aboutToSynthesize 0
      enqueue 3
      aboutToSynthesize 1
      enqueue 4
      aboutToSynthesize 2
      aboutToSynthesize 0
      enqueue 5
      aboutToSynthesize 0
      enqueue 6
      aboutToSynthesize 0
      enqueue 7
      enqueue 8
      enqueue 9
      enqueue 10
      aboutToSynthesize 3
      aboutToSynthesize 4
      aboutToSynthesize 5

      If there's nothing queue, then the id passed to aboutToSynthesize appears to always be 0, not the id returned from enqueue which appears to increment sequentially.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vhilshei Volker Hilsheimer
            srcejon Jon Beniston
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes