473,387 Members | 1,517 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Winmm mixer Peak meters problems....

Hello...

I'am creating a program to check the volume and to records sounds from
the digital input of my soundcard. I think that the best way to do it
is with de winmm.dll api using the sound mixer. But I dont understand
how to use it. I'am working in vb.net. I want to know if I have to
import the winmm.dll into my references or I just have to use the
functions like this:

Private Declare Function mixerOpen Lib "winmm.dll" Alias "mixerOpen"
(ByRef phmx As Integer, ByVal uMxId As Integer, ByVal dwCallback As
Integer, ByVal dwInstance As Integer, ByVal fdwOpen As Integer) As
Integer

The problem is:
After I'have open my mixer, I don't know how to get the peak meter
object that I need to analyse the line in of my soundCard

Thanks

Dom
Nov 20 '05 #1
0 1837

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Marian Aldenhövel | last post by:
Hi, I am trying to make pygame play music on windows. This simple program: import pygame,time pygame.init() print "Mixer settings", pygame.mixer.get_init() print "Mixer channels",...
3
by: DrNoose | last post by:
Hi! I'm just getting started learning c++. I have a program that is driving me nuts! I think I have it working all but one portion. Basically, you input a number of "meters" as a double. The...
3
by: Xiangliang Meng | last post by:
Hi, all. In 1998, I graduated from Computer Science Dept. in a university in China. Since then, I've been using C Language for almost 6 years. Although I'm using C++ in my current job, I'm also...
1
by: Dom Lague | last post by:
Hello I REALLY appreciate the help. At the moment, while I am stumbling through the Platform SDK, I am just starting at trying to open the device. Here is my declaration: Declare Function...
2
by: Dom Lague | last post by:
I need to get the signal level from the wave in input from a soundblaster. I have tried to modify a program I found that uses the winmm.dll functions. I was able to open up the mixer , but I...
7
by: Rich Milburn [MVP] | last post by:
Ok I am not a programmer, I copied some code and very painfully got it working in VB6. I can adjust the volume with waveOutSetVolume on winmm.dll. But I could not seem to be able to figure out how...
2
by: Eric T | last post by:
Hello friends, I'm in charge of some pure VC++ code but we're adding new features using managed C++ (7.1). On two of three developer machines the execution of this code has become impossible...
5
by: krupa.p | last post by:
Hi All, I am trying to call the waveOutGetVolume() function in winmm.dll from my VS 2005 C# project using P/Invoke. I copied winmm.dll from Windows\system32 directory into the root directory of...
1
by: globalrev | last post by:
import pygame pygame.mixer.music.load(example1.mp3) pygame.mixer.music.play(loops=1, start=0.0) Traceback (most recent call last): File "C:\Python25\myPrograms\pygameProgs\musicexp.py",...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.