Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Bass udf simple functions, i got lost

$
0
0
Hey ppl, sound udf seemed buggy, some files wouldn't play, so i decided to switch to bass udf, so far i can play, pause, and stop playback of all sound files i need, problem is that i can't get the playback position and total length, nor the seek function, it's getting even harder because i didn't integrate the library in scite... so i don't get help, syntax help that is.
Searched around the forum, and couldn't find anything useful, is there some place i can check the basic functions and how they are implemented?
greetz.

EDIT:
what i tried to do, that didn't work..
$File is the file playing
$Slider1 is the slider

[ autoit ]      
    $SliderL = _BASS_ChannelGetLength($File, $BASS_POS_BYTE)     $SliderP = _BASS_ChannelGetPosition($File, $BASS_POS_BYTE)     $SliderC = $SliderP / $SliderL * '100'     GUICtrlSetData($InfoT, _BASS_ChannelGetPosition($File, $BASS_POS_BYTE) & "\" & _BASS_ChannelGetLength($File, $BASS_POS_BYTE))     GUICtrlSetData($Slider1, $SliderC)

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>