Click here to Skip to main content
15,883,813 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.

rspercy65
Posted
Comments
Maciej Los 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

Playing MP3s using MCI[^]

In the above link, you'll find an example how to set bass and treble volume.
 
Share this answer
 
Comments
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
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:
MCI_DGV_SETAUDIO_BASS
MCI_DGV_SETAUDIO_TREBLE
and
MCI_DGV_SETAUDIO_SOURCE
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:

MCI_DGV_SETAUDIO_SOURCE_AVERAGE

The average of the left and right audio channels.

MCI_DGV_SETAUDIO_SOURCE_LEFT

Left audio channel.

MCI_DGV_SETAUDIO_SOURCE_RIGHT

Right audio channel.

MCI_DGV_SETAUDIO_SOURCE_STEREO

Stereo.

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

Once again Thanx.
Maciej Los 7-May-12 11:36am    
I have no idea how to help you. I've never developed similar projects.
Maybe this can help you: http://msdn.microsoft.com/en-us/library/windows/desktop/dd757161%28v=vs.85%29.aspx
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 work...no luck.

Once again Thanx
Maciej Los 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)



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