Solved

Audio Mixer Control - CALLBACK

Posted on 1998-05-15
2
737 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
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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
substring method in java 1 130
dog bark java program 15 111
how to use laptop or pad camera in vb.net windows application 2 86
Capture logon name 13 87
Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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 shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

827 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