Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Any method to change default audio device programmatically?

Any method to change default audio device programmatically?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
7 Posts 2 Posters 0 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.
  • S Offline
    S Offline
    StarMeteor
    wrote on last edited by
    #1

    Hi All, currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so? (just like Skype/WMP itself hae similar function) thanks a lot~ :)

    N 1 Reply Last reply
    0
    • S StarMeteor

      Hi All, currently i am developing an application for audio playback, including local and online resources. I planned to use WMP SDK to help, however, one of my function needs me to be able to select/change the default audio device, however, it is not support by the SDK. I would like to know is there any other method to do so? (just like Skype/WMP itself hae similar function) thanks a lot~ :)

      N Offline
      N Offline
      Nibu babu thomas
      wrote on last edited by
      #2

      You have to change the values of the following registry keys... HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper\... Set value for Playback Set value for Record


      Nibu thomas Software Developer

      S 1 Reply Last reply
      0
      • N Nibu babu thomas

        You have to change the values of the following registry keys... HKEY_CURRENT_USER\Software\Microsoft\Multimedia\Sound Mapper\... Set value for Playback Set value for Record


        Nibu thomas Software Developer

        S Offline
        S Offline
        StarMeteor
        wrote on last edited by
        #3

        Thanks for you reply, however, i use regedit and cannot locate the key you mention.... any suggestion? :confused: thanks :-D

        N 1 Reply Last reply
        0
        • S StarMeteor

          Thanks for you reply, however, i use regedit and cannot locate the key you mention.... any suggestion? :confused: thanks :-D

          N Offline
          N Offline
          Nibu babu thomas
          wrote on last edited by
          #4

          I have it and you should also have it. Please check again.


          Nibu thomas Software Developer

          S 1 Reply Last reply
          0
          • N Nibu babu thomas

            I have it and you should also have it. Please check again.


            Nibu thomas Software Developer

            S Offline
            S Offline
            StarMeteor
            wrote on last edited by
            #5

            i have tried to export the registry and check but still fail to found...it sounds strange ..:((

            N 1 Reply Last reply
            0
            • S StarMeteor

              i have tried to export the registry and check but still fail to found...it sounds strange ..:((

              N Offline
              N Offline
              Nibu babu thomas
              wrote on last edited by
              #6

              Quite strange. You should be having one. BTW what's the need for exporting registry.


              Nibu thomas Software Developer

              S 1 Reply Last reply
              0
              • N Nibu babu thomas

                Quite strange. You should be having one. BTW what's the need for exporting registry.


                Nibu thomas Software Developer

                S Offline
                S Offline
                StarMeteor
                wrote on last edited by
                #7

                Just export to search in UltraEdit for confirm issue ^^ Really thanks for your help ^^

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups