All source code in Visual Basic Ask a Visual Basic Pro Discussion Forum Categories All jobs in Visual Basic
API,Mixer,demo,clone,Windows,controls,fully,r
   Code/Articles » |  Newest/Best » |  Community » |  Jobs » |  Other » |  Goto » | 
CategoriesSearch Newest CodeCoding ContestCode of the DayAsk A ProJobsUpload
Visual Basic Stats

 Code: 5,128,645. lines
 Jobs: 275. postings

 How to support the site

 
Sponsored by:
Quick Search for:  in language:    
You are in:
 
Login





Latest postings for Visual Basic.
Click here to see a screenshot of this code!Resistor Color Code
By Ferdinand Viray on 2/7

(Screen Shot)

Click here to see a screenshot of this code!Database - Student Reccord
By Ferdinand Viray on 2/7

(Screen Shot)

Click here to see a screenshot of this code!Online Text Based Winsock Crime Game | Mafia Game
By William Hughes on 2/7

(Screen Shot)

Click here to see a screenshot of this code!NZB Reader III
By Ed Wilk on 12/29

(Screen Shot)

Click here to see a screenshot of this code!Jobz Tracker
By Andy J Spry on 2/6

(Screen Shot)

Click here to see a screenshot of this code!Database - Student Reccord
By Ferdinand Viray on 2/6

(Screen Shot)

Click here to see a screenshot of this code!Resistor Color Code
By Ferdinand Viray on 2/6

(Screen Shot)

a simple program (database)
By Jenilyn Brena on 2/6


Click here to see a screenshot of this code!Multipass BILATERAL FILTER. (V3.3)
By reexre on 1/12

(Screen Shot)

Click here to see a screenshot of this code!Completely hide taskbar in vista and seven.
By Alexander G on 2/5

(Screen Shot)

Binding DataGrid to ADODC
By kývanç ; on 2/5


Book Record
By kývanç ; on 2/5


VB6 to VB.NET Guide
By brandon teoh on 2/5


Easy dsr datareport
By Manuel Matamoros on 2/4


Click here to see a screenshot of this code!Manual RAID 1 v2.0.11
By Mike Morrow on 1/11

(Screen Shot)

Rotate Text Pure Vb, No Dll, No Api
By ivan pausich on 2/4


Click here to see a screenshot of this code!MediaVusion; A Powerful Media Player
By xvader on 2/4

(Screen Shot)

Click here to see a screenshot of this code!PSC Zip Store and read
By Kenneth Foster on 2/3

(Screen Shot)

Click here to see a screenshot of this code!Linear Power Supply Designer
By RandyT_CS on 2/3

(Screen Shot)

retrieve (get) all system services
By milad ghafooreyan on 2/3


Click here to see a screenshot of this code!easy inventory manager
By ravi vaghela on 2/3

(Screen Shot)

Click here to see a screenshot of this code!A simple Calculater in Vb 6
By Varun Naharia on 2/2

(Screen Shot)

Click here to see a screenshot of this code!Special Folder Locator
By dreamvb on 2/2

(Screen Shot)

Click here to see a screenshot of this code!material viewer system
By Donald Paras on 2/2

(Screen Shot)

Click here to see a screenshot of this code!Solid Lathe Simulation
By Eduardo Capatto Júnior on 2/1

(Screen Shot)

Click here to see a screenshot of this code!A simple Calculater in Vb 6
By Varun Naharia on 1/31

(Screen Shot)

Click here to see a screenshot of this code!Final Fantasy 3D game
By Yazan Markabi on 1/31

(Screen Shot)

Click here to see a screenshot of this code!Time Up 3
By Yazan Markabi on 1/19

(Screen Shot)

RFID receiver
By Nikolay Veskov on 1/31


Library Information Syste
By Eduard Dueñas on 1/31


Click here to see a screenshot of this code!Sales and Inventory
By Eduard Dueñas on 1/30

(Screen Shot)

Click here to put this ticker on your site!


Add this ticker to your desktop!


Daily Code Email
To join the 'Code of the Day' Mailing List click here!



 
 
   

Bobo Mixer

Print
Email
 
winzip icon
Submitted on: 9/2/2002 10:49:35 AM
By: MrBobo  
Level: Advanced
User Rating: By 16 Users
Compatibility:VB 6.0

Users have accessed this code 11371 times.
 
author picture
(About the author)
 
     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

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.

Virus note:All files are scanned once-a-day by Planet Source Code for viruses,but new viruses come out every day, so no prevention program can catch 100% of them.

FOR YOUR OWN SAFETY, PLEASE:
1)Re-scan downloaded files using your personal virus checker before using it.
2)NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3)Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
1) You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.   
2) You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
3) You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
4) You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 63 submission(s) by this author

 

 
 Report Bad Submission
Use this form to notify us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:
 
Your Vote!

What do you think of this code(in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor See Voting Log
 
Other User Comments
9/2/2002 12:16:55 PMMartin

Thank you MrBobo, Great example code and very helpful as usual. Maybe it's time for you to become SirBobo? I certainly appreciate your generosity in sharing so many great examples and programs. *****
(If this comment was disrespectful, please report it.)

 
9/2/2002 1:24:50 PMJerome A. Simon

Interesting Code.
--Can you make an enhanced version that can 'SAVE' and 'RESTORE' slider settings for each group? And, how about a routine to 'HOLD' them?

--The reason I ask is because I am tired of people using my computer, websites with 'MIDI/WAV', Games and other programs that reset my volume.

--It would be worth another 5
(If this comment was disrespectful, please report it.)

 
9/5/2002 12:44:04 PMJerome A. Simon

Hey! Wow! Thanks for the enhancements!

Just what I was looking for!
(If this comment was disrespectful, please report it.)

 
9/6/2002 4:24:40 PMGiannis_B

Thanks again MrBobo...
(If this comment was disrespectful, please report it.)

 
11/8/2002 8:11:58 AMTom Pydeski

Excellent as usual.
You always seem to submit the most comprehensive and useful examples on PSC.
My soundcard has a video input which does not show up on any of the code examples here. any ideas how to access it?
(If this comment was disrespectful, please report it.)

 
11/26/2002 10:59:40 AM

Really great and useful code! If you need ideas for improvement, i could very much use an example of programming the input selector of the sound card. (The recording control of sndvol32.exe)
(If this comment was disrespectful, please report it.)

 
7/15/2003 12:35:03 PM

That's really neat
(If this comment was disrespectful, please report it.)

 
7/17/2003 9:53:53 PM

I'm a VB Newbie. I've been playing with this code for a few days, and I can't figure out how to add input mixer controls to Bobo's mixer. All of my sound is thru a Yamaha mixer inc microphone. It goes into the PC via Line in. I want to write a util that locks the recording source (MUX) to Line In. All voice chat programs etc change this to Mic. Can anyone point me in the right direction?
(If this comment was disrespectful, please report it.)

 
11/15/2003 4:19:50 AM

Can you mute right channel and mix Left channel then output to 2 speaker as Mono sound. I'want to remove vocal from Karaoke VCD that I'm play with my PC.
(If this comment was disrespectful, please report it.)

 
11/29/2003 11:06:04 AM

Bobo,

i don't see how you made anything more clearer, or easier to understand...

you can't even see the way the code works.
(If this comment was disrespectful, please report it.)

 
11/29/2003 5:57:20 PMMrBobo

Sorry to disappoint you MrNoName. On looking back over the code you may have a point - I could have perhaps added more comments. On the other hand it uses much less code than other examples which have similar capabilities, which by itself makes the process easier to understand. Perhaps you could make a more instructive example for the rest of us to learn from.
(If this comment was disrespectful, please report it.)

 
3/25/2004 2:34:06 AMJerome A. Simon

Help!
I upgraded my computer to 256M ram and now the program Hangs? Hangs until "99% Resources Used Please Shut Down Some Programs" Is there some memory leak? The Mixer window draws the outline, but the BoBoMixer objects do not appear (at first)... but the program doesn't function now?
(If this comment was disrespectful, please report it.)

 
4/24/2005 1:07:22 AMAdam Kachwalla

can u email me ur REAL name... because i've checked out ur submissions, and they're the best (also very reasonable coding practices).
(If this comment was disrespectful, please report it.)

 
4/24/2005 1:08:04 AMAdam Kachwalla

r u australian (like me)

(If this comment was disrespectful, please report it.)

 
6/3/2005 10:21:26 AM

That is f***in sexy
Great job Bobo
(If this comment was disrespectful, please report it.)

 
2/25/2006 8:00:01 AMnoip

very nice job man!
(If this comment was disrespectful, please report it.)

 
Add Your Feedback!
Note:Not only will your feedback be posted, but an email will be sent to the code's author from the email account you registered on the site, so you can correspond directly.

NOTICE: The author of this code has been kind enough to share it with you.  If you have a criticism, please state it politely or it will be deleted.

For feedback not related to this particular code, please click here.
 
To post feedback, first please login.


 

Categories | Articles and Tutorials | Advanced Search | Recommended Reading | Upload | Newest Code | Code of the Month | Code of the Day | All Time Hall of Fame | Coding Contest | Search for a job | Post a Job | Ask a Pro Discussion Forum | Live Chat | Games | Feedback | Customize | Visual Basic Home | Site Home | Other Sites | Open Letter from Moderators | About the Site | Feedback | Link to the Site | Awards | Advertising | Privacy

Copyright© 1997-2010 by Exhedra Solutions, Inc. All Rights Reserved.  By using this site you agree to its Terms and Conditions.   Planet Source Code (tm) and the phrase "Dream It. Code It" (tm) are trademarks of Exhedra Solutions, Inc.