Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
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:50am
rspercy6526.2K
Comments
losmac at 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
good
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.
  Permalink  
Comments
rspercy65 at 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 at 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.
losmac at 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 at 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
losmac at 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
0 Sergey Alexandrovich Kryukov 494
1 CHill60 405
2 OriginalGriff 345
3 PIEBALDconsult 285
4 BillWoodruff 213


Advertise | Privacy | Mobile
Web03 | 2.8.141015.1 | Last Updated 7 May 2012
Copyright © CodeProject, 1999-2014
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