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

Misleading QML audioDevice.mode enum documentation.

XMLWordPrintable

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

      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.

        For Gerrit Dashboard: QTBUG-138452
        # Subject Branch Project Status CR V

            dheerendra Dheerendra Purohit
            scrooge86x Scrooge 86x
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There is 1 open Gerrit change