Solved

Audio Mixer Control - CALLBACK

Posted on 1998-05-15
2
743 Views
Last Modified: 2013-11-20
i am using the audio Mixer in my App.
i know how to Open the Mixer and how to change volume
i want to know how to use the CALLBACK option so i will be able to know if someone changed the volume in the volume contorols.
0
Comment
Question by:talsp
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 23

Accepted Solution

by:
chensu earned 30 total points
ID: 1311563
When you call mixerOpen,

::mixerOpen(&m_hMixer, 0, (DWORD)hWnd, NULL, MIXER_OBJECTF_MIXER | CALLBACK_WINDOW);

The system will send the MM_MIXM_LINE_CHANGE and MM_MIXM_CONTROL_CHANGE messages to the specified window.

ON_MESSAGE(MM_MIXM_LINE_CHANGE, OnMixerLineChange)
ON_MESSAGE(MM_MIXM_CONTROL_CHANGE, OnMixerCtrlChange)
0
 

Expert Comment

by:Shahzad_mca
ID: 2173493
How can I change my input source form Mic to LineIn.Please tell me
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question