Click here to Skip to main content
Sign Up to vote bad
good
See more: VB.NET
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 6 May '12 - 4:50
rspercy6522.6K

Comments
losmac - 6 May '12 - 15:38
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.
  Permalink  
Comments
rspercy65 - 7 May '12 - 5:17
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:04
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.
losmac - 7 May '12 - 11:36
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:30
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
losmac - 7 May '12 - 13:47
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
Your Filters
Interested
Ignored
     
0 OriginalGriff 208
1 Maciej Los 156
2 Santhosh G_ 155
3 Richard MacCutchan 145
4 Tadit Dash 140
0 Sergey Alexandrovich Kryukov 10,264
1 OriginalGriff 7,937
2 CPallini 4,201
3 Rohan Leuva 3,522
4 Maciej Los 3,135


Advertise | Privacy | Mobile
Web02 | 2.6.130523.1 | Last Updated 7 May 2012
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid