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

Misleading QML audioDevice.mode enum documentation.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9.1
    • Documentation, Multimedia
    • None
    • All

    Description

      Documentation states that possible values for the device type enum are:

      • audioDevice.Null
      • audioDevice.Input
      • audioDevice.Output

      However, using these in QML code causes a runtime error:
      `ReferenceError: audioDevice is not defined`

      The correct enum values should be:

      • AudioDevice.Null
      • AudioDevice.Input
      • AudioDevice.Output

      This is misleading and will inevitably lead to errors when following the documentation.

      Attachments

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

        Activity

          People

            lexcaz Alexei Cazacov
            scrooge86x Scrooge 86x
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes