Solved

Audio Mixer Control - CALLBACK

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to create frequencies of a variable from SAS dataset? 10 122
ORA-01403: no data found 43 90
matchUp  challenge 6 53
tripleUp challenge 7 74
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

867 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now