20 May '13 - 07:59 *
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: WMAlive - After some minute Error: overflow  (Read 1086 times)
shuttle
Posts: 70


« on: 30 May '08 - 17:41 »
Reply with quoteQuote

Anyone can help me?
Logged
(: JOBnik! :)
Posts: 984


« Reply #1 on: 30 May '08 - 17:55 »
Reply with quoteQuote

Hi Grin

If you're using the VB example then change Public displaycount As Integer to Public displaycount As Long
Logged
shuttle
Posts: 70


« Reply #2 on: 30 May '08 - 19:43 »
Reply with quoteQuote

HI JOBnik!  Smiley
I have already done this!
I'm trying with the exe and also in that mode after  quite 30  minute the error raise!
What about it?
Logged
shuttle
Posts: 70


« Reply #3 on: 31 May '08 - 11:36 »
Reply with quoteQuote

OK JOBnik!!
I find the error!!

The error "overflow" flag me when i start wmalive and cast togeter; so, the problem is in the cast example-I post a part of code :

    Static updatelisten As Integer
    updatelisten = updatelisten + 1
    If ((updatelisten Mod 100) = 0) Then ' only checking once every 5 seconds
        Dim stats As String, listeners As Integer, t As Integer
        listeners = 0
        stats = VBStrFromAnsiPtr(BASS_Encode_CastGetStats(encoder, BASS_ENCODE_STATS_ICE, vbNullString))

the error is that not "listeners = 0", but "updatelisten = 0" !!!

I hope that my bad english be understood!  Undecided
BYe!

   
 


Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines