Jump to content
Sign in to follow this  
Blessedone

need help with io stream read / peek

Recommended Posts

Blessedone

heya i have a program that uses BASS.au3 and BASS_SFX.au3

to create visualizations that correspond with the music you play through it

...

this is the order i call everything in

...

$Startup_BASS = _BASS_Startup(@SCRIPTDIR & "\RESOURCES\DLL\Bass.dll")

$init_BASS = _BASS_INIT($BASS_DEVICE_3D)

$start_up_ = _BASS_SFX_Startup(@SCRIPTDIR & "\RESOURCES\DLL\Bass_SFX.dll")

_BASS_Init($BASS_DEVICE_CPSPEAKERS)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

$MusicHandle = _BASS_StreamCreateFile(False, $file, 0, 0, 0);;;;; BASS MUSIC STREAM;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

$PICUTRE_VIZ = GUICTRLCREATEPIC(@SCRIPTDIR & "\RESOURCES\ICONS\music_icon.jpg", 8, 136, 785, 406)

GUICTRLSETSTATE($PICUTRE_VIZ, 16) ;16;show;32;hide

$VISUAL_WIN_HANDLE = GUICTRLGETHANDLE($PICUTRE_VIZ)

_BASS_SFX_Init(@SCRIPTDIR & "\RESOURCES\DLL\Bass_SFX.dll", $PICUTRE_VIZ, $MAINGUI)

$VIS_CURRENT = "Aorta.svp"

$VISUAL_HANDLE = _BASS_SFX_PluginCreate(@ScriptDir & "\RESOURCES\VISUALIZATIONS\" & $VIS_CURRENT, $VISUAL_WIN_HANDLE, 785, 406, 0)

_BASS_ChannelPlay($MusicHandle, 1)

_BASS_SFX_PLUGINSTART($VISUAL_HANDLE)

_BASS_SFX_PLUGINRENDER($VISUAL_HANDLE, $MusicHandle, _WINAPI_GETWINDOWDC($VISUAL_WIN_HANDLE))

so basically instead of playing the music through Bass i want to "peek" into a io stream of a currently playing file

... so insteead of this :

$MusicHandle = _BASS_StreamCreateFile(False, $file, 0, 0, 0);;;;; BASS MUSIC STREAM;;

i want

$MusicHandle = $HOW_to_intercept_currently_playing_music_stream

....

i know i didn't explain that very well ...

but thanx anyways for your time

...and i'd be glad to give you more information and explain a bit better

...and i searched high and low for this ... but if you know somewhere

i can find the answer please do let me know what to search for...

i just haven't tried to read io streams before ... so im kinda lost on that one lol

im not the person who usually asks for help ... im usually the one helping so who knows help me and maybe i can help you :D

Share this post


Link to post
Share on other sites
AdmiralAlkex

Hey you already have a topic on that, stop the spamming, PLEASE. Double-posting is never accepted, what you should have done is bumped the older topic, but ONLY if 24 or more hours have gone.

You have been reported.

Share this post


Link to post
Share on other sites
Valik

As mentioned, don't double post. Thread locked.

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×