Advertisement
ASP_Volume3 Windows API Call/ Explanation #47245

Bobo Mixer

Mixer API demo. A clone of the Windows Mixer(sndvol32.exe). Volume/Balance/Mute controls fully responsive to external changes via callbacks from winmm.dll. The Mixer API causes problems for VB coders everywhere. The tangled web Microsoft created turns what should be simple into a nightmare. In this demo I try to untangle some of this mess by cloning the Windows Mixer(sndvol32.exe) as an example of how to write your own Volume/Balance/Mute controls. As an App it's pretty useless as sndvol32.exe exists on all Windows platforms, but for all those Audio/MP3 coders out there, it should make life a little easier. Update: As requested an "Administrator" version(Included as a separate zip) Added: 1. The ability to lock Volume,Balance and Mute for each control 2. Save settings as presets 3. Run hidden - simple code - not 100% hidden, but good enough to keep the average user out. The save settings demonstrates writing settings to a binary file, something not often seen here on PSC. What it will do: If a control is locked, not even sndvol32.exe can make changes. The given control cannot be altered. Security is low - I'll leave it up to you to bump up the security level. What it wont do: If a 3rd party App communicates directly with the soundcard(WinAmp for example) it can effect changes. Screenshot shows "Administrator" version

AI

ملخص الذكاء الاصطناعي: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

كود المصدر
original-source
Upload
التعليقات الأصلية (3)
مسترجع من Wayback Machine