ATEasy Driver for Accessing Core Audio APIs From Windows XP/7
Paul T.
Bacau, Romania

Feb 28, 2014
41 Posts

ATEasy driver for accessing Core Audio APIs from Windows XP/7

Hi,

Can someone help me?
I need to control the Master Volume and Audio Balance programmatically from ATEasy under Windows XP/7.
I've been busy studying the issue a little bit.
For Windows XP, it seems OK to use the winmm.dll library with the mixerOpen(...), ... , waveOutSetVolume(...) functions (nothing related to the Audio Balance, though), but for Windows 7, I don't see how can I use the MMDevAPI.dll... Importing this library to ATEasy and using its data types/procedures is an awful thing for me...

Any help/idea is welcome! Thank you.


Regards,

Paul T.

Victor B.
Lake Forest, CA

Mar 3, 2014
91 Posts

Re: ATEasy driver for accessing Core Audio APIs from Windows XP/7

Never tried it either, but it looks like you need the functions from the AudioVolume interface.

Try importing in Audioclient.h as per http://msdn.microsoft.com/en-us/library/windows/desktop/dd316531(v=vs.85).aspx

Paul T.
Bacau, Romania

Mar 3, 2014
41 Posts

Re: ATEasy driver for accessing Core Audio APIs from Windows XP/7

Hi Victor!

Already tried this, but no use. Actually, it requires many more header files aside AudioClient.h, and after I manually set the path to them, I can't use any of the procedures described in the API. It imports me some structures having Procedures as their members and I cannot use them...



Regards,

Paul

Paul T.
Bacau, Romania

Mar 26, 2014
41 Posts

Re: ATEasy driver for accessing Core Audio APIs from Windows XP/7

Nobody faced this challenge before? :(



Please Note
You need to have a M@GIC account to participate in the Forums.
Not yet registered on our website? Click here to register today!

All content, information and opinions presented on the Marvin Test Solutions User Forums are those of the authors of the posts and messages and not Marvin Test Solutions'. All attachments and files are downloaded at your own risk. [Read More]