Author Topic: Basswma+Bass  (Read 2535 times)

josl

  • Posts: 10
Basswma+Bass
« on: 6 Mar '03 - 19:01 »
Hi there,

I wrote a small Net-Radio App in VB6 and have the problem, that I have no control over my App during the pre-Buffer period with a wma and a mp3 stream. :o
As soon as the buffer is filled, the problem is gone.
I might do a mistake, but I found no solution. Any Idea?

Thanks,
Jo

Ian @ un4seen

  • Administrator
  • Posts: 20437
Re: Basswma+Bass
« Reply #1 on: 7 Mar '03 - 12:46 »
Quote
I have no control over my App during the pre-Buffer period

You should create a separate thread, in which you open the streams. That way your main thread can continue to execute at the same time.

I don't use VB myself, so I'm not sure how you'd go about creating threads, but I guess it must be possible somehow :)

josl

  • Posts: 10
Re: Basswma+Bass
« Reply #2 on: 7 Mar '03 - 16:42 »
Thanks Ian,
It seems to be the only solution. It's not too easy to do that in VB, but I'll try. ;)

Jo