Click here to Skip to main content
15,891,777 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hello!
I need your help!
I need create peak meter (vu meter) on windows XP.
I tried make it with WASAPI, EndPointVolume and other, but these techonogies doesn't support WinXP
I tried learn DirectSound, MCI and it ended in failure.
What i need use? And how i need use it?
I use VS and C++.

Thank in advance!
Posted

1 solution

DirectX (DirectSound) should be a good solution for WindowXP. You need to create a Filter (see the examples of DirectX, there are a couple of filter examples) and then make sure sounds are being played using a graph that includes your filter.

Your filter must then provide information about fequencies and strength.

Some filter examples :
http://msdn.microsoft.com/en-us/library/windows/desktop/dd375468(v=vs.85).aspx[^]

See the 'Scope Filter Example' which is a WaveForm representation of your sound, which comes close to what you want.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900