Click here to Skip to main content
15,905,682 members
Home / Discussions / C#
   

C#

 
AnswerRe: Control Speaker Volume Pin
DaveyM6914-Feb-11 9:15
professionalDaveyM6914-Feb-11 9:15 
GeneralRe: Control Speaker Volume Pin
Kevin Marois14-Feb-11 10:27
professionalKevin Marois14-Feb-11 10:27 
GeneralRe: Control Speaker Volume Pin
DaveyM6914-Feb-11 10:58
professionalDaveyM6914-Feb-11 10:58 
GeneralRe: Control Speaker Volume Pin
Kevin Marois14-Feb-11 11:03
professionalKevin Marois14-Feb-11 11:03 
GeneralRe: Control Speaker Volume Pin
Kevin Marois14-Feb-11 11:36
professionalKevin Marois14-Feb-11 11:36 
GeneralRe: Control Speaker Volume Pin
DaveyM6914-Feb-11 11:45
professionalDaveyM6914-Feb-11 11:45 
GeneralRe: Control Speaker Volume Pin
Kevin Marois14-Feb-11 11:49
professionalKevin Marois14-Feb-11 11:49 
GeneralRe: Control Speaker Volume Pin
DaveyM6914-Feb-11 11:58
professionalDaveyM6914-Feb-11 11:58 
I haven't actually tested it with audio - just the values from GetVolume so I see that the driver has responded. There could be one of two things here...
1. The device ID needs to be the correct one for the device who's volume you want to adjust - I'm not sure without further research how to determine the correct ID for the main audio out device/master
2. Maybe the API only adjusts the volume for the audio stream you play directly - unlikely though.

Edit: you can use waveOutGetNumDevs to get the number of devices and waveOutGetDevCaps in conjuction with WAVEOUTCAPS to get the correct device. Check out this[^] page. If you can't resolve this, let me know and I'll have another look tomorrow, bedtime for me here in the UK - good luck!
Dave

Binging is like googling, it just feels dirtier.
Please take your VB.NET out of our nice case sensitive forum.
Astonish us. Be exceptional. (Pete O'Hanlon)

BTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)



GeneralRe: Control Speaker Volume Pin
DaveyM6914-Feb-11 15:08
professionalDaveyM6914-Feb-11 15:08 
GeneralRe: Control Speaker Volume Pin
Kevin Marois15-Feb-11 5:48
professionalKevin Marois15-Feb-11 5:48 
GeneralRe: Control Speaker Volume Pin
DaveyM6914-Feb-11 11:04
professionalDaveyM6914-Feb-11 11:04 
GeneralRe: Control Speaker Volume Pin
Kevin Marois14-Feb-11 11:08
professionalKevin Marois14-Feb-11 11:08 
QuestionReport Progress from a class with a backgroundWorker Pin
MacRaider414-Feb-11 7:34
MacRaider414-Feb-11 7:34 
AnswerRe: Report Progress from a class with a backgroundWorker Pin
Luc Pattyn14-Feb-11 7:42
sitebuilderLuc Pattyn14-Feb-11 7:42 
GeneralRe: Report Progress from a class with a backgroundWorker Pin
MacRaider414-Feb-11 7:57
MacRaider414-Feb-11 7:57 
GeneralRe: Report Progress from a class with a backgroundWorker Pin
Luc Pattyn14-Feb-11 8:13
sitebuilderLuc Pattyn14-Feb-11 8:13 
GeneralRe: Report Progress from a class with a backgroundWorker Pin
MacRaider414-Feb-11 8:21
MacRaider414-Feb-11 8:21 
AnswerRe: Report Progress from a class with a backgroundWorker Pin
Ian Shlasko14-Feb-11 8:11
Ian Shlasko14-Feb-11 8:11 
GeneralRe: Report Progress from a class with a backgroundWorker Pin
MacRaider414-Feb-11 8:28
MacRaider414-Feb-11 8:28 
GeneralRe: Report Progress from a class with a backgroundWorker Pin
Ian Shlasko14-Feb-11 9:31
Ian Shlasko14-Feb-11 9:31 
GeneralRe: Report Progress from a class with a backgroundWorker Pin
MacRaider414-Feb-11 9:46
MacRaider414-Feb-11 9:46 
GeneralRe: Report Progress from a class with a backgroundWorker Pin
Ian Shlasko14-Feb-11 12:11
Ian Shlasko14-Feb-11 12:11 
GeneralRe: Report Progress from a class with a backgroundWorker Pin
DaveyM6914-Feb-11 11:24
professionalDaveyM6914-Feb-11 11:24 
QuestionSet a picture transparently in the foreground Pin
Mschauder14-Feb-11 2:21
Mschauder14-Feb-11 2:21 
AnswerRe: Set a picture transparently in the foreground Pin
musefan14-Feb-11 3:03
musefan14-Feb-11 3:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.