Antoine Posted August 20, 2003 Posted August 20, 2003 How can I alter / change the master volume of the main soundcard ? Regards, Antoine Quote
Diablicolic Posted August 21, 2003 Posted August 21, 2003 You mean just the volume of the sounds you play? Well if that's the case then this should work: 'Hello =) 'Ok this only works if do this at the VERY beginning of your code: Imports System.Microsoft.DirectX.AudioVideoPlayback 'And you only do that AFTER you add the AudioVideoPlayback to yer references 'then be sure to add the necessary .dlls do your .bin folder '------------------------------------------------------------- 'Now this is the code where you add the stuff to execute the music and change the sound Dim Background As Audio Background.Volume = 100 Background.Play Well looking at your post again...I think I'm answering your question wrong :( Oh well :rolleyes: Quote "Reality is fake, Dreams are for real"
*Experts* Volte Posted August 21, 2003 *Experts* Posted August 21, 2003 [api]waveOutSetVolume[/api] API. Quote
Antoine Posted August 22, 2003 Author Posted August 22, 2003 Volteface, That doesn't work (Winmn DLL not found) How can I fix it ? Quote
Antoine Posted August 22, 2003 Author Posted August 22, 2003 Ha, it seems to do something now, but it only sets the "WaveOut" slider. Is it possible to set the "MainOut" slider ? Does anyone know how the setWaveOutVolume works ? Which bits are for which function ? Bacause my balance slider is permantly on the Left side. Quote
OnErr0r Posted August 22, 2003 Posted August 22, 2003 The main volume is accessible using [api]auxSetVolume[/api]. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.