|
| ||||||||||
| Tags: directx volume control, sound problem |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| sound problem with DirectX volume control
I have an instance of DirectX's audio player called : Microsoft.DirectX.AudioVideoPlayback.Audio DXShipFires = new Microsoft.DirectX.AudioVideoPlayback.Audio("C:\\Games\\Asteroids_C#\\ShipFires.wav"); and the playback playSound(DXShipFires); private void playSound(Microsoft.DirectX.AudioVideoPlayback.Audio DXThisAudio) { //DXThisAudio.Volume = (int) nudVolume.value; DXThisAudio.CurrentPosition = 0.0; DXThisAudio.Play(); } works fine ... except, as you can see the commented out line, which refuses to work with any value other than zero and is still much, much too loud! I don't know how to set the volume despite looking at the volume property's calling header which reads 'int Audio.Volume' !?! any ideas? |
|
#2
| ||||
| ||||
| Re: sound problem with DirectX volume control
0 is max loudness. Try -10000. good luck |
|
#3
| ||||
| ||||
| Re: sound problem with DirectX volume control
Great . at -10000 you can't hear anything but the negative values are where its at... thank you |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "sound problem with DirectX volume control" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Macbook 2,1 w/sound but no volume control | audeo13 | Portable Devices | 1 | 18-10-2011 12:52 PM |
| Macbook - No Sound - Volume control locked | The-Apollo | Portable Devices | 4 | 20-10-2010 08:11 PM |
| Toshiba Satellite L505-S6959 volume control sound too low | Talaketu | Portable Devices | 6 | 10-09-2010 11:58 AM |
| Surround Sound Volume control and Logitech G35 | Cherkasov | Hardware Peripherals | 6 | 10-06-2010 10:05 PM |
| On Vista where is the sound stereo mix on the windows volume control | BeckyW | Vista Help | 4 | 08-05-2008 01:30 AM |