0
0

It was possible to listen to SHOUTcast in appended fmod.exe through the Proxy server.

BUT… My PureBasic Program …. It doesn’t connect. 😥

[code:2a6yp1yl]
SetWindowCallback(@WindowProc())
FSOUND_Stream_SetBufferSize(1500)
FSOUND_SetOutput(#FSOUND_OUTPUT_WINMM)
ExePath()
If OpenFile(#Infile, ExePath$+"OutDevice.ini")
If ReadString()="OutputDevice::"
SetOutDev.w=ReadWord()
FSOUND_SetDriver(SetOutDev)
EndIf
CloseFile(#Infile)
EndIf

FSOUND_Init(44100, 1, 0)
FSOUND_Stream_Net_SetProxy(ReadString())
StreamP=FSOUND_Stream_Open(CastName(), #FSOUND_NORMAL| #FSOUND_NONBLOCKING, 0,0 )
SOUND_Stream_Play(0, StreamP)
[/code:2a6yp1yl]

ReadString()=”127.0.0.1:8080″

Besides this, what condition is necessary?

Thanks

  • You must to post comments
0
0

The cause has been understood.

HttpURL+Chr(&H0D) …… NG (However, it is OK excluding Proxy. )

HttpURL ……. OK

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.