Re: Could this be faster?

new topic     » goto parent     » topic index » view thread      » older message » newer message

John Sas wrote:

> I notice that you never close your temporary stream. I see that you have the
> 
> "BASS_STREAM_AUTOFREE" flag set but I don't see a call to either
> BASS_ChannelStop()
> or BASS_Stop(). It appears to me that you are loading up your available memory
> with
> temporary streams and bogging down your system.
John,

I am not playing a file so I do not need to call Bass_Stop. 
The stream is being created only to get the length of each file.
Once I open a new stream the previous stream is automatically freed.
As I stated before I tried this without using the Bass functions and it
was still slow. It is not Bass that is slowing it down, it is walk_dir.


----If you continue to do what you have always done,
you will get what you have always gotten.----

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu