Mute Windows Volume using C#
Anyone know how to programmatically mute the Windows XP Volume using C#? ...
Anyone know how to programmatically mute the Windows XP Volume using C#? ...
I have a .NET TCP Client that sends high volumes of messages to a (.NET async) TCP server. I need to keep sending messages to the server but I run out of ports on the client due to TIME_WAIT. How can a program continually and reliably send messages without using all of the available ports? Is there a method to keep reusing the same ...
Some iPhone applications, such as Pandora seem to directly manipulate the hardware volume and respond to physical volume button. How is this done? AudioSessionServices allows you to get the current hardware output volume with the kAudioSessionProperty_CurrentHardwareOutputVolume property, but it is (allegedly) read-only. ...
Trying to write a PowerShell cmdlet that will mute the sound at start, unless already muted, and un-mute it at the end (only if it wasn't muted to begin with). Couldn't find any PoweShell or WMI object I could use. I was toying with using Win32 functions like auxGetVolume or auxSetVolume, but couldn't quite get it to work (how to read th...
How can I change the master volume level? Using this code [DllImport ("winmm.dll")] public static extern int waveOutSetVolume (IntPtr hwo, uint dwVolume); waveOutSetVolume (IntPtr.Zero, (((uint)uint.MaxValue & 0x0000ffff) | ((uint)uint.MaxValue << 16))); I can set the wave volume but if the master volume is too low this won't have an...
My current code is this: int volume = Alert.getVolume(); // reads 100 Alert.setVolume(0); It DOESN'T change the volume setting, like it would be supposed to do :( Even calling Alert.mute(true) doesn't produce any good effect. Audio.setVolume(0) also doesn't work! I'm running this on a Curve 8310. I have another software installed thou...
Hi, I am trying to use the Windows API call 'waveOutSetVolume' from my application to change the windows volume. When ran on locally on a machine it works great. However, when ran on through a Citrix client, it does nothing. What am I missing? ...
I got the impression from the MacFUSE site that when you install it and connect an NTFS volume it will be writable. However, the volume I mounted is read only. Here is some of the output of mount... The NTFS external USB drive I'm talking about: /dev/disk1s1 on /Volumes/SATA160 (local, nodev, nosuid, read-only) An OS X format externa...
The Ubuntu startup/login sound can be very loud, but I do like having it. I wrote a script that uses amixer to set the volume to 25%. This is the level I like to have it at, but when I use TV out or headphones I have to turn up the volume. I cannot seem to get the script to run before the login sound plays. I have tried a cron @reboot, a...
So I have an app which plays many short sound clips. I need to know when the sounds are finished playing, and I need to use mp3s, so I'm using AVFoundation for the sound playback. When a sound is actively playing, and the user uses the hardware volume buttons, the playback volume changes. Problem is, the app is NOT constantly playing ...
Im wondering if anyone has any input on this subject? Im building a flash video player, and I have added a mute volume icon, but Im wondering what everyone's thoughts are on adding a volume control too? ...
Is there a way I can get the current system volume level on the iPhone? I'm thinking maybe there's a way to make an MPVolumeView and get the value from that. ...
Hi All, I'm looking for a trackbar-like user/custom control to use in my .NET 2.0 WinForms app. Note: I'm NOT asking how to control the volume in a WinForms app. Anyone knows of a nice looking custom painted slider/trackbar control that could be used in my app to let user set the volume? (such as the ones used in multimedia apps) Id...
How would I go about changing the sound volume in c++ win32? Also how would I mute/unmute it? Thanks for the help! ...
i currently writing a program to implement Marching Cube using C++ and Opengl. However, my best reference is only from http://local.wasp.uwa.edu.au/~pbourke/geometry/polygonise/ in the web, the provided codes are written in C. my problem here is that i don't understand the triTable and edgeTable and how they are related. can anyone h...
Is there a way to detect if the master volume has changed in a background service in C#. (other than polling it) The only solutions i have found so far to detect this, is overriding WndProc on a form, which wont work in a background service. ...
Is there an easy way to set the volume from managed .net code? ...
I need to know the average volume of an mp3 file so that when I convert it to mp3 (at a different bitrate) I can scale the volume too, to normalize it... Therefore I need a command line tool / ruby library that gives me the average volume in dB. ...
A few days ago, this was my question, and I found the answer. Maybe this will help someone else. A. The first part of the problem: can you amplify sound using Flash? The AS3 documentation for SoundTransform says this about the volume attribute: "The volume, ranging from 0 (silent) to 1 (full volume). At face value, this means you can...
I'm trying to write an application that will get the mic volume of every sound card on a machine. My current code looks like this: for (unsigned int i = 0; i < waveInGetNumDevs(); ++i) { HMIXER hmx; mixerOpen(&hmx, i, 0, 0, MIXER_OBJECTF_WAVEIN); if (hmx == 0) { printf("Unable to open device %d\n", i); continue; } MIXERLINE...