19 May '13 - 00:32 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: Shoutcast radio and Bass_Error_FileForm  (Read 801 times)
kio2008
Posts: 44


« on: 11 Jul '12 - 11:25 »
Reply with quoteQuote

Hi at all,
I'm recording 10 stream internet radio that are shoutcasts. I download with this instruction :

stream = Bass.BASS_StreamCreateURL(Url, 0, BASSFlag.BASS_STREAM_DECODE, Nothing, Nothing)

When I start download it is all ok, without problem. Then, after various hours I get this error for some radio :

Bass_Error_format

So, my application try to restart download and I get continuously error Bass_Error_Format.
But I have note that after 12 hours exactly download go well, why ? is it strange ?
« Last Edit: 11 Jul '12 - 14:42 by kio2008 » Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #1 on: 11 Jul '12 - 13:27 »
Reply with quoteQuote

That's strange. Are you sure the error code is BASS_ERROR_FORMAT? Perhaps you meant BASS_ERROR_FILEFORM? Anyway, please try this latest build and see if the problem still happens...

   www.un4seen.com/stuff/bass.dll
Logged
kio2008
Posts: 44


« Reply #2 on: 11 Jul '12 - 14:41 »
Reply with quoteQuote

Yes, sorry, you say well. The error is BASS_ERROR_FILEFORM
Logged
kio2008
Posts: 44


« Reply #3 on: 11 Jul '12 - 20:11 »
Reply with quoteQuote

How can i resolve this problem ? I note this too :

when I get this error If I download inside another instance already open it don't go, instead if i start a new instance it go well

Why, I'm crazying
Logged
Chris
Posts: 1501


« Reply #4 on: 12 Jul '12 - 13:53 »
Reply with quoteQuote

Hi at all,
I'm recording 10 stream internet radio that are shoutcasts. I download with this instruction :

stream = Bass.BASS_StreamCreateURL(Url, 0, BASSFlag.BASS_STREAM_DECODE, Nothing, Nothing)

When I start download it is all ok, without problem. Then, after various hours I get this error for some radio :

Bass_Error_format

So, my application try to restart download and I get continuously error Bass_Error_Format.
But I have note that after 12 hours exactly download go well, why ? is it strange ?
By the way if you want to download the stream(s) why do you not use a downloadproc ??
Chris
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #5 on: 12 Jul '12 - 14:17 »
Reply with quoteQuote

How can i resolve this problem ?

What BASS.DLL version are you using? If you haven't yet tried the update posted above, please give it a try, as your issue may be the same thing as a few other users had with BASS_StreamCreateURL recently (which was fixed by that update).
Logged
kio2008
Posts: 44


« Reply #6 on: 12 Jul '12 - 16:17 »
Reply with quoteQuote

I'm using 2.4.9.0. I have download your bass.dll version 2.4.9.3, but is it a 32bit ? because my application is 64bit and i get exception if i include this bass.dll
« Last Edit: 12 Jul '12 - 17:41 by kio2008 » Logged
Chris
Posts: 1501


« Reply #7 on: 12 Jul '12 - 19:42 »
Reply with quoteQuote

I'm using 2.4.9.0. I have download your bass.dll version 2.4.9.3, but is it a 32bit ? because my application is 64bit and i get exception if i include this bass.dll
Hi just compile it für 32 Bit and test if the error is gone
Chris
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #8 on: 13 Jul '12 - 17:33 »
Reply with quoteQuote

I'm using 2.4.9.0. I have download your bass.dll version 2.4.9.3, but is it a 32bit ? because my application is 64bit and i get exception if i include this bass.dll

A 64-bit version of the BASS.DLL update (2.4.9.3) is now up in the Win64 thread.
Logged
kio2008
Posts: 44


« Reply #9 on: 14 Jul '12 - 07:51 »
Reply with quoteQuote

What changes have been made with the new version? I'm curious
Logged
Ian @ un4seen
Administrator
Posts: 15244


« Reply #10 on: 16 Jul '12 - 16:19 »
Reply with quoteQuote

Besides the BASS_StreamCreateURL modification, the latest build uses the desktop window handle instead of the foreground window in BASS_Init calls with win=NULL, and provides a recording device's channel count (mono/stereo/etc) as described in this thread:

   www.un4seen.com/forum/?topic=13720
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines