Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QAudioDeviceInfo::availableDevices doesn't refresh
Forum Updated to NodeBB v4.3 + New Features

QAudioDeviceInfo::availableDevices doesn't refresh

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 189 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    Hao_
    wrote on last edited by
    #1

    I use Qaudio to play audio in my app. Now my app install in win server. then I visit server from cirtrix in one local machine A. availableDevices() return correct device which from my current local machine A. But it reture wrong device which is old loacl machine when I change to local machine B to visit win server.

    for example:
    local machine A: device list: Headset Earphone (Sennheiser SD),
    Echo Cancelling Speakerphone (P)

    local machine B: device list: [Speakers (Realtek(R) Audio)]

    Result:
    availableDevices return :Headset Earphone (Sennheiser SD) when use machine A.
    Echo Cancelling Speakerphone (P)

    availableDevices return device not refresh when I change local machine B from local machine A.
    And it works well when I restart my app.
    Anyone who know how to solve it?????

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Which version of Qt are you using ?

      Which exact OS are you running ?
      Which versions ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      H 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Which version of Qt are you using ?

        Which exact OS are you running ?
        Which versions ?

        H Offline
        H Offline
        Hao_
        wrote on last edited by
        #3

        @SGaist Qt version: 5.15
        os is Windows Server 2022 Datacenter Evaluation
        version is 21H2

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved