Click here to Skip to main content
13,144,958 members (50,636 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I have searched and used 6 different ways for setting the bass volume and the treble volume and none work. Did Microsoft put them in the dll and not finish it?
I would like to know the correct way todo this if they are in there...Like Prego.

Posted 6-May-12 4:50am
losmac 6-May-12 15:38pm
This is not well formed question. If you would like to get help improve your question (using "Improve question" button) and show us these "6 different ways for setting the bass volume and the treble volume". You need to describe the reasons why it is not working or what's happening when you are trying to set bass and treble volume.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Playing MP3s using MCI[^]

In the above link, you'll find an example how to set bass and treble volume.
rspercy65 7-May-12 5:17am
That is the exact code I'm using and it does not work. My app works fine except for setting the bass and treble. I had 19 errors when I opened the project you posted above. Most of the problem is the compiler is looking at it as a Type instead of a New Class. I dont know how to fix this as I do not know C# programming. I did however convert this code to VBnet and am working on the fixes. I'll get back to you as soon as I get this working.

Thanx for your time and patience.
rspercy65 7-May-12 10:04am
Found the problem...Treble and Bass are both unsupported and have been since VB5 or VB6. They only work with radios , cd players, VCR's... which can identify the specified commands. Of all the solutions I have downloaded and tried, None of them worked, including the one you posted.

The following flags apply to the digitalvideo device type:
A constant specifying the source of audio input is included in the dwValue member of the structure identified by lpSetAudio. The following constants are defined for the audio input sources:


The average of the left and right audio channels.


Left audio channel.


Right audio channel.



None of these work with all the examples I have tried and they all use these flags.

Once again Thanx.
losmac 7-May-12 11:36am
I have no idea how to help you. I've never developed similar projects.
Maybe this can help you:
rspercy65 7-May-12 13:30pm
Dont worry about it...I removed everything that had todo with Bass and Treble from the app. The volume works great and I can adjust the Treble and Bass from my sound remote which also works good. I was experimenting with the Bass and Treble to see if I could get it to luck.

Once again Thanx
losmac 7-May-12 13:47pm
Could you, please, close this thread ;) Mark your question as "solved".

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170915.1 | Last Updated 7 May 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100