English
Forum

WAV Volume Change?

 
What am I doing here wrong?
CompileMarkSeparation
Windowstyle 31
Windowtitle "Laustärkeregelung"
Window 0,0-640,440
DEF @waveOutSetVolume(2)!"winmm","waveOutSetVolume"
DEF @waveOutGetVolume(2)!"winmm","waveOutGetVolume"
Declare LautLinks&,LautRechts&,Volume#,LautLinks%,LautRechts%,SOUND$
Let LautLinks&=@Create("VScroll",%HWND,"",20,10,20,300)
Let LautRechts&=@Create("VScroll",%HWND,"",200,10,20,300)
SetScrollRange LautLinks&,0,100
SetScrollRange LautLinks&,0,100
DIM Volume#,4
@waveOutGetVolume(0,Volume#)
LET LautLinks%=@Word(Volume#,0)
LET LautRechts%=@Word(Volume#,2)
Dispose Volume#
LET LautLinks%=(Lautlinks%/$FFFF)*100
LET LautRechts%=(LautRechts%/$FFFF)*100
SetScrollPos LautLinks&,LautLinks%
SetScrollPos LautRechts&,LautRechts%
LET SOUND$=@LoadFile$("Sounddatei laden","*.WAV")
Playsound Sound$,9

While 0=0

    Waitinput
    LET LautLinks%=(@GetScrollPos(LautLinks&)/100)*$FFFF
    LET LautRechts%=(@GetScrollPos(LautRechts&)/100)*$FFFF
    DIM Volume#,4
    Word Volume#,0=LautLinks%
    Word Volume#,2=LautRechts%
    @waveOutSetVolume(0,Volume#)
    Dispose Volume#

Wend

 
01/27/05  
 




Jörg
Sellmeyer
Hello Andreas,
have You time in Prfellow nachgesehen. there is a Presentation, The the power what You make want - at least suspect I the.
WAVEVOL.PRV
Greeting
Jörg
 
Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
01/27/05  
 



thanks Jörg, very this is it...
 
01/27/05  
 



Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

3.770 Views

Untitledvor 0 min.
Sven Bader06/30/21
Georg Teles01/25/16
RICOSCH01/14/16
Untitled11/04/12
More...

Themeninformationen

this Topic has 2 subscriber:

unbekannt (2x)
Jörg Sellmeyer (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie