Solved

Audio Mixer Control - CALLBACK

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Turn a spreadsheet into a vba executable. 2 85
Include multiple hostnames in this command? 3 55
Add content to output file 4 63
method notes when mouse over in eclipse 5 86
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

808 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