Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Solved How to read the USB audio device's VID & PID ?

    General and Desktop
    2
    3
    887
    Loading More Posts
    • 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.
    • S
      Soul last edited by

      I have an USB audio deivce and I wan't to detect if it is inserted.
      I have tried the "QAudioDeviceInfo" class, but it seems the class can only obtain device name which is useless for me.

      A champion is someone who gets up even when he can´t.

      raven-worx 1 Reply Last reply Reply Quote 0
      • raven-worx
        raven-worx Moderators @Soul last edited by

        @Soul
        you can try libusb, like described in this thread

        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
        If you have a question please use the forum so others can benefit from the solution in the future

        1 Reply Last reply Reply Quote 4
        • S
          Soul last edited by

          Hi @raven-worx ! Thank you for your reply . I think there maybe a easier way which using the win32-API. but I think your solution is the best .

          A champion is someone who gets up even when he can´t.

          1 Reply Last reply Reply Quote 1
          • First post
            Last post