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. How to use audioendpoints and mmdevapid in qt?

How to use audioendpoints and mmdevapid in qt?

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 352 Views 1 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.
  • mmjvoxM Offline
    mmjvoxM Offline
    mmjvox
    wrote on last edited by
    #1

    I found a function for set windows master volume :
    https://www.codeproject.com/Tips/233484/Change-Master-Volume-in-Visual-Cplusplus

    I defined INCLUDEPATH and DEPENDPATH in my .pro

    0_1564397838320_Capture.PNG

    but can't compile

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

      Hi
      I think you also need to link Ole32.dll

      mmjvoxM 1 Reply Last reply
      0
      • mrjjM mrjj

        Hi
        I think you also need to link Ole32.dll

        mmjvoxM Offline
        mmjvoxM Offline
        mmjvox
        wrote on last edited by
        #3

        @mrjj

        thanks the problem solved!
        Also one of my friends said add these lines like #include

        #pragma comment(lib, "strmiids")
        #pragma comment(lib, "ole32")
        #pragma comment(lib, "oleaut32")

        and it worked!

        1 Reply Last reply
        1

        • Login

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